WoW API: UnitManaMax

From AddOn Studio
Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API UnitManaMax to API UnitManaMax without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < UnitManaMax

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.[citation needed]


Usage
local 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