Skip to main content

✅ Gain cp from death fused

CategoryAbility
StatusPassing
Testtests/test_scoring.py::test_gain_cp_from_death_fused

Tests interaction between Duban.

Preconditions

  • P1 owns fused demon: top card "001" (CP=1), bottom card "031" (fCP=1)

  • P1 CP: 0

Action

  • gain_cp_from_death(state, fused_demon)

Expected Postconditions

  • P1 CP: 2 (0 + 1 [top cp] + 1 [bottom fcp] = 2)

Assertions

assert new_state.players[Side.PLAYER_1].cp == 2