If wildylevel > #, PKP + #
|
Need help, i've tried a bit of things. How would I go about making deeper wild give more PkP?
If wildylevel > #, PKP + #
something like this? This is how it is for mine, work it off of this
Code:public int getPkp(Client c,int pk){ int pkp = pk; if(c.wildLevel > 0 && c.wildLevel <= 10) pkp += 30; else if(c.wildLevel > 10 && c.wildLevel <= 20) pkp += 40; else if(c.wildLevel > 20 && c.wildLevel <= 30) pkp += 50; else if(c.wildLevel > 30 && c.wildLevel <= 40) pkp += 55; else if(c.wildLevel > 40 && c.wildLevel <= 60) pkp += Misc.random(350); return (pkp * 2); }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |