[PI] Duel Arena - Safe of every glitch & dupe
Have you tried that?
|
Hey guys, so when you finish a duel. It doesn't reset your spec and hitpoints.
What would I do to fix this? I'm guessing it's something in PlayerAssistant. I just don't know why.
note: You don't really need the if statement.Code:if(c.playerLevel[5] < c.getPA().getLevelForXP(c.playerXP[5])) { c.playerLevel[5] = c.getPA().getLevelForXP(c.playerXP[5]); c.getPA().refreshSkill(5); }
note2: #5 is the skill ID, 3 is for Hitpoints, just do the same thing for it, add that to your win / loss method. Search for the method that teleports players out after they die / win and add it there.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |