✅ Beleth endless war gains cp and grants ally discount
| Category | Regression |
| Status | Passing |
| Test | tests/test_abilities_complex.py::TestBeleth::test_beleth_endless_war_gains_cp_and_grants_ally_discount |
Regression: Confusion #11 — Beleth's Endless War "Gain X CP" also goes to BELETH'S OWNER (penalty, not reward).
Preconditions
-
P1 Main Phase, P1 has 6 AP, P1 CP = 0
-
Lane 0: P1's Beleth (#110), READIED
-
Lane 0: P1's Murmur (#002), READIED (ally target)
-
X = 2
Action
-
Beleth uses Endless War (X=2 AP, 1x)
-
Gain 2 CP. Ally Murmur gets -2×2=-4 AP cost status.
result = execute_ability(
state, beleth_p, ability_idx=2,
targets=[murmur_p],
choices={"x": 2}
)
Expected Postconditions
-
P1 CP: 2 (was 0, gained 2 — BAD for P1)
-
Murmur: -4 AP cost status (expires end of phase)
Assertions
assert result.players[Side.PLAYER_1].cp == 2, (
f"P1 must gain 2 CP (bad for P1). Got {result.players[Side.PLAYER_1].cp}."
)