Skip to main content

✅ Gremory misdirection moves other ally one lane

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_gremory_misdirection_moves_other_ally_one_lane

Gremory's Misdirection moves another ally one lane.

Preconditions

  • P1 Main Phase, P1 has 5 AP

  • Lane 0: P1's Gremory (#027) — READIED

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

Action

  • Execute Gremory's Misdirection (ability[0], Quick, 0 AP, ready, 1x) targeting Sabnock
result = execute_ability(
state, gremory_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 (moved 1 lane)

  • Gremory: still in lane 0, still READIED

  • P1 AP: 5 (unchanged)

Assertions

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