Skip to main content

✅ End main phase no deaths when not fatally wounded

CategoryAbility
StatusPassing
Testtests/test_turn_sequence.py::test_end_main_phase_no_deaths_when_not_fatally_wounded

A demon with damage < HP is NOT fatally wounded and stays on board.

Preconditions

  • P1's Duban (#001): HP=6, damage=3 (not yet fatally wounded).

Action

  • end_main_phase(state, Side.PLAYER_1)

Expected Postconditions

  • Duban still on board.

  • P1 CP = 0.

Assertions

assert len(result.demons) == 1
assert result.players[Side.PLAYER_1].cp == 0