oUF AuraWatch

This is an optional addon for oUF by haste. The latest version was verified to work with oUF 1.6.8.

oUF AuraWatch adds the ability to watch specific auras on any unit of your choice. All you need to know is the spell ID!

Some uses include:

Grid style HoT indicators.

Crowd control warnings.

DoT timers.

All integrated within your unit frames.

By default, when an aura is applied to a unit, oUF_AW will display an icon letting you know it has been applied. When the aura expires, oUF_AW will display a faded icon, letting you know to reapply that aura. These affects can be customized in your layout. All icons are cleared when combat ends, so you can start each fight fresh. oUF_AuraWatch used the GUID of players and targets, making sure correct information is shown.

oUF_AW does not display numerical timers on its own. However, it does create a cooldown frame which, when paired with OmniCC by Tuller (or a similar addon), will create a countdown for you.

Additional options as well as an example on how to set up oUF_AW are located in oUF_AuraWatch.lua.

1.6.8-8
-Removed some legacy code from spell ranks. Be sure you use the correct spell ID!

1.5.2-7
-Replaced the numerous frame options with a customIcons option, which gives control of frame creation to the user. This is not backwards compatible! If you previously used hideCount, hideCooldown, or custom textures, slight alterations to your layout will be needed.
-Added Override- and Post- ResetIcon and ExpireIcon fields, which allow the user to better control how frames look when these events occur.
-Updated to oUF version 1.5.2 element standard.

1.3.28-6
Added hideCount and hideCooldown options.
Added a strictMatching option, which will watch auras based on spell ids instead of spell names if true.
Improved documentation in oUF_AuraWatch.lua.
Use new embedding technique.
Slight code improvements.

1.3.14-5:
Added an anyUnit option, which, if true, will display an aura no matter what unit it is from.
Fixed an error in the icon creating code.

1.3.14-4:
Fixed some typos so that the addon works like the documentation says!

1.3.14-3:
Allowed the layout to specify showOnlyPresent and showOnlyMissing on a per aura basis if wanted.
Added a new fromUnits field which specifies which units an aura can originate from.

It spits out an error, that it failed to assign a number to "icon" or something like that.

I'm using this on my aura reskin function to color debuff borders by type. However, I worked around this by creating an identical function, just without that line and a slightly different function name.

Is there any chance this could be developed into something that can also filter buffs/debuffs on duration?

I like to differentiate between severa group of buffs.

1. one group of short buffs/debuffs with a duration <120sec for player
2. one group of short buffs/debuffs with a duration <120sec for target
3. one group of long buffs/debuffs with a duration >120sec for target

The idea behind this is simple. It allows to keep track of important self/hostile buffs AND debuffs, in a consistent place.

Or would this blow up the basic idea of this addon ? I hope not, since it's an nice and efficient way to filter a lot of things!

Only problem I had were the Kel'Thuzad iceblock debuff icons. Since the cooldown spiral starts at full and by healthbar is kinda dark when full the icon was hard to spot. I am using my own icon.cd now with Reversed cooldown spiral so the icon is blank at start...maybe I am going to add a glow to it aswell.