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.
See also Unit functions.
unit- A unit to query (
name- The name of a unit to query; only valid for
pet, and party/raid members (
powerType- A number identifying the power type (
6- Runic Power
powerToken- The name of a global variable containing the localized name of the power type (
altR- Red component of the color used for displaying this power type (
altG- Green component of the color used for displaying this power type (
altB- Blue component of the color used for displaying this power type (