SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         gainPL(amount,mob/target,OR=FALSE){
  2.  
  3.             if(!canGain(target,OR,amount)){ return  FALSE; }
  4.  
  5.             if(amount > 0){ amount = (amount + ret_percent(calcBonusGain(),amount)) }
  6.             maxpl = clamp(maxpl + amount, getMinPL(race), MAX_PL)
  7.  
  8.             lastPLGain = amount;
  9.  
  10.             if(target.client){ target.client.bust_prompt = TRUE; }
  11.  
  12.             qFac.checkPower(src);
  13.  
  14.             saveSQLCharacter();
  15.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top