Skip to main content

✅ Lucifer reflection ignores fatally wounded target

CategoryAbility
StatusPassing
Testtests/test_abilities_complex.py::TestLuciferDamageReflection::test_lucifer_reflection_ignores_fatally_wounded_target

Only local demon is already fatally_wounded — skip it.

Preconditions

  • Lane 0: P1's Lucifer (#088) — 0 damage

  • Lane 0: P1's Duban (#001) — fatally_wounded=True

Action

  • Fire DAMAGE_RECEIVED for Lucifer, value=4
result = fire_event(state, event)

# Duban was fatally_wounded before reflection — no additional damage
duban_after = next(d for d in result.demons if d.unit_id == "001")

Expected Postconditions

  • Duban is skipped (fatally_wounded) — no reflection fires

Assertions

assert duban_after.damage == duban.damage, (
f"Fatally wounded Duban must not receive reflected damage."
)