✅ Status expires at end of phase
| Category | Regression |
| Status | Passing |
| Test | tests/test_status_effects.py::test_status_expires_at_end_of_phase |
Tests interaction between Duban.
Preconditions
-
phase_counter=1
-
Lane 0: P2's Duban (#001)
-
Duban has effect "pwr" -3 (expires_phase=1)
Action
-
Advance phase_counter to 2 (simulating end of main phase)
-
Call expire_status_effects(state)
Expected Postconditions
-
state.status_effects is empty
-
get_stat_modifier returns 0 for "pwr" on Duban
Assertions
assert len(expired_state.status_effects) == 0
assert get_stat_modifier(expired_state, duban, "pwr") == 0