Difference between revisions of "MaxMana"

From Wiki
Jump to: navigation, search
(status note)
Line 2: Line 2:
  
  
{{note|This variable will not work unless the character status bar is open. You can use [[Event_Macro#Gump_Control|Event Macro 8 2]] to open it from your script.}}
+
{{StatusNote}}
  
  

Revision as of 21:30, 20 December 2005

The #maxMana system variable determines the maximum mana pool for the character.


Note: This variable will not work unless the character status bar is open. You can use Event Macro 8 2 to open it from your script.


Example

...
if #mana < #maxMana
  gosub meditate
...

See also

Main Page Documentation