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:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user