Thread Tools Display Modes
03-28-11, 02:50 AM   #1
Irongunner
A Deviate Faerie Dragon
Join Date: Mar 2011
Posts: 11
Move certain debuffs

Hey guys,

I have setup my target debuffs using the standard self.Debuffs field offered by oUF core. I am filtering these using self.Debuffs.CustomFilter and a whitelist.

What I'd like to do now is to define a "superimportant" debuffs list and move the debuffs in this list to a special location as well as increase their size.

Is there a way to:
- Offset the debuff icon position / edit icon size inside my CustomFilter?
OR (what i would like more)
- Setup something like self.Debuffs2 with an own whitelist which is automatically updated by oUF core?

I'd like to avoid adding another addon/plugin for this.

Thanks in advance
Iron
  Reply With Quote
03-28-11, 04:30 AM   #2
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
There's two ways you can do this:
1. Tag the debuffs with some sort of priority in your custom filter and use your own SetPosition function to handle it.
2. Take the lazy route and do like me in oUF Lily:
- https://github.com/haste/oUF_Lily/bl...rahandling.lua
- https://github.com/haste/oUF_Lily/bl...y.lua#L316-343
__________________
「貴方は1人じゃないよ」

Last edited by haste : 03-28-11 at 04:31 AM. Reason: correct name for the function
  Reply With Quote
03-28-11, 05:08 AM   #3
Irongunner
A Deviate Faerie Dragon
Join Date: Mar 2011
Posts: 11
Doh, I took the "lazy route" before, but obviously I used self.Auras.num instead of self.Auras.numDebuffs -.-

Now everything works like a charm

Thx
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Move certain debuffs


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