v0.13.8

GetSpellBaseCooldown

functionguessedavailable in: camelot

Gives the (unmodified) cooldown and global cooldown of an ability in milliseconds.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
spellidnumberThe spellid of your ability.

Returns

#nametypedescription
1cooldownMSnumberMillisecond duration of the spell's cooldown (if any other than the global cooldown)
2gcdMSnumberMillisecond duration of the spell's global cooldown (if any)

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

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.