Skip to main content

✅ Gomita bribe gives ap to opponent

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_gomita_bribe_gives_ap_to_opponent

Gomita plays Bribe — opponent gains 1 AP.

Preconditions

  • P1 Main Phase, P1 has 3 AP, P2 has 2 AP

  • Lane 0: P1's Gomita (#035) — READIED

Action

  • Execute Gomita's Bribe (ability idx=0, 1 AP, 1x)
state_after = execute_ability(state, gomita_on_field, ability_idx=0, targets=None)

Expected Postconditions

  • P2 AP: 3 (gained 1 from Bribe)

  • P1 AP: 2 (spent 1 on Bribe)

  • P1 has_time_token = True

  • P2 has_time_token = False

Assertions

assert state_after.players[Side.PLAYER_2].ap == 3
assert state_after.players[Side.PLAYER_1].ap == 2
assert state_after.players[Side.PLAYER_1].has_time_token == True