Difference between revisions of "MaxMana"

From Wiki
Jump to: navigation, search
Line 2: Line 2:
 
[[Category: Status]]
 
[[Category: Status]]
  
== Description ==
+
{|
{{ro}}
+
| width=100 | {{ro}} || The #maxMana system variable determines the maximum mana pool for the character.
 
+
|}
(Added in 1.41) The #maxMana system variable determines the maximum mana pool for the character.
+
 
+
  
 
{| style="background:honeydew"
 
{| style="background:honeydew"
Line 12: Line 10:
 
|}
 
|}
  
=== Example ===
+
== Example ==
 
<pre>
 
<pre>
 
...
 
...

Revision as of 19:31, 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