Skip to main content

✅ Vine does not spawn for own death

CategoryAbility
StatusPassing
Testtests/test_abilities_complex.py::TestVineCrystalParasite::test_vine_does_not_spawn_for_own_death

Vine itself dies — trigger must NOT fire (Vine excludes itself).

Preconditions

  • Lane 0: P1's Vine (#085) — fatally_wounded=True (Vine is the dying demon)

  • P1's familiar_deck contains "085_1"

Action

  • fire FATALLY_WOUNDED with target=Vine itself
result = fire_event(state, event)

parasites = [d for d in result.demons if d.unit_id == "085_1"]

Expected Postconditions

  • No Crystal Parasite spawned (Vine's passive says "Any Other Demon")

Assertions

assert len(parasites) == 0, (
"Vine must NOT spawn Crystal Parasite when Vine itself dies. "
"Card text says 'Any Other Demon' — excludes self."
)