Skip to main content

✅ Exhausted cannot act

CategoryRegression
StatusPassing
Testtests/test_action_timing.py::test_exhausted_cannot_act

Regression: Confusion #4 — Exhausted demons cannot perform ANY actions.

Preconditions

  • P1 Main Phase, P1 has 3 AP

  • Lane 0: P1's Sabnock (#003) — EXHAUSTED, has Quick ability (index 0) costing 1 AP

  • ability: Pink Haze — 1 AP, tap_required (exhaust cost)

Action

  • can_perform_action(state, sabnock, 0)

Expected Postconditions

  • Returns (False, "demon is exhausted")

  • No exceptions raised. No AP consumed.

Assertions

assert result is False
assert "exhausted" in reason.lower()