Skip to content

Commit

Permalink
Healing Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Walinski committed Oct 1, 2024
1 parent 01f0eb9 commit 8151c6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/engine/ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ def do_strategy(self) -> tuple[int, int]:
max_loss = 0
ninja_coords, adjusted_selection = None, None

# "ninjas.py" condition means Only snow can heal ninjas that are not dead

for ninja in self.ninjas_within_range():
health_loss = ninja.max_hp - ninja.hp

Expand Down

0 comments on commit 8151c6d

Please sign in to comment.