WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   oUF (Otravi Unit Frames) (https://www.wowinterface.com/forums/forumdisplay.php?f=87)
-   -   noob question stacking dots/debuffs. (https://www.wowinterface.com/forums/showthread.php?t=41666)

zoktar 10-23-11 11:16 PM

noob question stacking dots/debuffs.
 
I was wondering if it is possible to stack the same debuff/dots from other players on say a target frame, so lets say we have 2 locks and 3 dks, instead of 3 seperate frost fevers and 2 corruptions, they could stack so to save screenspace. Placing the stack counter somewhere else from normal dot stacks ofc. Thanks!.

haste 10-24-11 02:52 AM

You can do this quite easily with oUF, but you'll have to write some code. :)

Use CustomFilter() to build a list of active debuffs. If a debuff already exist within the list, then increase the stack number and tell oUF not to show the icon. Then you can use PostUpdate() to update the display counter on the icons.

You also have to remember to either wipe the list or reset the stack number after/before each update cycle.


All times are GMT -6. The time now is 07:38 PM.

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