Advertisement
Guest User

Untitled

a guest
Aug 28th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. function()
  2.  
  3. -- What the fuck is this supposed to do?
  4. if (not aura_env.state or not aura_env.state.spellid) then
  5. return 1, 0, 0, 1
  6. end
  7.  
  8. -- Fuck everything when Out of Combat
  9. if aura_env.OoC then -- Out of Combat
  10. aura_env.state.show = false
  11. aura_env.state.changed = true
  12. return 1,0,0,1
  13. end
  14.  
  15. -- Never ending Corruption
  16. local spellInfo = aura_env.spells[aura_env.state.spellid]
  17. if aura_env.state.spellid == 146739 and aura_env.foreverCorruption then
  18. return 1, 1, 1, 1
  19. end
  20.  
  21. if (aura_env.state.expirationTime - GetTime() <= 0) then
  22. aura_env.icon:SetDesaturated(1)
  23. return 1, 1 ,1 ,1
  24. end
  25.  
  26. if (aura_env.state.expirationTime - GetTime() <= spellInfo.duration * .3) then
  27. return 0, 1, 0, 1
  28. else
  29. return 1, 1, 1, 1
  30. end
  31.  
  32.  
  33. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement