Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns information about a loss-of-control cooldown affecting a spell.
start, duration = GetSpellLossOfControlCooldown(spellSlot[, bookType] or spellName or spellID)
Arguments[]
- spellSlot
- number - spell book slot index, ascending from 1.
- bookType
- string - spell book type token, e.g. "spell" from player's spell book.
or
- spellName
- string - name of a spell in the player's spell book.
or
- spellID
- number - spell ID of a spell accessible to the player.
Returns[]
- start
- number - time at which the loss-of-control cooldown began, per GetTime.
- duration
- number - duration of the loss-of-control cooldown in seconds; 0 if the spell is not currently affected by a loss-of-control cooldown.
Details[]
- If the spell is not affected by a loss-of-control cooldown, this function returns
0, 0
Patch changes[]
Patch 5.2.0 (2013-03-05): Added.