Hi,
So I have this script which allows me to hide all buffs and debuffs from mentioned in the title frames but unfortunately its tainting. Could someone help me to make it work?
Lua Code:
--hides default target/focus buffs/debuffs
TargetFrame.maxBuffs = 0
TargetFrame.maxDebuffs = 0
MAX_TARGET_BUFFS = 0
MAX_TARGET_DEBUFFS = 0
TargetFrame_UpdateAuras(TargetFrame)
if FocusFrame:IsShown() then
FocusFrame.maxBuffs = 0
FocusFrame.maxDebuffs = 0
MAX_FOCUS_BUFFS = 0
MAX_FOCUS_DEBUFFS = 0
FocusFrame_UpdateAuras(FocusFrame)
end