My mp

From Kolmafia
Revision as of 11:04, 31 December 2007 by imported>Efilnikufecin (Only returns current mp level)
Jump to navigation Jump to search

int my_mp()
Returns your current MP level

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