Addon/Script to highlight dispellable buffs on target

Interface and Macros
Hi,
I'm looking for an addon/script to highlight dispellable buffs. For purge classes, the white border around dispellable buffs is standard, but not for classes like Warlock. My main class is Warlock and the felhunter has purge aswell, that's why I need such an addon/script only for my lock.
I was using this script years ago. Might be still working. Try it out.
if UnitClass("player")=="Warlock" then
hooksecurefunc("TargetFrame_UpdateAuras", function(s)
for i = 1, MAX_TARGET_BUFFS do
_, _, ic, _, dT = UnitBuff(s.unit, i)
if(ic and (not s.maxBuffs or i<=s.maxBuffs)) then
fS=_G[s:GetName()..'Buff'..i..'Stealable']
if(UnitIsEnemy(PlayerFrame.unit, s.unit) and dT=='Magic') then
fS:Show()
else
fS:Hide()
end
end
end
end)
end
Works great, thanks alot!
Hey it's me again, since BFA this script or addon doesn't work for me anymore.
Did Blizzard change something or what's wrong?
Any idea?
Hey again!
I'm using EasyFrames addon and there is such a feature. Other than that I don't know;)

Join the Conversation

Return to Forum