Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API UnitHasIncomingResurrection

From Wowpedia
Jump to: navigation, search

Checks if the unit is currently being resurrected.

isBeingResurrected = UnitHasIncomingResurrection(unitID or "Unit Name")

Arguments

unitID or "unit Name" 
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