✅ Beleth scorched earth gains cp and deals damage
| Category | Regression |
| Status | Passing |
| Test | tests/test_abilities_complex.py::TestBeleth::test_beleth_scorched_earth_gains_cp_and_deals_damage |
Regression: Confusion #11 — Beleth's "Gain X CP" gives CP to BELETH'S OWNER (P1 suffers the cost).
Preconditions
-
P1 Main Phase, P1 has 6 AP, P1 CP = 2
-
Lane 0: P1's Beleth (#110, HP=9, PWR=2), READIED
-
Lane 0: P2's Duban (#001, HP=6, 0 damage), READIED
-
Lane 0: P2's Murmur (#002, HP=9, 0 damage), READIED
-
X = 3
Action
-
Beleth uses Scorched Earth (X=3 AP, ready, 1x)
-
Gain 3 CP. Deal PWR damage to up to 2X=6 targets.
result = execute_ability(
state, beleth_p, ability_idx=1,
targets=[duban_p, murmur_p],
choices={"x": 3}
)
Expected Postconditions
-
P1 CP: 5 (was 2, gained 3 — P1 SUFFERS this)
-
Duban: takes damage (PWR=2, reduced by DEF)
-
P2 CP: unchanged
Assertions
assert result.players[Side.PLAYER_1].cp == 5, "P1 gains 3 CP (bad for P1)"
assert result.players[Side.PLAYER_2].cp == 0, "P2 gains nothing"