It doesn't change the playertitle after the 1st prestige.
|
It doesn't do the +1 so it doesn't count when you prestige your levels.. and the first time you prestige it gives you the "Sir" title but other times; nothing.Code:if (playerCommand.equalsIgnoreCase("prestige")) { if(c.combatLevel != 138) return; for(int i = 0; i < 7;i++) { c.playerLevel[i] = 1; c.playerXP[i] = 0; c.getPA().refreshSkill(i); c.playerTitle = +1; } c.sendMessage("You Have Prestiged Your Combat!"); } else if(c.playerTitle == 11){ c.sendMessage("You can only prestige 11 times"); }
all it does it reset them.
(also it doesn't reset summoning)
Please help, and thankyou
EDIT: I have already tried making "c.playerTitle = +1;" to "c.playerTitle += 1;". So please do not suggest that.
It doesn't change the playertitle after the 1st prestige.
bump :l
c.playerTitle ++;
Conventions please. Something like that wrote it in the reply box.Code:if (playerCommand.equalsIgnoreCase("prestige") && c.combatLevel != 138) { for(int i = 0; i < 7;i++) { c.playerLevel[i] = 1; c.playerXP[i] = 0; c.getPA().refreshSkill(i); c.sendMessage("You Have Prestiged Your Combat!"); c.playerTitle ++; } else if(c.playerTitle > 10){ c.sendMessage("You can only prestige 11 times!"); } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |