I needed a module to highlight textures if a unit is affected by a dispellable debuff with the option to show the glow even with the unit not being able dispell the debuff itself.
https://imgur.com/a/wUYYx
I revised oUF_DebuffHighlight for that case.
https://github.com/zorker/rothui/blo...fHighlight.lua
It either displays a texture, colors a texture or colors a backdrop.
My implementation for oUF_Simple is to use the health backdrop border as a highlight texture.
https://github.com/zorker/rothui/com...23f7eaa7f5f7cc
What I'm not sure about is this
Lua Code:
local CanDispel = {
PRIEST = { Magic = true, Disease = true, },
SHAMAN = { Magic = true, Curse = true, },
PALADIN = { Magic = true, Poison = true, Disease = true, },
MAGE = { Curse = true, },
DRUID = { Magic = true, Curse = true, Poison = true, },
MONK = { Magic = true, Disease = true, Poison = true, }
}
I bet that has changed.
*edit* That is odd. I thought I posted it in the oUF forum. Wlep!