diff --git a/triple-dungeon/mobs.py b/triple-dungeon/mobs.py index 1ef381e..064d3d7 100644 --- a/triple-dungeon/mobs.py +++ b/triple-dungeon/mobs.py @@ -169,6 +169,8 @@ class Player(Mob): def heal(self): self.health+=Config.HEAL_AMOUNT + if self.health > self.max_health: + self.health = self.max_health def harden(self): self.armor+=Config.ARMOR_AMOUNT