ye well its not the best only took like 3 mins
kk go to MagicOnPlayer add this in there
Code:
case 430:
if (p.magicDelay == 0) {
if (p.clickId == 5 && p.skillLvl[6] >= 91) {
if (Engine.playerItems.invItemCount(p, 9075) > 3
&& Engine.playerItems.invItemCount(p, 563) > 2
&& Engine.playerItems.invItemCount(p, 561) > 1) {
if(!p2.vengOn) {
p.stopMovement(p);
p.magicDelay = 7;
p.requestAnim(4411, 0);
p2.requestGFX(734, 0);
p.specialAmount -= 100;
p.specialAmountUpdateReq = true;
p2.specialAmount = 100;
p2.specialAmountUpdateReq = true;
Engine.playerItems.deleteItem(p, 9075,
Engine.playerItems.getItemSlot(p, 9075), 3);
Engine.playerItems.deleteItem(p, 563,
Engine.playerItems.getItemSlot(p, 563), 2);
Engine.playerItems.deleteItem(p, 561,
Engine.playerItems.getItemSlot(p, 561), 1);
} else {
p.frames.sendMessage(p,
"That person already has vengeance casted.");
}
} else {
p.frames.sendMessage(p,
"You don't have enough runes to cast this spell.");
}
} else {
p.frames.sendMessage(p,
"You need a magic level of 91 to cast this spell.");
}
} else {
p.stopMovement(p);
}
break;