Skip to main content

✅ 1x resets each phase

CategoryRegression
StatusPassing
Testtests/test_action_timing.py::test_1x_resets_each_phase

Regression: Confusion #20 — 1x means once per TURN, not once per game.

Preconditions

  • Multiple demons on field, each with abilities_used_this_turn containing entries.

  • P1's Malthus (#061) — abilities_used_this_turn = {"0": 1, "1": 2}

  • P2's Sabnock (#003) — abilities_used_this_turn = {"0": 1}

Action

  • reset_ability_uses(state)

Expected Postconditions

  • All demons on field have abilities_used_this_turn = {}

  • Original state is unchanged (copy-on-write).

  • Abilities are now freely usable again this new turn.

Assertions

for demon in new_state.demons:
assert demon.abilities_used_this_turn == {}