Quantcast WoWInterface - View Single Post - oUF - Layout discussion
View Single Post
04-27-09, 12:07 PM   #1007
A Pyroguard Emberseer
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,642
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?
local whitelist = {
   ['buffname1'] = true,
   ['buffname2'] = true,

local function customFilter(icons, unit, icon, name)
   if(whitelist[name]) then return true end
then use this to your layout creation function
self.CustomAuraFilter = customFilter