Skip to main content

✅ Satan splash zero when x le 2

CategoryAbility
StatusPassing
Testtests/test_abilities_complex.py::TestSatanFieldPassive::test_satan_splash_zero_when_x_le_2

When X=2 (Satan takes 2 damage), X-2=0 — no splash damage occurs.

Preconditions

  • Lane 0: P1's Satan, P1's Murmur (0 damage)

Action

  • Fire DAMAGE_RECEIVED with value=2 (X=2)
result = fire_event(state, event)
murmur_after = next(d for d in result.demons if d.unit_id == "002")

Expected Postconditions

  • Murmur: 0 damage (splash is max(0, 2-2)=0)

Assertions

assert murmur_after.damage == 0, f"max(0, 2-2)=0 splash. Got {murmur_after.damage}."