linting
This commit is contained in:
parent
18ace5144c
commit
236481ae1c
@ -775,7 +775,7 @@ class FightingEntity(Entity):
|
||||
based on their respective stats.
|
||||
"""
|
||||
damage = 0
|
||||
if amount != 0 :
|
||||
if amount != 0:
|
||||
damage = max(1, amount - self.constitution)
|
||||
self.health -= damage
|
||||
if self.health <= 0:
|
||||
|
Loading…
Reference in New Issue
Block a user