Skip to main content

✅ Bathin bridge space moves ally to target lane

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_bathin_bridge_space_moves_ally_to_target_lane

Bathin's Bridge Space moves an ally to any lane.

Preconditions

  • P1 Main Phase, P1 has 5 AP

  • Lane 0: P1's Bathin (#010) — READIED

  • Lane 0: P1's Sabnock (#003) — READIED (ally to move)

  • choices["lane"] = 2

Action

  • Execute Bathin's Bridge Space (ability[0], 0 AP, ready, 1x) targeting Sabnock
result = execute_ability(
state, bathin_on_field, ability_idx=0,
targets=[sabnock_on_field], choices={"lane": 2}
)
sabnock_after = next(d for d in result.demons if d.unit_id == "003")

Expected Postconditions

  • Sabnock: now in lane 2 (was lane 0)

  • Bathin: still in lane 0, still READIED

  • P1 AP: 5 (0 AP cost)

Assertions

assert sabnock_after.lane == 2
bathin_after = next(d for d in result.demons if d.unit_id == "010")
assert bathin_after.lane == 0
assert bathin_after.state == DemonState.READIED
assert result.players[Side.PLAYER_1].ap == 5