View Single Post
02-10-18, 05:42 AM   #1
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
oUF_DebuffHighlight

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:
  1. local CanDispel = {
  2.   PRIEST = { Magic = true, Disease = true, },
  3.   SHAMAN = { Magic = true, Curse = true, },
  4.   PALADIN = { Magic = true, Poison = true, Disease = true, },
  5.   MAGE = { Curse = true, },
  6.   DRUID = { Magic = true, Curse = true, Poison = true, },
  7.   MONK = { Magic = true, Disease = true, Poison = true, }
  8. }

I bet that has changed.

*edit* That is odd. I thought I posted it in the oUF forum. Wlep!
__________________
| 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 : 02-10-18 at 10:16 AM.
  Reply With Quote