1package com.runehive.game.world.entity.combat.attack.listener.npc;
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.CombatHit;
6import com.runehive.game.world.entity.combat.strategy.CombatStrategy;
7import com.runehive.game.world.entity.combat.strategy.npc.NpcMagicStrategy;
8import com.runehive.game.world.entity.mob.Mob;
9import com.runehive.game.world.entity.mob.npc.Npc;
11import static com.runehive.game.world.entity.combat.CombatUtil.createStrategyArray;
12import static com.runehive.game.world.entity.combat.CombatUtil.randomStrategy;
13import static com.runehive.game.world.entity.combat.projectile.CombatProjectile.getDefinition;
36 super(getDefinition(
"Fire Blast"));
42 hit.setAccurate(
true);
49 super(getDefinition(
"Confuse"));
55 super(getDefinition(
"Weaken"));
61 super(getDefinition(
"Curse"));
void hit(T attacker, Mob defender, Hit hit)
CombatHit[] getHits(Npc attacker, Mob defender)
static final CombatStrategy< Npc >[] STRATEGIES
void finishOutgoing(Npc attacker, Mob defender)
static FireBlast FIRE_BLAST
A wrapper for a Hit object, adding additional variables for hit and hitsplat delays.
final CombatHit nextMagicHit(T attacker, Mob defender)
NpcMagicStrategy(CombatProjectile combatProjectile)
Represents a non-player character in the in-game world.
void setStrategy(CombatStrategy< Npc > strategy)