v0.13.8

GetTotemInfo

functionguessedavailable in: camelot

Returns info for the specified totem.

signaturewowlua
function GetTotemInfo(    slot: number): (boolean?, string?, number?, number?, number?, number?, number?)

Parameters

nametypedescription
slotnumberIndex of the totem (Fire = 1 Earth = 2 Water = 3 Air = 4)

Returns

#nametypedescription
1haveTotemboolean?True if you have the totem reagent in your bag (Earth Totem, Fire Totem, Water Totem, Air Totem).
2totemNamestring?Name of the currently active totem. If there is no active totem for this slot, this value will apparently be an empty string ("") instead of nil.
3startTimenumber?GetTime() value of when the totem started.
4durationnumber?Duration (in seconds) of the currently active totem.
5iconnumber?Path to the icon of the specified totem
6modRatenumber?
7spellIDnumber?

Blizzard's documentation says it may return nothing.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Totem system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.