Skip to main content

✅ Sword of wrath call aamon moves aamon

CategoryAbility
StatusPassing
Testtests/test_abilities_familiars.py::test_sword_of_wrath_call_aamon_moves_aamon

Call Aamon moves Aamon to Sword of Wrath's lane.

Preconditions

  • Lane 2: P1's Aamon (096).

  • Lane 0: P1's Sword of Wrath (096_1) — READIED.

  • P1 AP: 2.

Action

  • Execute Call Aamon (ability 2 on 096_1): 0 AP, ready, 1x.
from engine.abilities import execute_ability

state = make_game_state()
state.players[Side.PLAYER_1].ap = 2
state.current_player = Side.PLAYER_1
state.quick_window_open = True

aamon = make_demon("096", lane=2, owner=Side.PLAYER_1)
state = place_demon(state, aamon)
aamon = state.demons[-1]

sword = make_familiar_demon("096_1", lane=0, owner=Side.PLAYER_1)
state = place_demon(state, sword)
sword = state.demons[-1]

new_state = execute_ability(state, sword, 2, targets=[])

aamon_after = next(d for d in new_state.demons if d.unit_id == "096")

Expected Postconditions

  • Aamon lane = 0 (moved to Sword's lane).

Assertions

assert aamon_after.lane == 0, f"Aamon should be in lane 0, got {aamon_after.lane}"