Skip to main content

✅ Seir death equalizer both fatally wounded

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_seir_death_equalizer_both_fatally_wounded

Tests interaction between Seir, Duban.

Preconditions

  • P1 Main Phase, P1 has 5 AP

  • Lane 0: P1's Seir (#034) — 9 HP, 3 damage (6 remaining), READIED

  • Lane 0: P2's Duban (#001) — 6 HP, 0 damage, READIED

  • Seir passive: "When Any Other Demon is Fatally Wounded, remove all damage"

Action

  • Seir performs Death is the Great Equalizer targeting Duban

  • Seir: 3 + 6 = 9 damage >= 9 HP → fatally_wounded = True

  • Duban: 0 + 6 = 6 damage >= 6 HP → fatally_wounded = True

result = execute_ability(state, seir_on_field, ability_idx=1, targets=[duban_on_field])

Expected Postconditions

  • Seir: fatally_wounded = True, removed from board

  • Duban: fatally_wounded = True, removed from board

  • Both will die at end_main_phase

  • Seir's passive does NOT fire — fatally wounded demons cannot resolve

Assertions

assert not any(d.unit_id == "001" for d in result.demons)
assert "001" in result.players[Side.PLAYER_2].graveyard
assert not any(d.unit_id == "034" for d in result.demons)
assert "034" in result.players[Side.PLAYER_1].graveyard