Enhance blood stain mechanics: add dynamic blood surface generation and integrate blood stains into game rendering
This commit is contained in:
@@ -71,14 +71,12 @@ class Timer(Bomb):
|
||||
for victim in self.game.unit_positions.get((x, y), []):
|
||||
if victim.id in self.game.units:
|
||||
if victim.partial_move >= 0.5:
|
||||
print(f"Victim {victim.id} at {x}, {y} dies")
|
||||
victim.die(score=score)
|
||||
if score < 160:
|
||||
score *= 2
|
||||
for victim in self.game.unit_positions_before.get((x, y), []):
|
||||
if victim.id in self.game.units:
|
||||
if victim.partial_move < 0.5:
|
||||
print(f"Victim {victim.id} at {x}, {y} dies")
|
||||
victim.die(score=score)
|
||||
if score < 160:
|
||||
score *= 2
|
||||
|
||||
Reference in New Issue
Block a user