Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-29-18, 07:08 PM   #1
plopek
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations
Join Date: Aug 2014
Posts: 18
Hiding buffs/debuffs on target/focus frame

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:
  1. --hides default target/focus buffs/debuffs
  2.         TargetFrame.maxBuffs = 0
  3.         TargetFrame.maxDebuffs = 0
  4.         MAX_TARGET_BUFFS = 0
  5.         MAX_TARGET_DEBUFFS = 0
  6.         TargetFrame_UpdateAuras(TargetFrame)
  7.        
  8.         if FocusFrame:IsShown() then
  9.         FocusFrame.maxBuffs = 0
  10.         FocusFrame.maxDebuffs = 0
  11.         MAX_FOCUS_BUFFS = 0
  12.         MAX_FOCUS_DEBUFFS = 0
  13.         FocusFrame_UpdateAuras(FocusFrame)
  14.         end
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Hiding buffs/debuffs on target/focus frame

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off