19 lines
460 B
Lua
19 lines
460 B
Lua
---@diagnostic disable: missing-return, lowercase-global
|
|
---@meta
|
|
|
|
---@alias resistanceIndex
|
|
---| 1 - Fire
|
|
---| 2 - Nature
|
|
---| 3 - Frost
|
|
---| 4 - Shadow
|
|
---| 5 - Arcane
|
|
|
|
---@param unit string
|
|
---@param resistanceIndex resistanceIndex
|
|
---@return number base
|
|
---@return number resistance
|
|
---@return number positive
|
|
---@return number negative
|
|
---Returns information about the player's or pet's magic resistance
|
|
function UnitResistance(unit, resistanceIndex) end
|