✅ Gain cp from death owner gains
| Category | Regression |
| Status | Passing |
| Test | tests/test_scoring.py::test_gain_cp_from_death_owner_gains |
Tests interaction between Murmur.
Preconditions
-
P1 owns demon "002" (unit CP = 3), unfused, in Lane 0
-
P1 CP: 2
-
P2 CP: 0
Action
- gain_cp_from_death(state, demon) [demon just died]
Expected Postconditions
-
P1 CP: 5 (was 2, gained 3 from demon's CP value)
-
P2 CP: 0 (the killer — P2 — gains NOTHING)
Assertions
assert new_state.players[Side.PLAYER_1].cp == 5
assert new_state.players[Side.PLAYER_2].cp == 0