Skip to main content

✅ Quick available when window open

CategoryAbility
StatusPassing
Testtests/test_response_windows.py::TestQuickResponseWindow::test_quick_available_when_window_open

Quick window is open during opponent's main phase.

Preconditions

  • P1 Main Phase (current_player=P1)

  • quick_window_open = True

  • Lane 0: P2's Sabnock (#003) — READIED

Action

See code below.

sabnock = make_demon("003", lane=0, owner=Side.PLAYER_2)
state = _make_state(sabnock)
state.quick_window_open = True

actions = get_response_actions(state, Side.PLAYER_2, AbilityTiming.QUICK)
non_pass = [a for a in actions if a[0] != "pass"]

Expected Postconditions

  • get_response_actions returns Sabnock's Pink Haze for P2

Assertions

assert len(non_pass) > 0, (
"Sabnock should have Quick actions available when window is open"
)