Files
wow_Meta/api/UnitPowerType.lua
2024-12-16 13:13:08 +01:00

16 lines
664 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param unit string
---@param name string
---@return 6 powerType
---@return 0
---@return 1
---@return 2
---@return 3
---@return 6
---@return string powerToken
---@return number altR
---@return number altG
---@return number altB
---Returns the power type (energy, mana, rage) of the given unit. Does not return color values for common power types (mana, rage, energy, focus, and runic power); the canonical colors for these can be found in the PowerBarColor table. Color values may be included for special power types such as those used by vehicles.
function UnitPowerType(unit, name) end