Quantcast
Party Buffs: "onlyShowPlayer" - WoWInterface
Thread Tools Display Modes
07-23-10, 02:10 PM   #1
DThielke
A Kobold Labourer
Join Date: Jul 2009
Posts: 1
Party Buffs: "onlyShowPlayer"

Hi,

I've been messing around with my party frames and I have everything working except for buff filtering. I would like the party frames to only display buffs cast by me. I did some searching and found that what I needed was:
Code:
self.Buffs.onlyShowPlayer = true
This almost works, but it seems to be a little buggy. Most of the time, it will only display one less buff than the unit has on them. For example, if I cast Detect Invis and Underwater Breathing on a party member, it will only show Detect Invis. If I then cast a Soulstone on that party member, it will display Detect Invis and Underwater Breathing, but not Soulstone. On rare occaisions, the buffs will refresh and display all three, but almost never upon first cast.

The relevant code is posted below.

Code:
do
	UnitSpecific.party = function(self)
		local buffs = CreateFrame("Frame", nil, self)
		buffs:SetHeight(26)
		buffs:SetWidth(300)
		buffs.initialAnchor = "TOPRIGHT"
		buffs.spacing = 4
		buffs.num = 10
		buffs["growth-x"] = "LEFT"
		buffs["growth-y"] = "DOWN"
		buffs:SetPoint("RIGHT", self, "LEFT", -6, 0)
		buffs.size = 26
		
		buffs.PostCreateIcon = auraIcon
		buffs.PostUpdateIcon = PostUpdateIcon

		self.Buffs = buffs
		
		self.Buffs.onlyShowPlayer = true
	end
end
Any help would be much appreciated.
  Reply With Quote
07-23-10, 02:23 PM   #2
Mischback
A Cobalt Mageweaver
 
Mischback's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 221
Can't say it 100%, but it could have something to do with this.
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Party Buffs: "onlyShowPlayer"

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