feat(combat): use fly speed for movement

Movement budget is now max(land, fly) speed. Updates the harvie golden: Harvie (land 10 / fly 80) is a flyer and now flies at 80 ft, so he wins vs the goblin instead of being pinned crawling at 10 ft.
This commit is contained in:
2026-09-10 17:46:57 +02:00
parent ec0397351a
commit 79ac190728
4 changed files with 272 additions and 19 deletions
+7 -2
View File
@@ -157,9 +157,14 @@ class TestGoldenCombats:
self._assert_deterministic_goblin("oni")
def test_harvie_vs_goblin(self):
"""Harvie (Animal Companion) vs Goblin - the goblin wins."""
"""Harvie (Animal Companion, flying) vs Goblin - Harvie wins.
Updated (V4): Harvie has speed_land_ft 10 / speed_fly_ft 80; movement now
uses the best of land/fly speed, so Harvie flies at 80 ft and wins (the
previous expectation pinned him crawling at 10 ft).
"""
result, transcript = run_golden("harvie")
assert result.winner == "monsters"
assert result.winner == "players"
assert result.rounds >= 1
self._assert_deterministic_goblin("harvie")