WoW:API UnitManaMax: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(upgraded deprecated template)
Line 1: Line 1:
{{wowapi}}
  <center>'''UnitManaMax''' ''-Documentation by [[User:DerGhulbus|DerGhulbus]]-''</center>
  <center>'''UnitManaMax''' ''-Documentation by [[User:DerGhulbus|DerGhulbus]]-''</center>


Line 17: Line 18:


:;maxmana : Number - the unit's maximal mana points
:;maxmana : Number - the unit's maximal mana points
----
{{WoW API}}

Revision as of 17:29, 6 January 2007

WoW API < UnitManaMax

UnitManaMax -Documentation by DerGhulbus-

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


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