Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-05-16, 09:28 PM   #27
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Re: One person casting multiple resurrects -- it's literally not possible to cast two spells at the same time, even two instant-cast spells. Once the first one is done casting, it moves in the pending state instead, where it's tracked by the recipient, not the caster.

I'm going to handle objects (totem, brazier, pylon) differently -- casting the summoning spell (eg. by right clicking the item) will register CLEU and listen for SPELL_SUMMON, which will insert the object's GUID into a new table that maps objectGUID=>casterGUID, and then listen for SPELL_RESURRECT events originating from the object (at which point the resurrection will be handled the same as any other), and UNIT_DIED to clear out the object GUID and unregister CLEU if there's nothing else going on.
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Donít message me about addon bugs or programming questions.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Released AddOns » LibResInfo - resurrection info without comms

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off