Difference between revisions of "MaxStam"

From Wiki
Jump to: navigation, search
m (See Also)
m (See Also)
Line 18: Line 18:
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|
| Width=200px | [[Var_hits|#hits]] || Width=200px | [[Var_maxHits|#maxHits]] || Width=200px | [[Var_stamina|#stamina]] || Width=200px | [[Var_str|#str]] || Width=200px | [[Var_dex|#dex]] || Width=200px | [[Var_mana|#mana]] || Width=200px | [[Var_maxMana|#maxMana]] || Width=200px | [[Var_int|#int]] || Width=200px | [[Var_maxStats|#maxStats]]
+
| 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_mana|#mana]] || Width=200px | [[Var_maxMana|#maxMana]] || Width=200px | [[Var_maxStats|#maxStats]]
 
|}
 
|}
 
----
 
----

Revision as of 15:50, 16 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

#str #dex #int #hits #maxHits #stamina #mana #maxMana #maxStats

Main_Page Documentation Status System Variables