Returns a unit's current level of mana, rage, energy or other power type. Returns zero for non-existent units.
See also Unit functions.
Signature:
power
=
UnitPower("unitID"
[,
powerType])
Arguments:
unitID
- A unit to query (string
, unitID)powerType
- A specific power type to query (number
, powerType)
Returns:
power
- The unit's current level of mana, rage, energy, runic power, or other power type (number
)