✅ Virgo blooming in rot opponent gains cp
| Category | Ability |
| Status | Passing |
| Test | tests/test_abilities_complex.py::TestVirgo::test_virgo_blooming_in_rot_opponent_gains_cp |
Blooming In Rot: The OPPONENT gains 1 CP (bad for the opponent).
Preconditions
-
P1 Main Phase, P1 has 2 AP, P2 CP = 0
-
Lane 0: P1's Virgo (#075, damage=13), READIED (above threshold)
Action
- Virgo uses Blooming In Rot (0 AP, 1x)
from engine.abilities import execute_ability
result = execute_ability(state, virgo_p, ability_idx=1)
Expected Postconditions
-
P2 CP: 1 (opponent of Virgo's controller gains 1 CP)
-
P1 CP: 0 (Virgo's controller does NOT gain CP)
Assertions
assert result.players[Side.PLAYER_2].cp == 1, (
f"P2 (opponent) must gain 1 CP. Got {result.players[Side.PLAYER_2].cp}."
)
assert result.players[Side.PLAYER_1].cp == 0, (
f"P1 (Virgo's owner) must not gain CP. Got {result.players[Side.PLAYER_1].cp}."
)