View Single Post
02-20-09, 08:26 PM   #767
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view addons
Join Date: May 2006
Posts: 918
I'm trying to filter debuffs and it's completely driving me nuts. I searched this thread, the general thread, and even the wowace thread for some help. But I had no success, really.

I want to filter debuffs to only show debuffs i can dispel. It should work for all classes that can dispel.

Basically it should simply be
Code:
self.Debuffs.filter = false
set to
Code:
self.Debuffs.filter = true
Which would show all debuffs i can either cast or dispel myself.

I want to filter them on party and raid frames only, which is why I'm calling it separately for player/target/party....whatever.

BUT! Once I'm setting it to true, my debuffs magically become a "showeverything" frame, which includes even buffs...... I don't get it, setting it back to false, only shows debuffs. Which should be the basic behaviour of the debuff frame anyway.

Any help ?


EDIT:

I'm using
Code:
self.Debuffs = CreateFrame("Frame", nil, self)
instead of
Code:
self.Debuffs = debuffs
Could this be the reason? Or do i have to use both ? Does this has anything to do with "self.Debuffs.filter = true/false" at all ?

EDIT#2:
Ok, I figured it might be something like
Code:
self.Debuffs.filter = "HARMFUL"
However, I can't find the function that calls for "removable" (by player).

Last edited by Dawn : 02-20-09 at 10:27 PM.