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.
|