Skip to main content

✅ Gamigin does not trigger if no fusible demons

CategoryAbility
StatusPassing
Testtests/test_abilities_complex.py::TestGamiginForcedFusion::test_gamigin_does_not_trigger_if_no_fusible_demons

Gamigin dies but opponent has no fusible demons — trigger does nothing.

Preconditions

  • Lane 0: P1's Gamigin (#031) — dying (fatally_wounded=True)

  • P2 has no demons at all (empty board for opponent)

Action

  • fire FATALLY_WOUNDED with target=Gamigin
result = fire_event(state, event)

# Gamigin is still on field (death not resolved by trigger)
gamigin_after = next(
(d for d in result.demons if d.unit_id == "031"), None
)

Expected Postconditions

  • Board unchanged (no fusion performed)

Assertions

assert gamigin_after is not None, "Gamigin should still be on field after trigger."