WoW:API HasSoulstone: Difference between revisions
Jump to navigation
Jump to search
m (→Details) |
m (Move page script moved page API HasSoulstone to API HasSoulstone without leaving a redirect) |
(No difference)
|
Latest revision as of 04:46, 15 August 2023
← WoW API < HasSoulstone
Returns whether or not, and how, your character can self-resurrect.
text = HasSoulstone()
Parameters[edit]
Arguments[edit]
- none
Returns[edit]
- text
- string or nil - the type of self-resurrect available to your character (known values are "Use Soulstone", "Reincarnate", and "Twisting Nether") or nil if none are available
Details[edit]
- This function also returns nil if used while your character is alive.
- The return values from this function are (presumably) localized.
- The text returned by this function is used in the default Blizzard UI as part of the popup that appears when your character dies, to determine whether the second button should be shown, and if so, what text should be shown on it.
- The "Twisting Nether" self-resurrection is a proc from the item Darkmoon_Card:_Twisting_Nether.