Difference between revisions of "MaxMana"

From Wiki
Jump to: navigation, search
Line 2: Line 2:
 
[[Category: Status]]
 
[[Category: Status]]
  
=== Description ===
+
== Description ==
 
{{ro}}
 
{{ro}}
  
 
(Added in 1.41) 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.
  
'''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.
+
{| style="background:honeydew"
==== Example ====
+
|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 ===
 
<pre>
 
<pre>
 
...
 
...
Line 16: Line 19:
 
...
 
...
 
</pre>
 
</pre>
==== See Also ====
+
 
{|
+
{{footer}}
| Width=200px | [[Var_str|#str]] || Width=200px | [[Var_dex|#dex]] || Width=200px | [[Var_int|#int]] || Width=200px | [[Var_hits|#hits]] || Width=200px | [[Var_maxHits|#maxHits]] || Width=200px | [[Var_stamina|#stamina]] || Width=200px | [[Var_maxStam|#maxStam]] || Width=200px | [[Var_mana|#mana]] || Width=200px | [[Var_maxStats|#maxStats]]
+
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Status|Status System Variables]]
+
|}
+

Revision as of 20:06, 25 August 2005


Description

(Added in 1.41) 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