RuneHive-Game
Loading...
Searching...
No Matches
Zakln.java
Go to the documentation of this file.
1package com.runehive.game.world.entity.combat.strategy.npc.boss.kril;
2
3import com.runehive.game.world.entity.combat.hit.CombatHit;
4import com.runehive.game.world.entity.combat.projectile.CombatProjectile;
5import com.runehive.game.world.entity.combat.strategy.npc.NpcRangedStrategy;
6import com.runehive.game.world.entity.mob.Mob;
7import com.runehive.game.world.entity.mob.npc.Npc;
8
9public class Zakln extends NpcRangedStrategy {
10
11 public Zakln() {
12 super(CombatProjectile.getDefinition("EMPTY"));
13 }
14
15 @Override
16 public CombatHit[] getHits(Npc attacker, Mob defender) {
17 return new CombatHit[] { nextRangedHit(attacker, defender, 21) };
18 }
19
20}
A wrapper for a Hit object, adding additional variables for hit and hitsplat delays.
final CombatHit nextRangedHit(T attacker, Mob defender)
CombatHit[] getHits(Npc attacker, Mob defender)
Definition Zakln.java:16
Handles the mob class.
Definition Mob.java:66
Represents a non-player character in the in-game world.
Definition Npc.java:29