Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API GetShapeshiftFormCooldown

From WoW Classic Wiki

GetShapeshiftFormCooldown(index);

Parameters (index)

Index = integer number, each class has its own index.

Returns (StartTime, Duration, isActive)

StartTime = the server time of when the cooldown starts.

Duration = how long cooldown takes (in seconds)

isActive = if Cooldown is active - this will be = 1 (not positive on this defintion tho).


Example:

Sends the time remaining for the indexed cooldown

/script A,B,C = GetShapeshiftFormCooldown(1); DEFAULT_CHAT_CHANNEL("Time Remaining: "..B-(GetTime()-A),1,1,1);

Template:WoW API