Skip to main content

✅ Crocell parallel lines moves ally to target lane

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_crocell_parallel_lines_moves_ally_to_target_lane

Crocell's Parallel Lines moves an ally to a target lane.

Preconditions

  • P1 Main Phase, P1 has 5 AP

  • Lane 0: P1's Crocell (#025) — READIED

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

  • choices["lane"] = 1

Action

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

Expected Postconditions

  • Sabnock: now in lane 1

  • Crocell: still in lane 0, still READIED

  • P1 AP: 5 (unchanged)

Assertions

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