19 lines
452 B
Lua
19 lines
452 B
Lua
---@diagnostic disable: missing-return, lowercase-global
|
|
---@meta
|
|
|
|
---@alias statIndex
|
|
---| 1 - Strength
|
|
---| 2 - Agility
|
|
---| 3 - Stamina
|
|
---| 4 - Intellect
|
|
---| 5 - Spirit
|
|
|
|
---@param unit string
|
|
---@param statIndex statIndex
|
|
---@return number stat
|
|
---@return number effectiveStat
|
|
---@return number posBuff
|
|
---@return number negBuff
|
|
---Returns information about a basic character statistic for the player or pet
|
|
function UnitStat(unit, statIndex) end
|