Code format

This commit is contained in:
2025-05-04 14:32:03 +02:00
parent c0337ef97f
commit 93b45ac12e
3012 changed files with 8372 additions and 9301 deletions

View File

@@ -1,17 +1,17 @@
---@diagnostic disable: missing-return, lowercase-global
---@param index number
---@param bookType spell
---@param pet
---@param spell
---@param name string
---@param id number
---@return string name
---@return string rank
---@return string icon
---@return number castingTime
---@return number minRange
---@return number maxRange
---@return number spellID
---@param index number
---@param bookType spell
---@param pet
---@param spell
---@param name string
---@param id number
---@return string name
---@return string rank
---@return string icon
---@return number castingTime
---@return number minRange
---@return number maxRange
---@return number spellID
---Returns information about a spell. As of 4.1, this function should always return valid data for a spell if the spell is in the player's spellbook (by name or index) or if requested by spell id. When in doubt, if the player does not have the spell in their spellbook, use the numeric id to access its information.
function GetSpellInfo(index, bookType, pet, spell, name, id) end
function GetSpellInfo(index, bookType, pet, spell, name, id) end