Returns the time remaining before a totem (or ghoul) automatically disappears.
Using GetTime()
and the third and fourth returns (startTime
and duration
) of GetTotemInfo()
instead of this function is recommended if frequent updates are needed.
Totem functions are also used for ghouls summoned by a Death Knight's Raise Dead ability (if the ghoul is not made a controllable pet by the Master of Ghouls talent).
See also Pet functions, Class resource functions.
Signature:
seconds
=
GetTotemTimeLeft(slot)
Arguments:
slot
- Which totem to query (number
)1
- Fire (or Death Knight's ghoul)2
- Earth3
- Water4
- Air
Returns:
seconds
- Time remaining before the totem/ghoul is automatically destroyed (number
)