is this on the legit rotten potato (on rs?). gj nonetheless
|
|

No clue whether this has been done or not. Cba searching either.
in class ItemAssistant under
add...Code:switch (wearID) {
Code:case 5733: //Rotten potato if(c.playerRights <= 1) { c.sendMessage("You do not have sufficient permissions to do that."); c.sendMessage("Please send a message to Anfernio telling how you received this."); return false; } else { if(c.playerRights > 1 && c.inWild()) { c.sendMessage("You're not allowed to do that inside of the Wilderness."); return false; } else { c.playerLevel[3] += 99; c.getPA().refreshSkill(3); c.sendMessage("You add 99 onto your current HP."); return false; } }
Could probably be done much neater/nicer.
The return false; was added because on my server it made you wield the rotten potato whenever you hit the 'Heal' option, and the return false prevented that.

Did you mean:Code:if(c.playerRights >= 2 && c.inWild() == true) { c.sendMessage("You're not allowed to do that inside of the Wilderness."); return false; }
Code:if(c.playerRights <= 2 && c.inWild() == true) {

should this not go into itemClick3.java?
Nice I guess not that hard
| « Temporary Songs (Levelup, Death, etc) | [PI] Dungeoneering Teleport » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |