✅ Thousand year curse does not affect allied demons
| Category | Ability |
| Status | Passing |
| Test | tests/test_abilities_complex.py::TestBifronsThousandYearCurse::test_thousand_year_curse_does_not_affect_allied_demons |
Thousand Year Curse targets "All Enemy Demons" — allies are NOT affected.
Preconditions
-
P1 Main Phase, P1 has 6 AP
-
Lane 0: P1's Bifrons (#005), READIED
-
Lane 0: P1's Murmur (#002) ← P1's ALLY
Action
- Bifrons uses Thousand Year Curse (X=2)
result = execute_ability(state, bifrons_p, ability_idx=0, choices={"x": 2})
murmur_after = next(d for d in result.demons if d.unit_id == "002")
from engine.status_effects import get_active_effects_on
murmur_effects = get_active_effects_on(result, murmur_after)
murmur_def = sum(e.value for e in murmur_effects if e.stat == "def")
Expected Postconditions
- Murmur (P1 ally): NO DEF status applied (enemy-only)
Assertions
assert murmur_def == 0, f"Ally Murmur must not be affected. Got {murmur_def}."