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: 5,892
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 Thumbnails
Click image for larger version

Name:	WoWScrnShot_102713_025710.jpg
Views:	607
Size:	189.2 KB
ID:	7912  
__________________