Skip to main content

✅ Execute rejects 1x already used

CategoryRegression
StatusPassing
Testtests/test_abilities_registry.py::test_execute_rejects_1x_already_used

Valefar already used Stolen Time this turn. Second attempt raises ValueError.

Preconditions

  • P1 Main Phase, P1 has 3 AP

  • Lane 0: P1's Valefar ("007") — READIED

  • abilities_used_this_turn = {"0": 1} (already used once this turn)

  • ability[0]: one_time_use=True

Action

  • execute_ability(state, demon, ability_idx=0) (second attempt)

Expected Postconditions

  • Raises ValueError: "1x ability already used this turn"

  • (Confusion #20: 1x = once per TURN, not per game)