Fix GetSpellCooldown
This commit is contained in:
@@ -1,13 +1,15 @@
|
|||||||
---@diagnostic disable: missing-return, lowercase-global
|
---@diagnostic disable: missing-return, lowercase-global
|
||||||
|
|
||||||
|
---@alias bookType
|
||||||
|
---| 'SPELL'
|
||||||
|
---| 'PET'
|
||||||
|
|
||||||
---@param index number
|
---@param index number
|
||||||
---@param bookType spell
|
---@param bookType bookType
|
||||||
---@param pet
|
|
||||||
---@param spell
|
|
||||||
---@param name string
|
|
||||||
---@param id number
|
|
||||||
---@return number start
|
---@return number start
|
||||||
---@return number duration
|
---@return number duration
|
||||||
---@return number enable
|
---@return number enable
|
||||||
---Returns cooldown information about a spell in the spellbook
|
---Returns cooldown information about a spell in the spellbook
|
||||||
function GetSpellCooldown(index, bookType, pet, spell, name, id) end
|
---@overload fun(name: string)
|
||||||
|
---@overload fun(id: number)
|
||||||
|
function GetSpellCooldown(index, bookType) end
|
Reference in New Issue
Block a user