Returns the amount of time left until the player can recover their corpse. Applies to resurrection spells offered by other units, resurrecting by returning to the player's corpse as a ghost, and to resurrecting at a graveyard's spirit healer, if the player has recently died several times in short succession.


See also Player information functions.

Signature:

timeLeft = GetCorpseRecoveryDelay()

Returns:

  • timeLeft - Amount of time remaining before the player can resurrect (in seconds); 0 if the player can resurrect immediately (number)