Fellow user of Blizzard's unit frames, I use different addons to track my debuffs on my target as well as buffs it has. I looked for a way, or an addon for that matter, to hide these buffs and debuffs on the target and focus frames, but nothing existed (atleast post-2.0.3).
HideBuffs (in its 0.01a version) hides buffs and debuffs of target and focus frames.
(I'm sure the code isn't 100% efficient, especially the UIParent:OnUpdate(), but I will work on that.)
Originally posted by kraftman Calling this on update is pretty inefficient.
if you don't need the buffs at all, something like
function TargetFrame_UpdateAuras () end
function FocusFrame_UpdateAuras() end
might do the trick.
(otherwise maybe limit it to PLAYER_FOCUS_CHANGED, PLAYER_TARGET_CHANGED, and UNIT_AURA)
Well, I must admit I'm pretty new to creating addons. I've always managed to edit some to my liking, but not making them from sratch. Hence the inefficience
I'll see what I can do with the information you provided. Thanks