Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hooksecurefunc("CompactUnitFrame_UtilSetDebuff", function(debuffFrame, unit, index, filter)
- local color = DebuffTypeColor[select(5, UnitDebuff(unit, index, filter))] or DebuffTypeColor["none"];
- if ( debuffFrame.bg ) then
- debuffFrame.bg:SetBackdropBorderColor(color.r, color.g, color.b);
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement