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