API GetSpellLossOfControlCooldown

Returns information about a loss-of-control cooldown affecting a spell. start, duration = GetSpellLossOfControlCooldown(spellSlot[, "bookType"] or "spellName" or spellID)

Arguments
or or
 * spellSlot : Number - spell book slot index, ascending from 1.
 * bookType : String - spell book type token, e.g. "spell" from player's spell book.
 * spellName : String - name of a spell in the player's spell book.
 * spellID : Number - spell ID of a spell accessible to the player.

Returns

 * start : Number - time at which the loss-of-control cooldown began, per.
 * 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