SHARE
TWEET

Untitled

a guest Oct 31st, 2014 186 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Change rage affs to proper priorities.
  2. function offRageBal(event, bal)
  3.   if event == "lost bal" and bal == "rage" then
  4.     switchPrios( "lovers", 13 )
  5.     switchPrios( "pacified", 13 )
  6.     switchPrios( "peace", 15 )
  7.     switchPrios( "justice", 15 )
  8.     switchPrios( "generosity", 19 )
  9.   end
  10. end --func
  11.  
  12. registerAnonymousEventHandler("lost bal", "offRageBal")
  13.  
  14. --Change rage affs back to 26 (ignored)
  15. function onRageBal(event, bal)
  16.   if event == "got bal" and bal == "rage" then
  17.     affPrioRestore( "lovers" )
  18.     affPrioRestore( "pacified" )
  19.     affPrioRestore( "peace" )
  20.     affPrioRestore( "justice" )
  21.     affPrioRestore( "generosity" )
  22.   end
  23. end --func
  24.  
  25. registerAnonymousEventHandler("got bal", "onRageBal")
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