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.hit.Hit;
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.projectile.CombatProjectile.getDefinition;
24 }
catch (Exception e) {
41 super(getDefinition(
"Tentacle Blast"));
CombatHit[] getHits(Npc attacker, Mob defender)
int modifyAccuracy(Npc attacker, Mob defender, int roll)
void start(Npc attacker, Mob defender, Hit[] hits)
A wrapper for a Hit object, adding additional variables for hit and hitsplat delays.
A Hit object holds the damage amount and hitsplat data.
void setAccurate(boolean accurate)
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)