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.