Lore archive · Warcraft Wiki, 2023 dump
API GetSpellLossOfControlCooldown
Last wiki revision 2022-08-01
Returns information about a loss-of-control cooldown affecting a spell. start, duration = GetSpellLossOfControlCooldown(spellSlot[, bookType] or spellName or spellID)
or or
- spellSlot: - spell book slot index, ascending from 1.
- bookType: - spell book type token, e.g. "spell" from player's spell book.
- spellName: - name of a spell in the player's spell book.
- spellID: - spell ID of a spell accessible to the player.
- start: - time at which the loss-of-control cooldown began, per.
- duration: - duration of the loss-of-control cooldown in seconds; 0 if the spell is not currently affected by a loss-of-control cooldown.
- If the spell is not affected by a loss-of-control cooldown, this function returns
Source
https://warcraft.wiki.gg/wiki/API_GetSpellLossOfControlCooldown · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.