Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int GetWepAnim(int id)
- {
- if(id == -1) // unarmed
- {
- return 422;
- }
- if(id == 7668)
- {
- return 1060;
- }
- if(id == 6818)
- {
- return 2890;
- }
- if(id == 837)
- {
- return 1084;
- }
- if(id == 3190 || id == 3192 || id == 3194 || id == 3196 || id == 3198 || id== 3200 || id == 3202 || id == 3204) // halberds
- {
- return 440;
- }
- if(id == 4170 || id == 4675)
- {
- return 414;
- }
- if(id == 13636 || id == 4151 || id == 16002) // whip
- {
- return 1658;
- }
- if(id == 6528)
- {
- return 2661;
- }
- if(id == 4827)
- {
- return 426;
- }
- if(id == 6522)
- {
- return 3353;
- }
- 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
- {
- return 451;
- }
- 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
- {
- return 412;
- }
- if(id == 841 || id == 843 || id == 845 ||id == 849 ||id == 847 ||id == 853 || id == 851 || hasCrystalBow() || id == 859 || id == 861)
- {
- return 426;
- }
- if(id == 746 || id == 667 || id == 35 || id == 2402 || id == 11011 || id == 11001)
- {
- return 308;
- }
- if(id == 4153) // maul
- {
- return 1665;
- }
- if(id == 1377) // dragon b axe
- {
- return 1833;
- }
- if(id == 4718 && FightType != 3) // dharoks axe
- {
- return 2067;
- }
- if(id == 4718 && FightType == 3) // dharoks axe
- {
- return 2066;
- }
- if(id == 4726) // guthans spear
- {
- return 2080;
- }
- if(id == 4747 || id == 11005) // torags hammers
- {
- return 2068;
- }
- if(id == 4755 || id == 7808) // veracs flail
- {
- return 2062;
- }
- if(id == 4734) // karils x bow
- {
- return 2075;
- }
- if((id == 1215 || id == 1231 || id == 5680 || id == 5698) && FightType != 3) // dragon daggers
- {
- return 402;
- }
- if((id == 1215 || id == 1231 || id == 5680 || id == 5698) && FightType == 3) // dragon daggers
- {
- return 395;
- }
- if(id == 6609 || id == 1307 || id == 1309 || id == 1311 || id == 1313 || id == 1315 || id == 1317 || id == 1319 || id == 7158)
- // 2 handers
- {
- return 407;
- }
- else
- {
- return 451;
- }
- }
- public int GetRunAnim(int id)
- {
- if(id == 837)
- {
- return 1082;
- }
- if(id == 4084)
- {
- return 1468;
- }
- if(id == 13636 || id == 4151 || id == 16002) // whip
- {
- return 1661;
- }
- if(id == 7158 || id == 1319 || id == 6609)
- {
- return 2563;
- }
- if(id == 4734) // karils x bow
- {
- return 2077;
- }
- if(id == 6528) // maul
- {
- return 1664;
- }
- if(id == 746 || id == 667 || id == 35 || id == 2402 || id == 11011 || id == 11001 || id == 7808 || id == 7668)
- {
- return 306;
- }
- if(id == 4153) // maul
- {
- return 1664;
- }
- else
- {
- return 0x338;
- }
- }
- public int GetWalkAnim(int id)
- {
- if(id == 837)
- {
- return 1083;
- }
- if(id == 4084)
- {
- return 1468;
- }
- if(id == 6528) // dharoks axe
- {
- return 2064;
- }
- if(id == 746 || id == 667 || id == 35 || id == 2402 || id == 11011 || id == 11001 || id == 7808 || id == 7668)
- {
- return 307;
- }
- if(id == 4718) // dharoks axe
- {
- return 2064;
- }
- 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
- {
- return 1146;
- }
- if(id == 7158 || id == 1319 || id == 6609)
- {
- return 2562;
- }
- if(id == 4565) // basket of eggs :)
- {
- return 1836;
- }
- if(id == 4755) // veracs flail
- {
- return 2060;
- }
- if(id == 4734) // karils x bow
- {
- return 2076;
- }
- if(id == 4153) // maul
- {
- return 1663;
- }
- if(id == 4718) // 2h + gr8 axe
- {
- return 1662;
- }
- if(id == 13636 || id == 4151 || id == 16002) // whip
- {
- return 1660;
- }
- else
- {
- return 0x333;
- }
- }
- public int GetStandAnim(int id)
- {
- if(id == 837)
- {
- return 2257;
- }
- if(id == 4084)
- {
- return 1462;
- }
- if(id == 4718) // dharoks axe
- {
- return 2065;
- }
- if(id == 746 || id == 667 || id == 35 || id == 2402 || id == 11011 || id == 11001 || id == 7808 || id == 7668)
- {
- return 301;
- }
- if(id == 7158 || id == 1319 || id == 6609)
- {
- return 2561;
- }
- if(id == 4755) // veracs flail
- {
- return 2061;
- }
- if(id == 4734) // karils x bow
- {
- return 2074;
- }
- if(id == 4153) // maul
- {
- return 1662;
- }
- if(id == 6528)//Obby Maul
- {
- return 0x811;
- }
- if(id == 4565) // basket of eggs :)
- {
- return 1836;
- }
- 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
- {
- return 809;
- }
- else
- {
- return 0x328;
- }
- }
- public int GetBlockAnim()
- {
- 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())
- {
- return 0x484;
- }
- 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)
- {
- return 404;
- }
- if(playerEquipment[playerWeapon] == 4755) // veracs flail
- {
- return 2063;
- }
- if(playerEquipment[playerWeapon] == 6528) // obby maul
- {
- return 1666;
- }
- 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)
- {
- return 309;
- }
- if(playerEquipment[playerWeapon] == 6818) // veracs flail
- {
- return 3157;
- }
- if(playerEquipment[playerWeapon] == 5698)
- {
- return 403;
- }
- if(playerEquipment[playerWeapon] == 4151) // whip
- {
- return 1659;
- }
- 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())
- {
- return 424;
- }
- if(playerEquipment[playerWeapon] == 4718)
- {
- return 424;
- }
- if(playerEquipment[playerWeapon] == 4153) // maul
- {
- return 1666;
- }
- else
- {
- return 424;
- }
- }
Add Comment
Please, Sign In to add comment