1package com.osroyale.game.world.entity.combat.strategy.npc.boss.armadyl;
3import com.osroyale.game.world.entity.combat.CombatType;
4import com.osroyale.game.world.entity.combat.attack.FightType;
5import com.osroyale.game.world.entity.combat.hit.CombatHit;
6import com.osroyale.game.world.entity.combat.projectile.CombatProjectile;
7import com.osroyale.game.world.entity.combat.strategy.npc.NpcRangedStrategy;
8import com.osroyale.game.world.entity.mob.Mob;
9import com.osroyale.game.world.entity.mob.npc.Npc;
31public class FlockleaderGeerin
extends NpcRangedStrategy {
33 public FlockleaderGeerin() {
38 public boolean canOtherAttack(
Mob attacker,
Npc defender) {
40 attacker.getPlayer().message(
"You can't attack this npc with melee!");
43 return super.canOtherAttack(attacker, defender);
47 public int getAttackDelay(
Npc attacker,
Mob defender,
FightType fightType) {
48 return attacker.definition.getAttackDelay();
53 return new CombatHit[] { nextRangedHit(attacker, defender, 25) };
abstract< T extends Mob > CombatStrategy<? super T > getStrategy()