Difference between revisions of "MaxMana"

From Wiki
Jump to: navigation, search
m
Line 5: Line 5:
 
|}
 
|}
  
{| style="background:honeydew"
+
{{statusbar_info}}
|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 ==
 
== Example ==

Revision as of 22:50, 25 August 2005

The #maxMana system variable determines the maximum mana pool for the character.
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