C_Spell. GetSpellLossOfControlCooldownInfo
functionguessedavailable in: camelot
Returns nil if spell is not found
function C_Spell.GetSpellLossOfControlCooldownInfo( spellIdentifier: SpellIdentifier): SpellLossOfControlInfo?Parameters
| name | type |
|---|---|
spellIdentifier | SpellIdentifier |
Returns
lossOfControlInfo · SpellLossOfControlInfo?
| field | type | description |
|---|---|---|
startTime | number | If cooldown is active, time started; 0 if no cooldown |
duration | number | Cooldown duration in seconds if active; 0 if cooldown is inactive |
modRate | number | Rate at which cooldown UI should update |
isActive | boolean | False if cooldown is not active (startTime or duration are 0); True otherwise |
shouldReplaceNormalCooldown | boolean | True if this cooldown should be displayed in-place of the normal action cooldown (ex: the LoC cooldown expires later than the normal cooldown); False otherwise |
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) (Spell system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.