UnitHasIncomingResurrection

From Wowpedia
Jump to: navigation, search

Checks if the unit is currently being resurrected.

isBeingResurrected = UnitHasIncomingResurrection(unitID or "UnitName")

Arguments

unitID 
String - either the unitID ("player", "target", "party3", etc) or unit's name ("Bob" or "Bob-Llane")

Returns

isBeingResurrected 
Boolean - Returns true if the unit is being resurrected by any means, be it spell, item, or some other method. Returns nil/false otherwise.

Details

  • This returns nil/false if the cast is completed and the unit has not yet accepted the resurrection. It is only true if the cast is in progress and the cast is some method of resurrection.

Patch changes