Refactor API functions to standardize parameter aliases and improve documentation clarity

This commit is contained in:
2025-05-18 15:16:22 +02:00
parent b5cba11bd3
commit e0b57e39fc
7 changed files with 34 additions and 60 deletions

View File

@@ -1,13 +1,8 @@
---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param statIndex 5
---@param 1
---@param 2
---@param 3
---@param 4
---@param 5
---@param effectiveStat number
---@return number attackPower
---@param statIndex statIndex
---@param effectiveStat number
---@return number attackPower
---Returns the attack power bonus provided by one of the player's basic statistics
function GetAttackPowerForStat(statIndex, 1, 2, 3, 4, 5, effectiveStat) end
function GetAttackPowerForStat(statIndex, effectiveStat) end