The enabled return value allows addons to easily check if the player has used a buff-providing spell (such as Presence of Mind or Nature's Swiftness) without searching through the player's buffs.Returns 0, 0, 1 if the spell 'Starfall' is not on Cooldown Local start, duration, enabled = GetSpellCooldown(name) Įxample of using SpellIDs to retrieve cooldown infoĮxample local start, duration, enabled = GetSpellCooldown(48505) ' seconds for the next one.') ĭEFAULT_CHAT_FRAME:AddMessage('Presence of Mind is ready.') Ĭhecks status of the Presence of Mind cooldown and outputs the appropriate message to the default chat frame.Įxample local name = GetSpellInfo(28370) DEFAULT_CHAT_FRAME:AddMessage('Presence of Mind is cooling down, wait '.