My mp: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>ZammyWarrior
No edit summary
imported>Efilnikufecin
Only returns current mp level
Line 1: Line 1:
'''int my_mp()'''<br/>
'''int my_mp()'''<br/>
Returns your current and highest available HP and MP levels
Returns your current MP level
[[Category:Your Character | My mp()]]
[[Category:Your Character | My mp()]]
[[Category:Ash Functions |My mp()]]
[[Category:Ash Functions |My mp()]]

Revision as of 11:04, 31 December 2007

int my_mp()
Returns your current MP level

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