daily pastebin goal
37%
SHARE
TWEET

Untitled

a guest Jun 19th, 2017 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             if (cmd[0].equalsIgnoreCase("master")) {
  2.                 if (p.wildernessZone(p.absX, p.absY)) {
  3.                         p.getActionSender().sendMessage(p, "You cannot set your levels in the wilderness.");
  4.                         return;
  5.                     }
  6.        for (int e : p.equipment) {
  7.                     if (e != -1) {
  8.                         p.getActionSender().sendMessage(p, "You cannot be wearing any armour while changing stats.");
  9.                         return;
  10.                     }
  11.                 }
  12.         p.skillLvl[0] = 99;
  13. p.skillXP[0] = 13036000;
  14. p.skillLvl[1] = 99;
  15. p.skillXP[1] = 13036000;
  16. p.skillLvl[2] = 99;
  17. p.skillXP[2] = 13036000;
  18. p.skillLvl[3] = 99;
  19. p.skillXP[3] = 13036000;
  20. p.skillLvl[4] = 99;
  21. p.skillXP[4] = 13036000;
  22. p.skillLvl[5] = 99;
  23. p.skillXP[5] = 13036000;
  24. p.skillLvl[6] = 99;
  25. p.skillXP[6] = 13036000;
  26. p.skillLvl[7] = 99;
  27. p.skillXP[7] = 13036000;
  28. p.skillLvl[8] = 99;
  29. p.skillXP[8] = 13036000;
  30. p.skillLvl[9] = 99;
  31. p.skillXP[9] = 13036000;
  32. p.skillLvl[10] = 99;
  33. p.skillXP[10] = 13036000;
  34. p.skillLvl[11] = 99;
  35. p.skillXP[11] = 13036000;
  36. p.skillLvl[12] = 99;
  37. p.skillXP[12] = 13036000;
  38. p.skillLvl[13] = 99;
  39. p.skillXP[13] = 13036000;
  40. p.skillLvl[14] = 99;
  41. p.skillXP[14] = 13036000;
  42. p.skillLvl[15] = 99;
  43. p.skillXP[15] = 13036000;
  44. p.skillLvl[16] = 99;
  45. p.skillXP[16] = 13036000;
  46. p.skillLvl[17] = 99;
  47. p.skillXP[17] = 13036000;
  48. p.skillLvl[18] = 99;
  49. p.skillXP[18] = 13036000;
  50. p.skillLvl[19] = 99;
  51. p.skillXP[19] = 13036000;
  52. p.skillLvl[20] = 99;
  53. p.skillXP[20] = 13036000;
  54. p.skillLvl[21] = 99;
  55. p.skillXP[21] = 13036000;
  56. p.skillLvl[22] = 99;
  57. p.skillXP[22] = 13036000;
  58. p.skillLvl[23] = 99;
  59. p.skillXP[23] = 13036000;
  60. p.getActionSender().setSkillLvl(p, 0);
  61. p.getActionSender().setSkillLvl(p, 2);
  62. p.getActionSender().setSkillLvl(p, 3);
  63. p.getActionSender().setSkillLvl(p, 1);
  64. p.getActionSender().setSkillLvl(p, 4);
  65. p.getActionSender().setSkillLvl(p, 5);
  66. p.getActionSender().setSkillLvl(p, 6);
  67. p.getActionSender().setSkillLvl(p, 23);
  68.                 p.appearanceUpdateReq = true;
  69.                 p.updateReq = true;
  70.             }
RAW Paste Data
Top