Skip to main content

✅ Seir death equalizer deals 6 fixed damage to performer and target

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_seir_death_equalizer_deals_6_fixed_damage_to_performer_and_target

Seir uses Death Is the Great Equalizer — 6 Fixed Damage to performer and target.

Preconditions

  • P1 Main Phase, P1 has 5 AP

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

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

  • No DEF on either

Action

  • Execute Seir's Death Is the Great Equalizer (ability[1], Universal, 2 AP, exhaust)
result = execute_ability(state, seir_on_field, ability_idx=1, targets=[duban_on_field])

Expected Postconditions

  • Duban: takes 6 Fixed Damage → fatally wounded (6 >= 6 HP) → removed from board

  • Seir: took 6 Fixed Damage, passive heals (Duban fatally wounded triggers it) → damage=0

  • Seir: EXHAUSTED

  • P1 AP: 3 (was 5, spent 2)

  • P2 CP: +Duban's CP value (CP goes to OWNER of dying demon)

Assertions

assert not any(d.unit_id == "001" for d in result.demons)
assert "001" in result.players[Side.PLAYER_2].graveyard
seir_after = next(d for d in result.demons if d.unit_id == "034")
assert seir_after.damage == 0
assert seir_after.state == DemonState.EXHAUSTED
assert result.players[Side.PLAYER_1].ap == 3