Difference between revisions of "MaxStam"

From Wiki
Jump to: navigation, search
Line 18: Line 18:
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|
[[Var_stamina|#Stamina]], [[Var_maxHits|#MaxHits]], [[Var_hits|#Hits]], [[Var_str|#Str]], [[Var_dex|#Dex]], [[Var_mana|#Mana]], [[Var_maxMana|#MaxMana]], [[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 22:40, 15 August 2005

#maxStam

Status System Variables

Description

(Added in 1.41) The #maxStam system variable determines the maximum stamina level of 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 #stamina < #maxStam
  gosub drinkRefresh
...

See Also

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

Main_Page Documentation Status System Variables