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,11 +1,11 @@
---@diagnostic disable: missing-return, lowercase-global
---@param index number
---@param bookType spell
---@param pet
---@param spell
---@param name string
---@return 1nil isUsable
---@return 1nil notEnoughMana
---@param index number
---@param bookType spell
---@param pet
---@param spell
---@param name string
---@return 1nil isUsable
---@return 1nil notEnoughMana
---Returns whether or not a given spell is usable or cannot be used due to lack of mana. Does not account for spell cooldowns (see GetSpellCooldown() -- returns 1 if other conditions allow for casting the spell (e.g. if the spell can only be cast while outdoors).
function IsUsableSpell(index, bookType, pet, spell, name) end
function IsUsableSpell(index, bookType, pet, spell, name) end