1package com.runehive.game.world.entity.combat.attack.listener.npc.godwar;
3import com.runehive.game.world.entity.combat.attack.listener.NpcCombatListenerSignature;
4import com.runehive.game.world.entity.combat.attack.listener.SimplifiedListener;
5import com.runehive.game.world.entity.combat.hit.Hit;
6import com.runehive.game.world.entity.combat.strategy.CombatStrategy;
7import com.runehive.game.world.entity.combat.strategy.npc.NpcMeleeStrategy;
8import com.runehive.game.world.entity.combat.strategy.npc.NpcRangedStrategy;
9import com.runehive.game.world.entity.mob.Mob;
10import com.runehive.game.world.entity.mob.npc.Npc;
12import static com.runehive.game.world.entity.combat.CombatUtil.createStrategyArray;
13import static com.runehive.game.world.entity.combat.CombatUtil.randomStrategy;
14import static com.runehive.game.world.entity.combat.projectile.CombatProjectile.getDefinition;
32 super(getDefinition(
"Spirtual Ranger"));
void start(Npc attacker, Mob defender, Hit[] hits)
static CombatStrategy< Npc >[] STRATEGIES
static RangedAttack RANGED
A Hit object holds the damage amount and hitsplat data.
static NpcMeleeStrategy get()
NpcRangedStrategy(CombatProjectile combatProjectile)
Represents a non-player character in the in-game world.
void setStrategy(CombatStrategy< Npc > strategy)