API UnitMana

From Warcraft Wiki
Jump to navigation Jump to search

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