1package com.osroyale.game.world.entity.combat.strategy.player.special.melee;
3import com.osroyale.net.packet.out.SendMessage;
4import com.osroyale.game.Animation;
5import com.osroyale.game.Graphic;
6import com.osroyale.game.UpdatePriority;
7import com.osroyale.game.world.entity.combat.attack.FightType;
8import com.osroyale.game.world.entity.combat.hit.Hit;
9import com.osroyale.game.world.entity.combat.strategy.player.PlayerMeleeStrategy;
10import com.osroyale.game.world.entity.mob.Mob;
11import com.osroyale.game.world.entity.mob.player.Player;
12import com.osroyale.game.world.entity.mob.prayer.Prayer;
41public class DragonScimitar
extends PlayerMeleeStrategy {
44 private static final DragonScimitar INSTANCE =
new DragonScimitar();
46 private DragonScimitar() { }
49 public void start(
Player attacker,
Mob defender,
Hit[] hits) {
50 super.start(attacker, defender, hits);
51 attacker.graphic(GRAPHIC);
55 public void attack(
Player attacker,
Mob defender,
Hit h) {
60 defender.getPlayer().send(
new SendMessage(
"Your overhead prayers have been disabled!"));
61 attacker.getPlayer().send(
new SendMessage(
"You have disabled " + defender.
getName() +
"'s overhead prayers!"));
74 public static DragonScimitar
get() {
abstract String getName()
void deactivate(Prayer... prayers)