Returns cooldown information about a spell in the spellbook

See also Spell functions.


start, duration, enable = GetSpellCooldown(index, "bookType") or GetSpellCooldown("name") or GetSpellCooldown(id)


  • index - Index of a spell in the spellbook (number, spellbookID)

  • bookType - Type of spellbook (string)

    • pet - The pet's spellbook
    • spell - The player's spellbook

  • name - Name of a spell (string)

  • id - Numeric ID of a spell (number, spellID)


  • start - The value of GetTime() at the moment the cooldown began, or 0 if the spell is ready (number)
  • duration - The length of the cooldown, or 0 if the spell is ready (number)
  • enable - 1 if a Cooldown UI element should be used to display the cooldown, otherwise 0. (Does not always correlate with whether the spell is ready.) (number)