case NPCID:
c.playerLevel[6] += 26
break;
(;?
|
alright well i was wondering how i could make an npc that would boost a person's magic lvl upto like 125.
I'd like the method please.
case NPCID:
c.playerLevel[6] += 26
break;
(;?
does not work
you dont need a method I guarantee you that the methods you need are already in delta
nvm it works but you can masclick it ....
You should probably change it so it boosts based on magic lvl not just 26, but im not giving you everything.Code:case NPCID: if (System.currentTimeMillis() - c.foodDelay > 5000) { c.playerLevel[6] += 26 c.foodDelay = System.currentTimeMillis(); break;
repped thanks
btw is there a way to make it so that you can only make it boost you no higher then level 125
Try that outCode:if (c.playerLevel[6] > (c.getLevelForXP(c.playerXP[6])*1.27 + 1)) { c.playerLevel[6] = (int)(c.getLevelForXP(c.playerXP[6])*1.27); }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |