Skip to main content

✅ Leraje no counter if insufficient ap

CategoryInteraction
StatusPassing
Testtests/test_abilities_complex.py::TestLerajeCounterAttack::test_leraje_no_counter_if_insufficient_ap

Leraje counter-attack costs 1 AP but P1 has 0 AP — no counter.

Preconditions

  • P1 has 0 AP

  • Lane 0: P1's Leraje (#091) — READIED

  • Lane 2: P2's Duban (#001) — 0 damage

Action

  • Fire DAMAGE_RECEIVED targeting Duban (lane 2), value=2, source=other demon

Expected Postconditions

  • No counter-attack (cannot afford 1 AP cost)

Assertions

assert duban_after.damage == 0, (
f"Leraje must not counter-attack with 0 AP (cost is 1). Got {duban_after.damage}."
)