RuneHive-Game
Loading...
Searching...
No Matches
Balfrug.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.NpcMagicStrategy;
6import com.runehive.game.world.entity.mob.Mob;
7import com.runehive.game.world.entity.mob.npc.Npc;
8
9public class Balfrug extends NpcMagicStrategy {
10
11 public Balfrug() {
12 super(CombatProjectile.getDefinition("EMPTY"));
13 }
14
15 @Override
16 public CombatHit[] getHits(Npc attacker, Mob defender) {
17 return new CombatHit[] { nextMagicHit(attacker, defender, 16) };
18 }
19
20}
A wrapper for a Hit object, adding additional variables for hit and hitsplat delays.
final CombatHit nextMagicHit(T attacker, Mob defender)
Handles the mob class.
Definition Mob.java:66
Represents a non-player character in the in-game world.
Definition Npc.java:29