This commit is contained in:
2024-11-07 23:12:37 +01:00
parent a67a1d8f40
commit f7c91862a0
3089 changed files with 18209 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
---@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