Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gainPL(amount,mob/target,OR=FALSE){
- if(!canGain(target,OR,amount)){ return FALSE; }
- if(amount > 0){ amount = (amount + ret_percent(calcBonusGain(),amount)) }
- maxpl = clamp(maxpl + amount, getMinPL(race), MAX_PL)
- lastPLGain = amount;
- if(target.client){ target.client.bust_prompt = TRUE; }
- qFac.checkPower(src);
- saveSQLCharacter();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement