diff --git a/squirrelbattle/interfaces.py b/squirrelbattle/interfaces.py index c71d7c8..ea59a04 100644 --- a/squirrelbattle/interfaces.py +++ b/squirrelbattle/interfaces.py @@ -774,6 +774,7 @@ class FightingEntity(Entity): The entity takes damage from the attacker based on their respective stats. """ + damage = 0 if amount != 0 : damage = max(1, amount - self.constitution) self.health -= damage