API UnitManaMax

From Warcraft Wiki
Jump to navigation Jump to search

Returns the maximum amount of mana that the specified unit can have.

maxmana = UnitManaMax(unit)

Arguments

unit
string - the UnitId of the unit whose MP should be returned.

Returns

maxmana
number - the unit's maximal mana points.

Patch changes