Colorchange DS

a guest Jan 22nd, 2020 103 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function(progress, r1, g1, b1, a1, r2 , g2 ,b2, a2)
  2.     local red,green,blue=1,1,0
  3.     local current_Stat=GetSpellBonusDamage(7)
  4.     local cast_Stat=GetSpellBonusDamage(7)
  5.     if current_Stat>3340 then
  6.         red,green,blue=0,1,0
  7.     elseif current_Stat<3340 then
  8.         red,green,blue=1,0,0
  9.     end
  10.     return red,green,blue,1
  11. end
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