Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | None | 0 0
  1. hooksecurefunc("CompactUnitFrame_UtilSetDebuff", function(debuffFrame, unit, index, filter)
  2.     local color = DebuffTypeColor[select(5, UnitDebuff(unit, index, filter))] or DebuffTypeColor["none"];
  3.     if ( debuffFrame.bg ) then
  4.         debuffFrame.bg:SetBackdropBorderColor(color.r, color.g, color.b);
  5.     end
  6. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement