Guest User

Untitled

a guest
May 20th, 2018
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. case 1: //wind strike
  2. if(!(hasRunes(558, 1, 556, 1, -1, 1, -1, 0))) {
  3. p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
  4. return;
  5. }
  6. p.animate(14220, 0);
  7. p.graphics(2701,0);
  8. DamageAmt = 2;
  9. GraphicId = 92;
  10. SoundId = 169;
  11. GraphicMSDelay = 0;
  12. GraphicDelay = 2;
  13. DamageDelay = 2;
  14. ProjectileId = 2700;
  15. projectile(pE);
  16. appendDelays(6);
  17. break;
  18.  
  19.  
  20.  
  21.  
  22. case 4: //water strike
  23. if(!(hasRunes(558, 1, 556, 1, 555, 1, -1, 0))) {
  24. p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
  25. return;
  26. }
  27. p.animate(14221, 0);
  28. p.graphics(2701,0);
  29. DamageAmt = 7;
  30. GraphicId = 95;
  31. SoundId = 169;
  32. GraphicMSDelay = 0;
  33. GraphicDelay = 2;
  34. DamageDelay = 2;
  35. ProjectileId = 2703;
  36. projectile(pE);
  37. appendDelays(6);
  38. break;
  39.  
  40. case 6: //earth strike
  41.         if(!(hasRunes(557, 2, 556, 1, 558, 1, -1, 0))) {
  42.         p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
  43.         return;
  44.         }
  45.         p.animate(14223, 0);
  46.         p.graphics(2713,0);
  47.         DamageAmt = 6;
  48.         GraphicId = 98;
  49.         SoundId = 169;
  50.         GraphicMSDelay = 0;
  51.         GraphicDelay = 2;
  52.         DamageDelay = 2;
  53.         ProjectileId = 2718;
  54.         projectile(pE);
  55.         appendDelays(6);
  56.         break;
  57.  
  58. case 8: //fire strike
  59. if(!(hasRunes(558, 1, 556, 1, 554, 1, -1, 0))) {
  60. p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
  61. return;
  62. }
  63. p.animate(14224, 0);
  64. p.graphics(2728,0);
  65. DamageAmt = 8;
  66. GraphicId = 101;
  67. SoundId = 169;
  68. GraphicMSDelay = 0;
  69. GraphicDelay = 2;
  70. DamageDelay = 2;
  71. ProjectileId = 2729;
  72. projectile(pE);
  73. appendDelays(6);
  74. break;
  75.  
  76. case 10: //wind bolt
  77. if(!(hasRunes(562, 1, 556, 2, -1, 0, -1, 0))) {
  78. p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
  79. return;
  80. }
  81. p.animate(14220, 0);
  82. p.graphics(117,2700);
  83. DamageAmt = 9;
  84. GraphicId = 119;
  85. SoundId = 169;
  86. GraphicMSDelay = 0;
  87. GraphicDelay = 2;
  88. DamageDelay = 2;
  89. ProjectileId = 2699;
  90. projectile(pE);
  91. appendDelays(6);
  92. break;
  93.  
  94. case 14: //water bolt
  95.         if(!(hasRunes(556, 2, 555, 2, 562, 1, -1, 0))) {
  96.         p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
  97.         return;
  98.         }
  99.         p.animate(14221, 0);
  100.         p.graphics(2702,0);
  101.         DamageAmt = 10;
  102.         GraphicId = 122;
  103.         SoundId = 169;
  104.         GraphicMSDelay = 0;
  105.         GraphicDelay = 2;
  106.         DamageDelay = 2;
  107.         ProjectileId = 2705;
  108.         projectile(pE);
  109.         appendDelays(6);
  110.         break;
  111.  
  112. case 17: //earth bolt
  113. if(!(hasRunes(562, 1, 556, 2, 557, 3, -1, 0))) {
  114. p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
  115. return;
  116. }
  117. p.animate(14222, 0);
  118. p.graphics(2714,0);
  119. DamageAmt = 11;
  120. GraphicId = 125;
  121. SoundId = 169;
  122. GraphicMSDelay = 0;
  123. GraphicDelay = 2;
  124. DamageDelay = 2;
  125. ProjectileId = 2719;
  126. projectile(pE);
  127. appendDelays(6);
  128. break;
  129.  
  130. case 20: //fire bolt
  131. if(!(hasRunes(562, 1, 556, 3, 554, 4, -1, 0))) {
  132. p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
  133. return;
  134. }
  135. p.animate(14224, 0);
  136. p.graphics(2728,0);
  137. DamageAmt = 9;
  138. GraphicId = 128;
  139. SoundId = 169;
  140. GraphicMSDelay = 0;
  141. GraphicDelay = 2;
  142. DamageDelay = 2;
  143. ProjectileId = 2730;
  144. projectile(pE);
  145. appendDelays(6);
  146. break;
  147.  
  148. case 24: //air blast
  149. if(!(hasRunes(560, 1, 556, 4, -1, 0, -1, 0))) {
  150. p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
  151. return;
  152. }
  153. p.animate(14220, 0);
  154. p.graphics(2700,0);
  155. DamageAmt = 13;
  156. GraphicId = 134;
  157. SoundId = 169;
  158. GraphicMSDelay = 0;
  159. GraphicDelay = 2;
  160. DamageDelay = 2;
  161. ProjectileId = 2699;
  162. projectile(pE);
  163. appendDelays(6);
  164. break;
  165.  
  166. case 27: //water blast
  167. if(!(hasRunes(560, 1, 556, 3, 555, 3, -1, 0))) {
  168. p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
  169. return;
  170. }
  171. p.animate(14221, 0);
  172. p.graphics(2702,0);
  173. DamageAmt = 14;
  174. GraphicId = 2705;
  175. SoundId = 169;
  176. GraphicMSDelay = 0;
  177. GraphicDelay = 2;
  178. DamageDelay = 2;
  179. ProjectileId = 136;
  180. projectile(pE);
  181. appendDelays(6);
  182. break;
  183.  
  184. case 33: //earth blast
  185.         if(!(hasRunes(556, 3, 557, 4, 560, 1, -1, 0))) {
  186.         p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
  187.         return;
  188.         }
  189.         p.animate(14222, 0);
  190.         p.graphics(2715,0);
  191.         DamageAmt = 15;
  192.         GraphicId = 140;
  193.         SoundId = 169;
  194.         GraphicMSDelay = 0;
  195.         GraphicDelay = 2;
  196.         DamageDelay = 2;
  197.         ProjectileId = 2720;
  198.         projectile(pE);
  199.         appendDelays(6);
  200.         break;
  201.        
  202. case 38: //fire blast
  203.         if(!(hasRunes(556, 4, 554, 5, 560, 1, -1, 0))) {
  204.         p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
  205.         return;
  206.         }
  207.         p.animate(14223, 0);
  208.         p.graphics(2728,0);
  209.         DamageAmt = 16;
  210.         GraphicId = 131;
  211.         SoundId = 169;
  212.         GraphicMSDelay = 0;
  213.         GraphicDelay = 2;
  214.         DamageDelay = 2;
  215.         ProjectileId = 2731;
  216.         projectile(pE);
  217.         appendDelays(6);
  218.         break;
  219.        
  220. case 45: //air wave
  221.         if(!(hasRunes(556, 5, 565, 1, -1, 0, -1, 0))) {
  222.         p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
  223.         return;
  224.         }
  225.         p.animate(14220, 0);
  226.         p.graphics(2700,0);
  227.         DamageAmt = 17;
  228.         GraphicId = 160;
  229.         SoundId = 169;
  230.         GraphicMSDelay = 0;
  231.         GraphicDelay = 2;
  232.         DamageDelay = 2;
  233.         ProjectileId = 2669;
  234.         projectile(pE);
  235.         appendDelays(6);
  236.         break;
  237.        
  238. case 48: //water wave
  239.         if(!(hasRunes(556, 5, 555, 7, 565, 1, -1, 0))) {
  240.         p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
  241.         return;
  242.         }
  243.         p.animate(14221, 0);
  244.         p.graphics(2702,0);
  245.         DamageAmt = 18;
  246.         GraphicId = 163;
  247.         SoundId = 169;
  248.         GraphicMSDelay = 0;
  249.         GraphicDelay = 2;
  250.         DamageDelay = 2;
  251.         ProjectileId = 2706;
  252.         projectile(pE);
  253.         appendDelays(6);
  254.         break;
  255.        
  256. case 52: //earth wave
  257.         if(!(hasRunes(556, 5, 557, 7, 565, 1, -1, 0))) {
  258.         p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
  259.         return;
  260.         }
  261.         p.animate(14222, 0);
  262.         p.graphics(2716,0);
  263.         DamageAmt = 19;
  264.         GraphicId = 166;
  265.         SoundId = 169;
  266.         GraphicMSDelay = 0;
  267.         GraphicDelay = 2;
  268.         DamageDelay = 2;
  269.         ProjectileId = 2721;
  270.         projectile(pE);
  271.         appendDelays(6);
  272.         break;
  273.  
  274. case 55: //fire wave
  275. if(!(hasRunes(565, 1, 556, 5, 554, 7, -1, 0))) {
  276. p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
  277. return;
  278. }
  279. p.animate(14223, 0);
  280. p.graphics(2728,0);
  281. DamageAmt = 20;
  282. GraphicId = 157;
  283. SoundId = 169;
  284. GraphicMSDelay = 0;
  285. GraphicDelay = 2;
  286. DamageDelay = 2;
  287. ProjectileId = 2735;
  288. projectile(pE);
  289. appendDelays(6);
  290. break;
  291.  
  292. case 56: //entangle
  293.         if(!(hasRunes(557, 5, 555, 5, 561, 4, -1, 0))) {
  294.         p.getActionSender().sendMessage("You don't have enough runes to cast this spell.");
  295.         return;
  296.         }
  297.         p.animate(711, 0);
  298.         p.graphics(177,0);
  299.         DamageAmt = 4;
  300.         if (pE.freezeDelay == 0) {
  301.                 frozTimer = 20;
  302.                 needFroz = true;
  303.                 }
  304.         GraphicId = 179;
  305.         SoundId = 169;
  306.         GraphicMSDelay = 0;
  307.         GraphicDelay = 2;
  308.         DamageDelay = 2;
  309.         ProjectileId = 178;
  310.         projectile(pE);
  311.         appendDelays(6);
  312.         break;
  313. }
  314. break;
Add Comment
Please, Sign In to add comment