Difference between revisions of "MaxMana"

From Wiki
Jump to: navigation, search
Line 18: Line 18:
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|
[[Var_maxStam|#MaxStamina]], [[Var_maxHits|#MaxHits]], [[Var_hits|#Hits]], [[Var_str|#Str]], [[Var_dex|#Dex]], [[Var_mana|#Mana]], [[Var_stamina|#Stamina]], [[Var_int|#Int]], [[Var_maxStats|#MaxStats]]
+
[[Var_hits|#Hits]], [[Var_maxHits|#MaxHits]], [[Var_stamina|#Stamina]], [[Var_maxStam|#MaxStamina]],[[Var_str|#Str]], [[Var_dex|#Dex]], [[Var_mana|#Mana]], [[Var_maxMana|#MaxMana]], [[Var_int|#Int]], [[Var_maxStats|#MaxStats]]
 
|}
 
|}
 
----
 
----

Revision as of 23:40, 15 August 2005

#maxMana

Status System Variables

Description

(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.

Example

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

See Also

#Hits, #MaxHits, #Stamina, #MaxStamina,#Str, #Dex, #Mana, #MaxMana, #Int, #MaxStats

Main_Page Documentation Status System Variables