Drilling counts in the fight it was drilled for
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b5dfb713de
commit
fa43661a33
2 changed files with 6 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue