Skip to main content

✅ Virgo cannot act below threshold

CategoryAbility
StatusPassing
Testtests/test_abilities_complex.py::TestVirgo::test_virgo_cannot_act_below_threshold

Regression: Virgo cannot perform actions while damage <= 12.

Preconditions

  • Lane 0: P1's Virgo (#075, HP=24, damage=10), READIED

Action

  • Check can_use_ability for Virgo ability[1] (Blooming In Rot)
from engine.abilities_complex import virgo_can_act

virgo = make_demon("075", lane=0, owner=Side.PLAYER_1, damage=10)
state, placed = _make_state_with_demons(virgo, ap=6)
virgo_p = placed[0]

Expected Postconditions

  • (False, reason) — Virgo blocked from acting (damage <= 12)

Assertions

assert virgo_can_act(state, virgo_p) is False, (
"Virgo with 10 damage (<=12) must not be able to act."
)