View Single Post
Unread 04-27-09, 12:07 PM   #1007
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,320
Originally Posted by duhwhat View Post
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
p3lim is offline