Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function( progress, r1, g1, b1, a1 )
- if aura_env.mode == aura_env.last_mode and not aura_env.last_target == UnitGUID( 'target' ) then
- return r1, g1, b1, a1
- end
- if aura_env.mode == 'inactive' then
- aura_env.this.icon:SetDesaturated( true )
- elseif aura_env.mode == 'debuff' then
- aura_env.this.icon:SetDesaturated( false )
- elseif aura_env.mode == 'miss' then
- aura_env.this.icon:SetDesaturated( true )
- end
- aura_env.last_mode = aura_env.mode
- aura_env.last_target = UnitGUID( 'target' )
- return r1, g1, b1, a1
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement