local function PostCreateAuraBar(bar, parent) |
bar:SetBackdrop(backdrop) |
bar:SetBackdropColor(0,0,0) |
|
bar:SetPoint('LEFT', bar:GetHeight() + 3, 0) |
bar:SetPoint'RIGHT' |
|
bar.icon:ClearAllPoints() |
bar.icon:SetPoint('LEFT', parent) |
bar.icon:SetPoint'BOTTOM' |
|
local bg = bar:CreateTexture(nil, 'BACKGROUND') |
bg:SetPoint('TOPRIGHT',bar.icon,1,1) |
bg:SetPoint('BOTTOMLEFT',bar.icon,-1,-1) |
bg:SetTexture(0,0,0) |
|
bar.icon.bg = bg |
end |
|
--[[--]] |
local AuraBarFilter |
do |
local whitelist = {} |
for k, v in pairs({ |
1784, -- Stealth |
51662, -- Hunger For Blood |
}) do |
whitelist[GetSpellInfo(v)] = true |