v0.13.8

GetRuneCooldown

functionguessedavailable in: camelot

Returns the Death Knight's cooldown info for the specified rune.

signaturewowlua
function GetRuneCooldown(    runeIndex: number): (number?, number?, boolean?)

Parameters

nametypedescription
runeIndexnumberThe rune index, ranging between 1 and 6.

Returns

#nametypedescription
1startTimenumber?The value of GetTime() when the rune's cooldown began (or 0 if the rune is off cooldown).
2durationnumber?The duration of the rune's cooldown (regardless of whether or not it's on cooldown).
3isRuneReadyboolean?Whether or not the rune is off cooldown. True if ready, false if not.

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) (PlayerScript system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.