Download
(2Kb)
Download
Updated: 05-14-09 03:04 AM
Pictures
File Info
Updated:05-14-09 03:04 AM
Created:05-14-09 03:04 AM
Downloads:3,366
Favorites:2
MD5:

HideBuffs

Version: 0.01a
by: Æxò [More]

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.)

Optional Files (0)


Post A Reply Comment Options
Unread 05-14-09, 04:10 AM  
kraftman
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 261
Uploads: 15
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)
Last edited by kraftman : 05-14-09 at 04:12 AM.
Report comment to moderator  
Reply With Quote
Unread 05-14-09, 04:23 AM  
Æxò
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 73
Uploads: 1
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
Report comment to moderator  
Reply With Quote
Unread 07-11-09, 03:55 PM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
May i request a option to hide the default player debuffs/buffs?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: