Download
(76Kb)
Download
Updated: 02-18-23 10:38 AM
Compatibility:
Dragonflight patch (10.0.5)
Updated:02-18-23 10:38 AM
Created:01-18-18 04:30 PM
Downloads:2,068
Favorites:1
MD5:
Categories:Buff, Debuff, Spell, oUF: Plugins

oUF Dispellable

Version: 10.0.0
by: Rainrider [More]

oUF_Dispellable

This is an element for the unitframe framework oUF.
It does nothing by itself and requires layout support to do its magic.

Description

oUF_Dispellable provides functionality to highlight debuffs dispellable by the player. It can display either a texture colored by the debuff type, or an icon representing the found dispellable debuff, or both.

It enables and disables itself automatically based on whether the player can dispel or not and keeps an always updated list of the dispel spells available to the player. It also keeps track of self-dispels like Grimoire: Imp and Cleansed by Flame to highlight only the player frame when only those are known.

How to use (for layout authors)

The element is fully documented and follows the current oUF guidelines for documentation. Please take a look at the code
for details and examples. You could also consult the wiki.

Please consider making oUF_Dispellable optional for your users. The easiest way is to distribute it with your layout as a separate addon and use something like

Code:
if not IsAddOnLoaded('oUF_Dispellable') then return end
before calling its functionality. Users can then opt-out of using it by just uninstalling it without having to edit your code. This way they can also update oUF_Dispellable themselves, without you having to release a new version of your layout just to pick some minor changes.

If you are a layout user and oUF_Dispellable didn't come together with your layout despite the layout supporting it, just install it as a normal addon.

Issues

If you have any problems using oUF_Dispellable, please open an issue at GitHub. Remember to first search if there is an existing issue concerning your problem.

License

Please read the included LICENSE.

oUF_Dispellable
10.0.0 (2023-02-18)
Full Changelog Previous Releases
  • fix: update for Dragonflight
Archived Files (1)
File Name
Version
Size
Author
Date
9.0.1
74kB
Rainrider
04-03-22 07:15 AM


Post A Reply Comment Options
Unread 02-03-18, 08:25 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Thanks, will look into it.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 02-02-18, 08:44 PM  
Rainrider
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 454
File comments: 28
Uploads: 2
Sorry for taking so long to reply. The default aura element in oUF will expose the debuffType to layouts through PostUpdateIcon once we release the next version. You could use the CustomFilter option from the aura element as all returns from UnitAura are passed to it. The new oUF version should come out pretty soon though.
Report comment to moderator  
Reply With Quote
Unread 01-20-18, 12:26 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
I was looking for a replacement of a module that I used for a quite some time to support debuff highlighting. Originally I used it to recolor orbs based on debuff type. They would glow green or purple etc. based on debuff type.

Is it possible to use this feature with this module even if the player unit has no dispell option?

If no could you add an option to make it work without the dispell detection just for the colorization of magic debuffs, curses, diseases and poisons?
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 01-20-18 at 12:28 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: