WoW API: UnitPower
Returns the power level of the specified unit.
power = UnitPower("unit" [, powerType]);
Arguments
Returns
- power
- Number - the unit's current power level.
Type
If Type is omitted or nil, UnitPower returns the current primary type, e.g., energy for a druid in cat form. You can determine the current power type via UnitPowerType. Values for all power types are available in any form.