→ WoW API
Returns the maximum amount of mana that the specified unit can have. As of 3.0, this function has been replaced by UnitPowerMax as the preferred method of obtaining maximum unit power.
local maxmana = UnitManaMax("unit");
- String - The UnitId of the unit whose MP should be returned
- Number - the unit's maximal mana points