Originally Posted by Game92
I would do this
Lua Code:
function SkinDebuff() local button, icon; for i = LayAura.debuffs + 1, DEBUFF_ACTUAL_DISPLAY do button = _G["DebuffButton" .. i]; icon = _G["DebuffButton" .. i .. "Icon"]; local Border = _G[button .. "Border"] if (Border) then Border:SetTexture(nil) Border:Hide() local R, G, B = Border:GetVertexColor() button:SetColorHere end CutOffEdges(icon); SetTemplate(button); end LayAura.debuffs = DEBUFF_ACTUAL_DISPLAY; end
|
Yeap, that's how I've done it at the moment, but was not added into attachment