Drilling counts in the fight it was drilled for

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-11-02 19:27:19 +00:00
parent b5dfb713de
commit fa43661a33
2 changed files with 6 additions and 1 deletions

View file

@ -1456,6 +1456,7 @@ class FavourTest(unittest.TestCase):
self.assertEqual(game.defence(world)["parts"]["drilled"], 20.0)
self.assertIsNone(p["action"]) # stops once the militia is fully drilled
game.tick(world, raid["fire_at"], random.Random(1))
self.assertGreaterEqual(raid["report"]["parts"]["drilled"], 20.0) # the drill counts in the fight
self.assertEqual(game.defence(world)["parts"]["drilled"], 0)
def test_seasoned_fighters_drill_a_little_faster(self):