Skip to main content

✅ Aamon does not deploy sword if unavailable

CategoryAbility
StatusPassing
Testtests/test_abilities_complex.py::TestAamonDeployTrigger::test_aamon_does_not_deploy_sword_if_unavailable

Aamon deploys but Sword of Wrath is not in familiar_deck (already in play).

Preconditions

  • Lane 0: P1's Aamon (#096) just deployed

  • P1's familiar_deck does NOT contain "096_1"

Action

  • fire DEMON_DEPLOYED with source=Aamon
result = fire_event(state, event)

sword = [d for d in result.demons if d.unit_id == "096_1"]

Expected Postconditions

  • No Sword of Wrath deployed

Assertions

assert len(sword) == 0, (
"Sword of Wrath must NOT deploy if not available in familiar_deck. "
"(Cannot summon if all copies in play.)"
)