Apr-24-2019, 08:52 PM
Hi, welcome to the forum, your player has a spell hack that causes the players mp to always be the players max mp
Note i also noticed
getMP(self)
is returning self.max_mp
Note i also noticed
self.msx_hp
max spelt wrong but it is spelt wrong in all places used so doesn't cause any problems but may do for you later.class Person: def __init__(self,hp, mp, atk, df, magic): self.msx_hp = hp self.hp = hp self.max_mp = mp self.mp = mp .... .... def getHP(self): return self.hp def getMaxHP(self): return self.msx_hp def getMP(self): return self.max_mp def getMaxMP(self): return self.max_mp .... ....