RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
DagannothPrime.java
1package com.osroyale.game.world.entity.combat.strategy.npc.boss.dagannoths;
2
3import com.osroyale.game.world.entity.combat.attack.FightType;
4import com.osroyale.game.world.entity.combat.hit.CombatHit;
5import com.osroyale.game.world.entity.combat.strategy.npc.NpcMagicStrategy;
6import com.osroyale.game.world.entity.mob.Mob;
7import com.osroyale.game.world.entity.mob.npc.Npc;
8
9import static com.osroyale.game.world.entity.combat.projectile.CombatProjectile.getDefinition;
10
32
33public class DagannothPrime extends NpcMagicStrategy {
34
35 public DagannothPrime() {
36 super(getDefinition("Water Wave"));
37 }
38
39 @Override
40 public int getAttackDelay(Npc attacker, Mob defender, FightType fightType) {
41 return attacker.definition.getAttackDelay();
42 }
43
44 @Override
45 public CombatHit[] getHits(Npc attacker, Mob defender) {
46 return new CombatHit[] { nextMagicHit(attacker, defender, 50) };
47 }
48
49}