Skip to main content

✅ Variable ap cost x deducted

CategoryAbility
StatusPassing
Testtests/test_abilities_registry.py::test_variable_ap_cost_x_deducted

Bifrons uses Thousand Year Curse (X AP). X=3 is chosen.

Preconditions

  • P1 has 5 AP. Bifrons (#005) READIED.

  • P2 has an enemy demon.

Action

  • execute_ability with choices={"x": 3}

Expected Postconditions

  • P1 AP: 2 (5 - 3)

Assertions

assert result.players[Side.PLAYER_1].ap == 2