API UnitMana
Jump to navigation
Jump to search
![]() |
This is no longer a part of the World of Warcraft API.
|
Returns the mana points of the specified unit.
mana = UnitMana(unit)
Arguments
- unit
- string - the UnitId of the unit whose MP should be returned.
Returns
- mana
- number - the unit's current mana points。
Patch changes
Patch 7.2.0 (2017-03-28): Deprecated [1]
Patch 3.0.2 (2008-10-14): Replaced by UnitPower.
Patch 1.1.0 (2004-11-07): Added.