WoW:API GetTotemInfo: Difference between revisions

m
Move page script moved page API GetTotemInfo to WoW:API GetTotemInfo without leaving a redirect
No edit summary
m (Move page script moved page API GetTotemInfo to WoW:API GetTotemInfo without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 22: Line 22:
:;haveTotem: returns true if you have the totem reagent in your bag ({{Loot|Common|Earth Totem}}, {{Loot|Common|Fire Totem}}, {{Loot|Common|Water Totem}}, {{Loot|Common|Air Totem}}).
:;haveTotem: returns true if you have the totem reagent in your bag ({{Loot|Common|Earth Totem}}, {{Loot|Common|Fire Totem}}, {{Loot|Common|Water Totem}}, {{Loot|Common|Air Totem}}).


:;totemName: returns the name of the currently active totem.
:;totemName: returns the 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.


:;startTime: returns the GetTime() value of when the totem started.
:;startTime: returns the GetTime() value of when the totem started.
Line 45: Line 45:




Yeah, umm this is my first time making a page, so feel free to fix it up. --xkq
GetTotemTimeLeft(slot): global function returns active time remaining (in seconds) for a totem in a given slot.
Anonymous user