View Single Post
08-20-12, 08:21 PM   #12
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
I tested UnitHasIncomingResurrection() and INCOMING_RESURRECT_CHANGED, and updated both on http://www.wowprogramming.com since they were undocumented. The good news about the event is it is guaranteed to return a target.

Unfortunately, neither returns a caster, and thus we are still limited to the player-only UNIT_SPELLCAST_SENT

To overcome a long-standing bug in SmartRes2 where if a resser stops their cast, the target becomes non-ressable for a few seconds, I added the complete boolean to LibResComm's _ResEnd callback. This is a non-breaking change. complete is true if the cast successfully finishes, otherwise it is false.

WowAce has the latest MoP alphas, which need testing. I got a few victims to fall to their doom in Stormwind, but that may not be enough. The change log for SmartRes2 r207 is extensive.

http://www.wowace.com/addons/librescomm-1-0/files/
http://www.wowace.com/addons/smartres2/files/