v0.13.8

SPELL_UPDATE_COOLDOWN

eventimplementedC_SpellBookavailable in: camelot

Fires when the cooldown of one of the player's spells changes. Blizzard's action buttons and cooldown displays refresh their cooldowns. · description by wowlua

declarationwowlua
declare event SPELL_UPDATE_COOLDOWN(spellID: number?, baseSpellID: number?, category: number?, startRecoveryCategory: number?, itemID: number?)

Payload

#nametypedescription
1spellIDnumber?Can be a base spell or an override spell. A nil value indicates that all cooldowns should be updated, rather than just a specific one.
2baseSpellIDnumber?Will be set to the base spell if the spellID parameter is an override spell.
3categorynumber?If the spellID parameter is set, the cooldown category of the spell. A nil value indicates the spell does not have a cooldown category.
4startRecoveryCategorynumber?If the spellID parameter is set, the cooldown start recovery category of the spell. A nil value indicates the spell does not have a cooldown start recovery category.
5itemIDnumber?If the itemID parameter is set, it's the itemID associated with the cast of the spell.

Blizzard's documentation marks the event as unique.

In wowlua's emulated client

implementedThe emulator fires it on its own, from its casting, death, inventory, levels, login, loot, stats, tradeskill and units models. what the statuses mean

sources

Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (SpellBook system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry. Payload notes: Blizzard's API documentation (Blizzard_APIDocumentationGenerated).