Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function()
- -- What the fuck is this supposed to do?
- if (not aura_env.state or not aura_env.state.spellid) then
- return 1, 0, 0, 1
- end
- -- Fuck everything when Out of Combat
- if aura_env.OoC then -- Out of Combat
- aura_env.state.show = false
- aura_env.state.changed = true
- return 1,0,0,1
- end
- -- Never ending Corruption
- local spellInfo = aura_env.spells[aura_env.state.spellid]
- if aura_env.state.spellid == 146739 and aura_env.foreverCorruption then
- return 1, 1, 1, 1
- end
- if (aura_env.state.expirationTime - GetTime() <= 0) then
- aura_env.icon:SetDesaturated(1)
- return 1, 1 ,1 ,1
- end
- if (aura_env.state.expirationTime - GetTime() <= spellInfo.duration * .3) then
- return 0, 1, 0, 1
- else
- return 1, 1, 1, 1
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement