Skip to main content

✅ Andrealphus toggle affects enemy local demons too

CategoryAbility
StatusPassing
Testtests/test_abilities_complex.py::TestAndrealphusToggle::test_andrealphus_toggle_affects_enemy_local_demons_too

Enemy demon in same lane as Andrealphus is also toggled.

Preconditions

  • Lane 1: P1's Andrealphus (#080), READIED

  • Lane 1: P2's Duban (#001), READIED (enemy, same lane)

  • End of P2's main phase

Action

  • Fire MAIN_PHASE_END event (side=P2)

Expected Postconditions

  • Enemy Duban (READIED) -> EXHAUSTED ("All Other" includes enemies)

  • Andrealphus: still READIED

Assertions

assert duban_after.state == DemonState.EXHAUSTED, (
"Enemy Duban (READIED) must be EXHAUSTED — toggle affects all other local demons. "
f"Got {duban_after.state}."
)
assert andrealphus_after.state == DemonState.READIED, (
"Andrealphus must stay READIED — self excluded by 'Other'."
)