✅ Andrealphus does not trigger at own phase end
| Category | Ability |
| Status | Passing |
| Test | tests/test_abilities_complex.py::TestAndrealphusToggle::test_andrealphus_does_not_trigger_at_own_phase_end |
P1's own main phase ends — Andrealphus does NOT toggle.
Preconditions
-
Lane 0: P1's Andrealphus (#080), READIED
-
Lane 0: P1's ally Duban (#001), READIED
-
End of P1's main phase (MAIN_PHASE_END with side=P1)
Action
- Fire MAIN_PHASE_END event (side=P1)
Expected Postconditions
-
Duban stays READIED (no toggle — P1 is Andrealphus's owner, not opponent)
-
Andrealphus stays READIED
Assertions
assert duban_after.state == DemonState.READIED, (
"Duban must NOT toggle at end of Andrealphus's OWN phase. "
f"Got {duban_after.state}."
)