Originally Posted by duhwhat
I have in mind about 10 debuffs, from both self and other players, that I would whitelist. How would I go about doing this?
|
Code:
local whitelist = {
['buffname1'] = true,
['buffname2'] = true,
}
local function customFilter(icons, unit, icon, name)
if(whitelist[name]) then return true end
end
then use this to your layout creation function
Code:
self.CustomAuraFilter = customFilter