diff --git a/api/GetSpellCooldown.lua b/api/GetSpellCooldown.lua index 9faab9e..af52b48 100644 --- a/api/GetSpellCooldown.lua +++ b/api/GetSpellCooldown.lua @@ -1,13 +1,15 @@ ---@diagnostic disable: missing-return, lowercase-global +---@alias bookType +---| 'SPELL' +---| 'PET' + ---@param index number ----@param bookType spell ----@param pet ----@param spell ----@param name string ----@param id number +---@param bookType bookType ---@return number start ---@return number duration ---@return number enable ---Returns cooldown information about a spell in the spellbook -function GetSpellCooldown(index, bookType, pet, spell, name, id) end \ No newline at end of file +---@overload fun(name: string) +---@overload fun(id: number) +function GetSpellCooldown(index, bookType) end \ No newline at end of file