Difference between revisions of "MaxMana"
From Wiki
Line 2: | Line 2: | ||
[[Category: Status]] | [[Category: Status]] | ||
− | + | == 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. | ||
− | + | ||
− | + | {| style="background:honeydew" | |
− | + | |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> | ||
− | + | ||
− | { | + | {{footer}} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 19: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 |