Guest User

Untitled

a guest
Jul 22nd, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.63 KB | None | 0 0
  1. public int GetWepAnim(int id)
  2. {
  3. if(id == -1) // unarmed
  4. {
  5. return 422;
  6. }
  7. if(id == 7668)
  8. {
  9. return 1060;
  10. }
  11. if(id == 6818)
  12. {
  13. return 2890;
  14. }
  15. if(id == 837)
  16. {
  17. return 1084;
  18. }
  19. if(id == 3190 || id == 3192 || id == 3194 || id == 3196 || id == 3198 || id== 3200 || id == 3202 || id == 3204) // halberds
  20. {
  21. return 440;
  22. }
  23. if(id == 4170 || id == 4675)
  24. {
  25. return 414;
  26. }
  27. if(id == 13636 || id == 4151 || id == 16002) // whip
  28. {
  29. return 1658;
  30. }
  31. if(id == 6528)
  32. {
  33. return 2661;
  34. }
  35. if(id == 4827)
  36. {
  37. return 426;
  38. }
  39. if(id == 6522)
  40. {
  41. return 3353;
  42. }
  43. if((id == 1291 || id == 1321 || id == 1323 || id == 1325 || id == 1327 || id == 1329 || id == 6611 || id == 1327 || id == 1321 || id == 1333 || id == 1305 || id== 6739 || id == 4587) && FightType != 3) // scimitars
  44. {
  45. return 451;
  46. }
  47. if((id == 1291 || id == 1321 || id == 1323 || id == 1325 || id == 1327 || id == 1329 || id == 6611 || id == 1327 || id == 1321 || id == 1333 || id == 1305 || id== 6739 || id == 4587) && FightType == 3) // scimitars
  48. {
  49. return 412;
  50. }
  51. if(id == 841 || id == 843 || id == 845 ||id == 849 ||id == 847 ||id == 853 || id == 851 || hasCrystalBow() || id == 859 || id == 861)
  52. {
  53. return 426;
  54. }
  55. if(id == 746 || id == 667 || id == 35 || id == 2402 || id == 11011 || id == 11001)
  56. {
  57. return 308;
  58. }
  59. if(id == 4153) // maul
  60. {
  61. return 1665;
  62. }
  63. if(id == 1377) // dragon b axe
  64. {
  65. return 1833;
  66. }
  67. if(id == 4718 && FightType != 3) // dharoks axe
  68. {
  69. return 2067;
  70. }
  71. if(id == 4718 && FightType == 3) // dharoks axe
  72. {
  73. return 2066;
  74. }
  75. if(id == 4726) // guthans spear
  76. {
  77. return 2080;
  78. }
  79. if(id == 4747 || id == 11005) // torags hammers
  80. {
  81. return 2068;
  82. }
  83. if(id == 4755 || id == 7808) // veracs flail
  84. {
  85. return 2062;
  86. }
  87. if(id == 4734) // karils x bow
  88. {
  89. return 2075;
  90. }
  91. if((id == 1215 || id == 1231 || id == 5680 || id == 5698) && FightType != 3) // dragon daggers
  92. {
  93. return 402;
  94. }
  95. if((id == 1215 || id == 1231 || id == 5680 || id == 5698) && FightType == 3) // dragon daggers
  96. {
  97. return 395;
  98. }
  99. if(id == 6609 || id == 1307 || id == 1309 || id == 1311 || id == 1313 || id == 1315 || id == 1317 || id == 1319 || id == 7158)
  100. // 2 handers
  101. {
  102. return 407;
  103. }
  104. else
  105. {
  106. return 451;
  107. }
  108. }
  109. public int GetRunAnim(int id)
  110. {
  111. if(id == 837)
  112. {
  113. return 1082;
  114. }
  115. if(id == 4084)
  116. {
  117. return 1468;
  118. }
  119. if(id == 13636 || id == 4151 || id == 16002) // whip
  120. {
  121. return 1661;
  122. }
  123. if(id == 7158 || id == 1319 || id == 6609)
  124. {
  125. return 2563;
  126. }
  127. if(id == 4734) // karils x bow
  128. {
  129. return 2077;
  130. }
  131. if(id == 6528) // maul
  132. {
  133. return 1664;
  134. }
  135. if(id == 746 || id == 667 || id == 35 || id == 2402 || id == 11011 || id == 11001 || id == 7808 || id == 7668)
  136. {
  137. return 306;
  138. }
  139. if(id == 4153) // maul
  140. {
  141. return 1664;
  142. }
  143. else
  144. {
  145. return 0x338;
  146. }
  147. }
  148.  
  149. public int GetWalkAnim(int id)
  150. {
  151. if(id == 837)
  152. {
  153. return 1083;
  154. }
  155. if(id == 4084)
  156. {
  157. return 1468;
  158. }
  159. if(id == 6528) // dharoks axe
  160. {
  161. return 2064;
  162. }
  163. if(id == 746 || id == 667 || id == 35 || id == 2402 || id == 11011 || id == 11001 || id == 7808 || id == 7668)
  164. {
  165. return 307;
  166. }
  167. if(id == 4718) // dharoks axe
  168. {
  169. return 2064;
  170. }
  171. if(id == 4039 || id == 4037 || id == 1379 || id == 3204 || id == 1381 || id == 1383 || id == 1385 || id == 1387 || id == 1389 || id == 1391 || id == 1393 || id == 1395 || id == 1397 || id == 1399 || id == 1401 || id == 1403 || id == 145 || id == 1407 || id == 1409 || id == 3053 || id == 3054 || id == 4170 || id == 4675 || id == 4710 || id == 6526 || id == 4726 || id == 6562 || id == 6563 || id == 6914 || id == 5730) // staves + d long and most other weps with str8 up emote
  172. {
  173. return 1146;
  174. }
  175. if(id == 7158 || id == 1319 || id == 6609)
  176. {
  177. return 2562;
  178. }
  179. if(id == 4565) // basket of eggs :)
  180. {
  181. return 1836;
  182. }
  183. if(id == 4755) // veracs flail
  184. {
  185. return 2060;
  186. }
  187. if(id == 4734) // karils x bow
  188. {
  189. return 2076;
  190. }
  191. if(id == 4153) // maul
  192. {
  193. return 1663;
  194. }
  195. if(id == 4718) // 2h + gr8 axe
  196. {
  197. return 1662;
  198. }
  199. if(id == 13636 || id == 4151 || id == 16002) // whip
  200. {
  201. return 1660;
  202. }
  203. else
  204. {
  205. return 0x333;
  206. }
  207. }
  208.  
  209. public int GetStandAnim(int id)
  210. {
  211. if(id == 837)
  212. {
  213. return 2257;
  214. }
  215. if(id == 4084)
  216. {
  217. return 1462;
  218. }
  219. if(id == 4718) // dharoks axe
  220. {
  221. return 2065;
  222. }
  223. if(id == 746 || id == 667 || id == 35 || id == 2402 || id == 11011 || id == 11001 || id == 7808 || id == 7668)
  224. {
  225. return 301;
  226. }
  227. if(id == 7158 || id == 1319 || id == 6609)
  228. {
  229. return 2561;
  230. }
  231. if(id == 4755) // veracs flail
  232. {
  233. return 2061;
  234. }
  235. if(id == 4734) // karils x bow
  236. {
  237. return 2074;
  238. }
  239. if(id == 4153) // maul
  240. {
  241. return 1662;
  242. }
  243. if(id == 6528)//Obby Maul
  244. {
  245. return 0x811;
  246. }
  247. if(id == 4565) // basket of eggs :)
  248. {
  249. return 1836;
  250. }
  251. if(id == 1305 || id == 11962 || id == 11963 || id == 10395 || id == 11964 || id == 11965 || id == 1379 || id == 1381 || id == 1383 || id == 1385 || id == 1387 || id == 1389 || id == 1391 || id == 1393 || id == 1395 || id == 1397 || id == 1399 || id == 1401 || id == 1403 || id == 145 || id == 1407 || id == 1409 || id == 3053 || id == 6914 || id == 3054 || id == 4170 || id == 4675 || id == 4710 || id == 6526 || id == 4726 || id == 6562 || id == 6563 || id == 5730 || id == 3190 || id == 3192 || id == 3194 || id == 3196 || id == 3198 || id == 3200 || id == 3202 || id == 3204 || id == 772) // staves
  252. {
  253. return 809;
  254. }
  255. else
  256. {
  257. return 0x328;
  258. }
  259. }
  260. public int GetBlockAnim()
  261. {
  262. if(playerEquipment[playerShield]== 3095 || playerEquipment[playerShield]== 3096 || playerEquipment[playerShield]== 3097 || playerEquipment[playerShield]== 3098 || playerEquipment[playerShield]== 3099 || playerEquipment[playerShield]== 3100 || playerEquipment[playerShield]== 3101 || playerEquipment[playerShield]== 2621 || playerEquipment[playerShield]== 2589 || playerEquipment[playerShield]== 3101 || playerEquipment[playerShield] == 1201 || playerEquipment[playerShield] == 6524 || playerEquipment[playerShield] == 1187|| playerEquipment[playerShield] == 1540 || playerEquipment[playerShield] == 1171 || hasCrystalShield())
  263. {
  264. return 0x484;
  265. }
  266. if(playerEquipment[playerWeapon] == 1321 || playerEquipment[playerWeapon] == 1323 || playerEquipment[playerWeapon] == 1333 || playerEquipment[playerWeapon] == 6611 || playerEquipment[playerWeapon] == 1291 || playerEquipment[playerWeapon]== 4587 || playerEquipment[playerWeapon] == 1305 || playerEquipment[playerWeapon] == 1377)
  267. {
  268. return 404;
  269. }
  270. if(playerEquipment[playerWeapon] == 4755) // veracs flail
  271. {
  272. return 2063;
  273. }
  274. if(playerEquipment[playerWeapon] == 6528) // obby maul
  275. {
  276. return 1666;
  277. }
  278. if(playerEquipment[playerWeapon] == 746 || playerEquipment[playerWeapon] == 667 || playerEquipment[playerWeapon] == 35 || playerEquipment[playerWeapon] == 2402 || playerEquipment[playerWeapon] == 11011 || playerEquipment[playerWeapon] == 11001 || playerEquipment[playerWeapon] == 7808 || playerEquipment[playerWeapon] == 7668)
  279. {
  280. return 309;
  281. }
  282. if(playerEquipment[playerWeapon] == 6818) // veracs flail
  283. {
  284. return 3157;
  285. }
  286. if(playerEquipment[playerWeapon] == 5698)
  287. {
  288. return 403;
  289. }
  290. if(playerEquipment[playerWeapon] == 4151) // whip
  291. {
  292. return 1659;
  293. }
  294. if(playerEquipment[playerWeapon] == 839 || playerEquipment[playerWeapon] == 841 || playerEquipment[playerWeapon] == 843 || playerEquipment[playerWeapon] == 845 || playerEquipment[playerWeapon] == 847 || playerEquipment[playerWeapon] == 849 || playerEquipment[playerWeapon] == 851 || playerEquipment[playerWeapon] == 853 || playerEquipment[playerWeapon] == 855 || playerEquipment[playerWeapon] == 857 || playerEquipment[playerWeapon] == 837 || playerEquipment[playerWeapon] == 861 || playerEquipment[playerWeapon] == 4734 || playerEquipment[playerWeapon] == 859 || playerEquipment[playerWeapon] == 4827 || hasCrystalBow())
  295. {
  296. return 424;
  297. }
  298. if(playerEquipment[playerWeapon] == 4718)
  299. {
  300. return 424;
  301. }
  302. if(playerEquipment[playerWeapon] == 4153) // maul
  303. {
  304. return 1666;
  305. }
  306. else
  307. {
  308. return 424;
  309. }
  310. }
Add Comment
Please, Sign In to add comment