✅ Execute rejects insufficient ap
| Category | Ability |
| Status | Passing |
| Test | tests/test_abilities_registry.py::test_execute_rejects_insufficient_ap |
Sabnock's Pink Haze costs 1 AP. Owner has 0 AP. Raises ValueError.
Preconditions
-
P1 Main Phase, P1 has 0 AP
-
Lane 0: P1's Sabnock ("003") — READIED
-
ability[0]: Pink Haze, 1 AP
Action
- execute_ability(state, demon, ability_idx=0)
Expected Postconditions
- Raises ValueError: "insufficient AP"