1package com.runehive.game.world.entity.combat.strategy.npc.boss.dagannoths;
3import com.runehive.game.world.entity.combat.attack.FightType;
4import com.runehive.game.world.entity.combat.hit.CombatHit;
5import com.runehive.game.world.entity.combat.projectile.CombatProjectile;
6import com.runehive.game.world.entity.combat.strategy.CombatStrategy;
7import com.runehive.game.world.entity.combat.strategy.npc.MultiStrategy;
8import com.runehive.game.world.entity.combat.strategy.npc.NpcMagicStrategy;
9import com.runehive.game.world.entity.combat.strategy.npc.NpcRangedStrategy;
10import com.runehive.game.world.entity.mob.Mob;
11import com.runehive.game.world.entity.mob.npc.Npc;
13import static com.runehive.game.world.entity.combat.CombatUtil.createStrategyArray;
14import static com.runehive.game.world.entity.combat.CombatUtil.randomStrategy;
A wrapper for a Hit object, adding additional variables for hit and hitsplat delays.
static CombatProjectile getDefinition(String name)
final CombatHit nextRangedHit(T attacker, Mob defender)
final CombatHit nextMagicHit(T attacker, Mob defender)
CombatStrategy< Npc > currentStrategy
NpcMagicStrategy(CombatProjectile combatProjectile)
NpcRangedStrategy(CombatProjectile combatProjectile)
CombatHit[] getHits(Npc attacker, Mob defender)
int getAttackDistance(Npc attacker, FightType fightType)
int getAttackDistance(Npc attacker, FightType fightType)
CombatHit[] getHits(Npc attacker, Mob defender)
static final CombatStrategy< Npc >[] STRATEGIES
int getAttackDelay(Npc attacker, Mob defender, FightType fightType)
static final Ranged RANGED
Represents a non-player character in the in-game world.
The enumerated type whose elements represent the fighting types.