Afaik there is no such event provided, so what's the standard way of dealing with this? Say I want to print a string to chat when some cooldown completes?
You're in for a world of pain and logical deduction, because when you cast a spell that triggers GCD, *all* spells on GCD will trigger 1.5 second cooldowns, and the wow API has no method to differentiate between a legitimate cooldown versus a cooldown caused by GCD, versus a cooldown caused by being school lock out (Counterspelled/etc).
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Events:
ACTIONBAR_UPDATE_COOLDOWN,
BAG_UPDATE_COOLDOWN,
PET_BAR_UPDATE_COOLDOWN,
SPELL_UPDATE_COOLDOWN
API: Copied from WoWWiki
GetActionCooldown(slot),
GetRuneCooldown(id),
GetCompanionCooldown(TypeID, index),
GetContainerItemCooldown(bagID, slot),
GetCraftCooldown(index),
GetInventoryItemCooldown("unit",invSlot),
GetItemCooldown(itemId or "itemName" or "itemLink"),
GetPetActionCooldown(index),
GetSummonFriendCooldown(?),
GetShapeshiftFormCooldown(index),
GetSpellCooldown(spellName | spellID, "bookType"),
GetTradeSkillCooldown(index)