Skip to main content

✅ Nyx poisoned night status expires

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_nyx_poisoned_night_status_expires

Poisoned Night DEF status expires at end of main phase.

Preconditions

  • Duban has -2 DEF from Poisoned Night (phase_counter=1)

Action

  • Advance phase_counter, expire status effects
state_after = execute_ability(state, nyx_on_field, ability_idx=0, targets=[duban_on_field])
state_after.phase_counter += 1
state_expired = expire_status_effects(state_after)
active = get_active_effects_on(state_expired, duban_on_field)

Expected Postconditions

  • No active DEF status effects on Duban

Assertions

assert len(active) == 0