Files
wow_Meta/api/UnitPowerMax.lua
2025-05-04 15:15:00 +02:00

9 lines
497 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param unitID string
---@param powerType number
---@return number maxValue
---Returns a unit's maximum mana, rage, energy or other power type. Returns the units current maximum power, if the unit does not exist then zero is returned. When querying with a powerType, as long as the unit exists you will get the maximum untalented power even if the class does not use the power type.
function UnitPowerMax(unitID, powerType) end