Thread Tools Display Modes
05-07-09, 09:09 AM   #1
Luzzifus
A Warpwood Thunder Caller
 
Luzzifus's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2007
Posts: 94
Debuff Filtering

Hi,

since 3.1 the debuff filtering doesn't work like it should for my layout. For the player frame I want to see all debuffs I have, for all other frames I want to see harmful spells I cast. My code as it worked pre 3.1:

Code:
	if unit then
		self.Buffs = CreateFrame("Frame", nil, self)		
		self.Buffs.spacing = 1
		self.Buffs:SetHeight(nivcfgDB.buffSize)
		self.Buffs.filter = false
		self.Buffs.size = nivcfgDB.buffSize
		self.Buffs.num = 30	
		oUF_Nivaya:UpdateAuraPos(self, unit, "buff", true)
		
		self.Debuffs = CreateFrame("Frame", nil, self)
		if (unit == "player") then 
			self.Debuffs.filter = false
		else
			self.Debuffs.filter = "HARMFUL|PLAYER"
		end
		self.Debuffs.spacing = 1
		self.Debuffs:SetHeight(nivcfgDB.debuffSize)
		self.Debuffs.showDebuffType = true
		self.Debuffs.size = nivcfgDB.debuffSize
		self.Debuffs.num = 8
		oUF_Nivaya:UpdateAuraPos(self, unit, "debuff", true)
	end
But now I can't manage to make those "environment" debuffs to show up. Like that "strange aura" in Terrokar Forest or Thaddius' debuffs (plus, minus, charges). To what would I have to change the filter to see those? "HARMFUL" doesn't work. false doesn't work, and "" doesn't work either.

Thanks in advance,
luzzi.

**edit: It was a typo in the if statement. *cough* Sorry, my fault.

Last edited by Luzzifus : 05-07-09 at 02:35 PM.
  Reply With Quote
05-11-09, 12:19 PM   #2
Vranx
A Flamescale Wyrmkin
 
Vranx's Avatar
Join Date: May 2008
Posts: 101
To see only my own debuffs I added
Code:
auras.onlyShowPlayer = true
to oUF_Alza.
  Reply With Quote
05-11-09, 03:12 PM   #3
MulliganVI
A Defias Bandit
Join Date: May 2009
Posts: 2
Hello, I am using oUF_alekk layout. This is my first experience with oUF and it's fantastic, but I'm a total noob. This particular layout displays debuff/buff of the target, above the target frame. This list however gets to be way too long during boss fights as it lists every debuff cast on the boss. Is there a way that I can filter out all player castable debuff's? I keep track of the critical debuffs that apply to me through another addon but want to still be able to see Boss Specific Buffs/Debuffs with out looking through 20 different other ones. An example would be displaying molten debuff on the adds from the ignis fight. Thanks for your help.
  Reply With Quote
05-11-09, 03:35 PM   #4
v6o
An Onyxian Warder
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 399
@Luzzifus

For your debuffs player frame you should just leave filtering alone. Don't even set it.

And what Vranx said for target (or just PLAYER)

Last edited by v6o : 05-12-09 at 03:31 AM.
  Reply With Quote
05-11-09, 07:59 PM   #5
MulliganVI
A Defias Bandit
Join Date: May 2009
Posts: 2
Thank you.... So I added:

auras.onlyShowPlayer = true

and that successfully only shows my debuffs on the mob. It however doesn't display the unique buffs/debuffs that the mobs themselves cast. Is there any way to turn that on, with still filtering other player castable buffs/debuffs?

Thank you

Last edited by MulliganVI : 05-11-09 at 08:22 PM.
  Reply With Quote
05-12-09, 02:10 AM   #6
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
I use oUF_AuraWatch for this. It allows you to filter specific unit buffs/debuffs.
http://www.wowinterface.com/download...AuraWatch.html
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Debuff Filtering


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