1package com.osroyale.content.skill.impl.magic.spell.impl;
3import com.osroyale.content.skill.impl.magic.Spellbook;
4import com.osroyale.content.skill.impl.magic.spell.Spell;
5import com.osroyale.game.Animation;
6import com.osroyale.game.Graphic;
7import com.osroyale.game.UpdatePriority;
8import com.osroyale.game.world.entity.combat.attack.listener.other.VengeanceListener;
9import com.osroyale.game.world.entity.mob.player.Player;
10import com.osroyale.game.world.entity.skill.Skill;
11import com.osroyale.game.world.items.Item;
12import com.osroyale.net.packet.out.SendMessage;
13import com.osroyale.net.packet.out.SendWidget;
15import java.util.concurrent.TimeUnit;
52 return new Item[]{
new Item(9075, 4),
new Item(557, 10),
new Item(560, 2)};
65 player.send(
new SendMessage(
"You need a defence level of 45 to cast this spell!"));
69 player.send(
new SendMessage(
"You already have vengeance casted!"));
72 if (player.spellCasting.
vengeanceDelay.elapsedTime(TimeUnit.SECONDS) < 30) {
73 player.send(
new SendMessage(
"You can only cast vengeance once every 30 seconds."));
77 player.graphic(
new Graphic(726,
true));
void execute(Player player, Item item)
Combat< Player > getCombat()