Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 1: //wind strike
- if(!(hasRunes(558, 1, 556, 1, -1, 1, -1, 0))) {
- p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
- return;
- }
- p.animate(14220, 0);
- p.graphics(2701,0);
- DamageAmt = 2;
- GraphicId = 92;
- SoundId = 169;
- GraphicMSDelay = 0;
- GraphicDelay = 2;
- DamageDelay = 2;
- ProjectileId = 2700;
- projectile(pE);
- appendDelays(6);
- break;
- case 4: //water strike
- if(!(hasRunes(558, 1, 556, 1, 555, 1, -1, 0))) {
- p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
- return;
- }
- p.animate(14221, 0);
- p.graphics(2701,0);
- DamageAmt = 7;
- GraphicId = 95;
- SoundId = 169;
- GraphicMSDelay = 0;
- GraphicDelay = 2;
- DamageDelay = 2;
- ProjectileId = 2703;
- projectile(pE);
- appendDelays(6);
- break;
- case 6: //earth strike
- if(!(hasRunes(557, 2, 556, 1, 558, 1, -1, 0))) {
- p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
- return;
- }
- p.animate(14223, 0);
- p.graphics(2713,0);
- DamageAmt = 6;
- GraphicId = 98;
- SoundId = 169;
- GraphicMSDelay = 0;
- GraphicDelay = 2;
- DamageDelay = 2;
- ProjectileId = 2718;
- projectile(pE);
- appendDelays(6);
- break;
- case 8: //fire strike
- if(!(hasRunes(558, 1, 556, 1, 554, 1, -1, 0))) {
- p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
- return;
- }
- p.animate(14224, 0);
- p.graphics(2728,0);
- DamageAmt = 8;
- GraphicId = 101;
- SoundId = 169;
- GraphicMSDelay = 0;
- GraphicDelay = 2;
- DamageDelay = 2;
- ProjectileId = 2729;
- projectile(pE);
- appendDelays(6);
- break;
- case 10: //wind bolt
- if(!(hasRunes(562, 1, 556, 2, -1, 0, -1, 0))) {
- p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
- return;
- }
- p.animate(14220, 0);
- p.graphics(117,2700);
- DamageAmt = 9;
- GraphicId = 119;
- SoundId = 169;
- GraphicMSDelay = 0;
- GraphicDelay = 2;
- DamageDelay = 2;
- ProjectileId = 2699;
- projectile(pE);
- appendDelays(6);
- break;
- case 14: //water bolt
- if(!(hasRunes(556, 2, 555, 2, 562, 1, -1, 0))) {
- p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
- return;
- }
- p.animate(14221, 0);
- p.graphics(2702,0);
- DamageAmt = 10;
- GraphicId = 122;
- SoundId = 169;
- GraphicMSDelay = 0;
- GraphicDelay = 2;
- DamageDelay = 2;
- ProjectileId = 2705;
- projectile(pE);
- appendDelays(6);
- break;
- case 17: //earth bolt
- if(!(hasRunes(562, 1, 556, 2, 557, 3, -1, 0))) {
- p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
- return;
- }
- p.animate(14222, 0);
- p.graphics(2714,0);
- DamageAmt = 11;
- GraphicId = 125;
- SoundId = 169;
- GraphicMSDelay = 0;
- GraphicDelay = 2;
- DamageDelay = 2;
- ProjectileId = 2719;
- projectile(pE);
- appendDelays(6);
- break;
- case 20: //fire bolt
- if(!(hasRunes(562, 1, 556, 3, 554, 4, -1, 0))) {
- p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
- return;
- }
- p.animate(14224, 0);
- p.graphics(2728,0);
- DamageAmt = 9;
- GraphicId = 128;
- SoundId = 169;
- GraphicMSDelay = 0;
- GraphicDelay = 2;
- DamageDelay = 2;
- ProjectileId = 2730;
- projectile(pE);
- appendDelays(6);
- break;
- case 24: //air blast
- if(!(hasRunes(560, 1, 556, 4, -1, 0, -1, 0))) {
- p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
- return;
- }
- p.animate(14220, 0);
- p.graphics(2700,0);
- DamageAmt = 13;
- GraphicId = 134;
- SoundId = 169;
- GraphicMSDelay = 0;
- GraphicDelay = 2;
- DamageDelay = 2;
- ProjectileId = 2699;
- projectile(pE);
- appendDelays(6);
- break;
- case 27: //water blast
- if(!(hasRunes(560, 1, 556, 3, 555, 3, -1, 0))) {
- p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
- return;
- }
- p.animate(14221, 0);
- p.graphics(2702,0);
- DamageAmt = 14;
- GraphicId = 2705;
- SoundId = 169;
- GraphicMSDelay = 0;
- GraphicDelay = 2;
- DamageDelay = 2;
- ProjectileId = 136;
- projectile(pE);
- appendDelays(6);
- break;
- case 33: //earth blast
- if(!(hasRunes(556, 3, 557, 4, 560, 1, -1, 0))) {
- p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
- return;
- }
- p.animate(14222, 0);
- p.graphics(2715,0);
- DamageAmt = 15;
- GraphicId = 140;
- SoundId = 169;
- GraphicMSDelay = 0;
- GraphicDelay = 2;
- DamageDelay = 2;
- ProjectileId = 2720;
- projectile(pE);
- appendDelays(6);
- break;
- case 38: //fire blast
- if(!(hasRunes(556, 4, 554, 5, 560, 1, -1, 0))) {
- p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
- return;
- }
- p.animate(14223, 0);
- p.graphics(2728,0);
- DamageAmt = 16;
- GraphicId = 131;
- SoundId = 169;
- GraphicMSDelay = 0;
- GraphicDelay = 2;
- DamageDelay = 2;
- ProjectileId = 2731;
- projectile(pE);
- appendDelays(6);
- break;
- case 45: //air wave
- if(!(hasRunes(556, 5, 565, 1, -1, 0, -1, 0))) {
- p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
- return;
- }
- p.animate(14220, 0);
- p.graphics(2700,0);
- DamageAmt = 17;
- GraphicId = 160;
- SoundId = 169;
- GraphicMSDelay = 0;
- GraphicDelay = 2;
- DamageDelay = 2;
- ProjectileId = 2669;
- projectile(pE);
- appendDelays(6);
- break;
- case 48: //water wave
- if(!(hasRunes(556, 5, 555, 7, 565, 1, -1, 0))) {
- p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
- return;
- }
- p.animate(14221, 0);
- p.graphics(2702,0);
- DamageAmt = 18;
- GraphicId = 163;
- SoundId = 169;
- GraphicMSDelay = 0;
- GraphicDelay = 2;
- DamageDelay = 2;
- ProjectileId = 2706;
- projectile(pE);
- appendDelays(6);
- break;
- case 52: //earth wave
- if(!(hasRunes(556, 5, 557, 7, 565, 1, -1, 0))) {
- p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
- return;
- }
- p.animate(14222, 0);
- p.graphics(2716,0);
- DamageAmt = 19;
- GraphicId = 166;
- SoundId = 169;
- GraphicMSDelay = 0;
- GraphicDelay = 2;
- DamageDelay = 2;
- ProjectileId = 2721;
- projectile(pE);
- appendDelays(6);
- break;
- case 55: //fire wave
- if(!(hasRunes(565, 1, 556, 5, 554, 7, -1, 0))) {
- p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
- return;
- }
- p.animate(14223, 0);
- p.graphics(2728,0);
- DamageAmt = 20;
- GraphicId = 157;
- SoundId = 169;
- GraphicMSDelay = 0;
- GraphicDelay = 2;
- DamageDelay = 2;
- ProjectileId = 2735;
- projectile(pE);
- appendDelays(6);
- break;
- case 56: //entangle
- if(!(hasRunes(557, 5, 555, 5, 561, 4, -1, 0))) {
- p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
- return;
- }
- p.animate(711, 0);
- p.graphics(177,0);
- DamageAmt = 4;
- if (pE.freezeDelay == 0) {
- frozTimer = 20;
- needFroz = true;
- }
- GraphicId = 179;
- SoundId = 169;
- GraphicMSDelay = 0;
- GraphicDelay = 2;
- DamageDelay = 2;
- ProjectileId = 178;
- projectile(pE);
- appendDelays(6);
- break;
- }
- break;
Add Comment
Please, Sign In to add comment