46public class DragonThrownaxe
extends PlayerRangedStrategy {
47 private static final DragonThrownaxe INSTANCE =
new DragonThrownaxe();
54 }
catch (Exception e) {
59 private DragonThrownaxe() {}
62 protected void sendStuff(
Player attacker,
Mob defender) {
63 attacker.animate(ANIMATION,
true);
64 PROJECTILE.send(attacker, defender);
69 return new CombatHit[] { nextRangedHit(attacker, defender) };
73 public int modifyAccuracy(
Player attacker,
Mob defender,
int roll) {
78 if (!projectile.getProjectile().isPresent())
79 throw new NullPointerException(
"No Dragon Thrownaxe projectile found.");
80 PROJECTILE = projectile.getProjectile().get();
83 public static DragonThrownaxe
get() {