Skip to main content

✅ Azazel serve status expires end of phase

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_azazel_serve_status_expires_end_of_phase

Serve +2 PWR status expires at end of main phase.

Preconditions

  • Sabnock has +2 PWR status from Serve (phase_counter=1)

Action

  • Advance phase_counter to 2, call expire_status_effects()
state_after = execute_ability(state, azazel_on_field, ability_idx=1, targets=[sabnock_on_field])
active_before = get_active_effects_on(state_after, sabnock_on_field)

Expected Postconditions

  • Sabnock: no active pwr status effects

Assertions

assert len(active_before) == 1
state_after.phase_counter += 1
state_expired = expire_status_effects(state_after)
active_after = get_active_effects_on(state_expired, sabnock_on_field)
assert len(active_after) == 0