My maxmp: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Efilnikufecin
No edit summary
imported>ZammyWarrior
No edit summary
Line 4: Line 4:
[[Category:Ash Functions |My maxmp()]]
[[Category:Ash Functions |My maxmp()]]
[[Category:Needs Code Samples | My maxmp()]]
[[Category:Needs Code Samples | My maxmp()]]
<pre>if(my_mp() == 0){
restore_mp(mymax_mp());
} </pre>

Revision as of 03:25, 31 August 2007

int my_maxmp()
Returns your highest possible MP level

if(my_mp() == 0){
restore_mp(mymax_mp());
}