Guest User

Untitled

a guest
Jan 15th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 4.69 KB | None | 0 0
  1. case 154:
  2.  
  3.  
  4. if (!c.skillCapeEquipped()) {
  5.  
  6. c.sendMessage("You need a skill cape equiped to perform this animation.");
  7.  
  8. return;
  9.  
  10. }
  11.  
  12. if (c.playerEquipment[c.playerCape] == 9747 || c.playerEquipment[c.playerCape] == 10639 || c.playerEquipment[c.playerCape] == 9748) { //attack
  13.  
  14. c.gfx0(823);
  15.  
  16. c.startAnimation(4959);
  17.  
  18. }
  19.  
  20. if (c.playerEquipment[c.playerCape] == 9753 || c.playerEquipment[c.playerCape] == 10641 || c.playerEquipment[c.playerCape] == 9754) { //Defence
  21.  
  22. c.gfx0(824);
  23.  
  24. c.startAnimation(4961);
  25.  
  26. }
  27.  
  28. if (c.playerEquipment[c.playerCape] == 9750 || c.playerEquipment[c.playerCape] == 10640 || c.playerEquipment[c.playerCape] == 9751) { //Strength
  29.  
  30. c.gfx0(828);
  31.  
  32. c.startAnimation(4981);
  33.  
  34. }
  35.  
  36. if (c.playerEquipment[c.playerCape] == 9768 || c.playerEquipment[c.playerCape] == 10647 || c.playerEquipment[c.playerCape] == 9769) { //Hitpoints
  37.  
  38. c.gfx0(833);
  39.  
  40. c.startAnimation(4971);
  41.  
  42. }
  43.  
  44. if (c.playerEquipment[c.playerCape] == 9756 || c.playerEquipment[c.playerCape] == 10642 || c.playerEquipment[c.playerCape] == 9757) { //Range
  45.  
  46. c.gfx0(832);
  47.  
  48. c.startAnimation(4973);
  49.  
  50. }
  51.  
  52. if (c.playerEquipment[c.playerCape] == 9759 || c.playerEquipment[c.playerCape] == 10643 || c.playerEquipment[c.playerCape] == 9760) { //Prayer
  53.  
  54. c.gfx0(829);
  55.  
  56. c.startAnimation(4979);
  57.  
  58. }
  59.  
  60. if (c.playerEquipment[c.playerCape] == 9762 || c.playerEquipment[c.playerCape] == 10644 || c.playerEquipment[c.playerCape] == 9763) { //Magic
  61.  
  62. c.gfx0(813);
  63.  
  64. c.startAnimation(4939);
  65.  
  66. }
  67.  
  68. if (c.playerEquipment[c.playerCape] == 9801 || c.playerEquipment[c.playerCape] == 10658 || c.playerEquipment[c.playerCape] == 9802) { //Cooking
  69.  
  70. c.gfx0(821);
  71.  
  72. c.startAnimation(4955);
  73.  
  74. }
  75.  
  76. if (c.playerEquipment[c.playerCape] == 9807 || c.playerEquipment[c.playerCape] == 10660 || c.playerEquipment[c.playerCape] == 9808) { //Woodcutting
  77.  
  78. c.gfx0(822);
  79.  
  80. c.startAnimation(4957);
  81.  
  82. }
  83.  
  84. if (c.playerEquipment[c.playerCape] == 9783 || c.playerEquipment[c.playerCape] == 10652 || c.playerEquipment[c.playerCape] == 9784) { //Fletching
  85.  
  86. c.gfx0(812);
  87.  
  88. c.startAnimation(4937);
  89.  
  90. }
  91.  
  92. if (c.playerEquipment[c.playerCape] == 9798 || c.playerEquipment[c.playerCape] == 10657 || c.playerEquipment[c.playerCape] == 9799) { //Fishing
  93.  
  94. c.gfx0(819);
  95.  
  96. c.startAnimation(4951);
  97.  
  98. }
  99.  
  100. if (c.playerEquipment[c.playerCape] == 9804 || c.playerEquipment[c.playerCape] == 10659 || c.playerEquipment[c.playerCape] == 9805) { //Firemaking
  101.  
  102. c.gfx0(831);
  103.  
  104. c.startAnimation(4975);
  105.  
  106. }
  107.  
  108. if (c.playerEquipment[c.playerCape] == 9780 || c.playerEquipment[c.playerCape] == 10651 || c.playerEquipment[c.playerCape] == 9781) { //Crafting
  109.  
  110. c.gfx0(818);
  111.  
  112. c.startAnimation(4949);
  113.  
  114. }
  115.  
  116. if (c.playerEquipment[c.playerCape] == 9795 || c.playerEquipment[c.playerCape] == 10656 || c.playerEquipment[c.playerCape] == 9796) { //Smithing
  117.  
  118. c.gfx0(815);
  119.  
  120. c.startAnimation(4943);
  121.  
  122. }
  123.  
  124. if (c.playerEquipment[c.playerCape] == 9792 || c.playerEquipment[c.playerCape] == 10655 || c.playerEquipment[c.playerCape] == 9793) { //Mining
  125.  
  126. c.gfx0(814);
  127.  
  128. c.startAnimation(4941);
  129.  
  130. }
  131.  
  132. if (c.playerEquipment[c.playerCape] == 9774 || c.playerEquipment[c.playerCape] == 10649 || c.playerEquipment[c.playerCape] == 9775) { //Herblore
  133.  
  134. c.gfx0(835);
  135.  
  136. c.startAnimation(4969);
  137.  
  138. }
  139.  
  140. if (c.playerEquipment[c.playerCape] == 9771 || c.playerEquipment[c.playerCape] == 10648 || c.playerEquipment[c.playerCape] == 9772) { //Agility
  141.  
  142. c.gfx0(830);
  143.  
  144. c.startAnimation(4977);
  145.  
  146. }
  147.  
  148. if (c.playerEquipment[c.playerCape] == 9777 || c.playerEquipment[c.playerCape] == 10650 || c.playerEquipment[c.playerCape] == 9778) { //Theiving
  149.  
  150. c.gfx0(826);
  151.  
  152. c.startAnimation(4965);
  153.  
  154. }
  155.  
  156. if (c.playerEquipment[c.playerCape] == 9786 || c.playerEquipment[c.playerCape] == 10653 || c.playerEquipment[c.playerCape] == 9787) { //Slayer
  157.  
  158. c.gfx0(1656);
  159.  
  160. c.startAnimation(4967);
  161.  
  162. }
  163.  
  164. if (c.playerEquipment[c.playerCape] == 9810 || c.playerEquipment[c.playerCape] == 10661 || c.playerEquipment[c.playerCape] == 9811) { //Farming
  165.  
  166. c.gfx0(825);
  167.  
  168. c.startAnimation(4963);
  169.  
  170. }
  171.  
  172. if (c.playerEquipment[c.playerCape] == 9765 || c.playerEquipment[c.playerCape] == 10645 || c.playerEquipment[c.playerCape] == 9766) { //Runecrafting
  173.  
  174. c.gfx0(817);
  175.  
  176. c.startAnimation(4947);
  177.  
  178. }
  179.  
  180. if (c.playerEquipment[c.playerCape] == 9789 || c.playerEquipment[c.playerCape] == 10654 || c.playerEquipment[c.playerCape] == 9790) { //Construction
  181.  
  182. c.gfx0(820);
  183.  
  184. c.startAnimation(4953);
  185.  
  186. }
  187.  
  188. if (c.playerEquipment[c.playerCape] == 9948 || c.playerEquipment[c.playerCape] == 10646 || c.playerEquipment[c.playerCape] == 9949) { // hunter
  189.  
  190. c.gfx0(907);
  191.  
  192. c.startAnimation(5158);
  193.  
  194. }
  195.  
  196. if (c.playerEquipment[c.playerCape] == 9813 || c.playerEquipment[c.playerCape] == 10662) { //Quest
  197.  
  198. c.gfx0(816);
  199.  
  200. c.startAnimation(4945);
  201.  
  202.  
  203.  
  204. }
  205. break;
Add Comment
Please, Sign In to add comment