Thread: Shielding
View Single Post
10-26-13, 09:08 PM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 6,006
Spent the last couple of days looking into this off and on during my vacation time in South Florida in between sunbathing and playing in my friends pool. But I digress.

Anyway, there is a newish event that allows you to monitor any absorbtion values.

UNIT_ABSORB_AMOUNT_CHANGED

Then use the UnitGetTotalAbsorbs("player") to find out how much has been absorbed.

With that knowledge and some attempts at cooldowns and durations for the buff the screenshot attached shows my mini addon working somewhat. It still glitches with cooldown and duration monitoring. And it won't let me set a color for some reason.
Attached Images
File Type: jpg WoWScrnShot_102713_025710.jpg (189.2 KB, 871 views)
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 70 - Resto Druid
Gamaliel - 70 - Disc Priest
Lienae - 70 - Resto Shaman
Velandryn - 70 - Prot Paladin (TR)
+ 5 at 60+
+ 2 at 40+

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818