Skip to main content

✅ Stolas field trigger does not fire when stolas exhausts

CategoryAbility
StatusPassing
Testtests/test_abilities_complex.py::TestStolas::test_stolas_field_trigger_does_not_fire_when_stolas_exhausts

The trigger must NOT fire when Stolas itself exhausts — only fires for OTHER demons.

Preconditions

  • Lane 0: P1's Stolas (#022), P1's Murmur (#002, 0 damage)

Action

  • Fire DEMON_EXHAUSTED event with source = Stolas
result = fire_event(state, event)
murmur_after = next(d for d in result.demons if d.unit_id == "002")

Expected Postconditions

  • Murmur: 0 damage (trigger did NOT fire)

Assertions

assert murmur_after.damage == 0, "Stolas exhausting itself must NOT trigger the passive."