WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   oUF (Otravi Unit Frames) (https://www.wowinterface.com/forums/forumdisplay.php?f=87)
-   -   Move certain debuffs (https://www.wowinterface.com/forums/showthread.php?t=39446)

Irongunner 03-28-11 02:50 AM

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

haste 03-28-11 04:30 AM

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

Irongunner 03-28-11 05:08 AM

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


All times are GMT -6. The time now is 12:10 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI