Originally Posted by duhwhat
Thanks for your help pelim. This was working well, although the target frame filtered both debuffs AND buffs. Is there a way to white/blacklist only the debuffs?
Also, does anyone know where to look for a comprehensive list of "special" debuffs? I would prefer a whitelist method for debuff filtering, rather than blacklisting almost everything under the sun, but I would like to not miss any of these debuffs. For example, Pyrite, Engulf in Flames, etc.
|
To filter buffs:
Code:
local function customFilter(icons, unit, icon, name)
if(whitelist[name] and not icon.debuff) then return true end
end
To filter debuffs:
Code:
local function customFilter(icons, unit, icon, name)
if(whitelist[name] and icon.debuff) then return true end
end