GetRuneCooldown
functionguessedavailable in: camelot
Returns the Death Knight's cooldown info for the specified rune.
function GetRuneCooldown( runeIndex: number): (number?, number?, boolean?)Parameters
| name | type | description |
|---|---|---|
runeIndex | number | The rune index, ranging between 1 and 6. |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | startTime | number? | The value of GetTime() when the rune's cooldown began (or 0 if the rune is off cooldown). |
| 2 | duration | number? | The duration of the rune's cooldown (regardless of whether or not it's on cooldown). |
| 3 | isRuneReady | boolean? | 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 ↗.