Skip to main content

✅ Foras shadow step moves foras 1 lane

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_foras_shadow_step_moves_foras_1_lane

Foras's Shadow Step moves Foras 1 lane with no AP cost.

Preconditions

  • P1 Main Phase, P1 has 3 AP

  • Lane 0: P1's Foras (#072) — READIED

Action

  • Execute Foras's Shadow Step (ability idx=1, Quick, 0 AP, 1x) choices={"lane": 1}
result = execute_ability(state, foras_on_field, ability_idx=1, targets=None, choices={"lane": 1})
foras_after = next(d for d in result.demons if d.unit_id == "072")

Expected Postconditions

  • Foras: moved to lane 1

  • P1 AP: 3 (0 AP cost)

Assertions

assert foras_after.lane == 1
assert result.players[Side.PLAYER_1].ap == 3