Refactor API functions to enhance parameter aliasing and improve documentation clarity

This commit is contained in:
2025-05-18 14:16:07 +02:00
parent bbb138c938
commit b595bc5573
11 changed files with 111 additions and 99 deletions

View File

@@ -1,10 +1,12 @@
---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param slot 4
---@param 1
---@param 2
---@param 3
---@param 4
---@alias totemSlot
---| 1 - Fire (or Death Knight's ghoul)
---| 2 - Earth
---| 3 - Water
---| 4 - Air
---@param slot totemSlot
---Targets one of the player's totems (or a Death Knight's ghoul). Totem functions are also used for ghouls summoned by a Death Knight's Raise Dead ability (if the ghoul is not made a controllable pet by the Master of Ghouls talent).
function TargetTotem(slot, 1, 2, 3, 4) end
function TargetTotem(slot) end