Skip to main content

✅ Erinyes sister mirror discount

CategoryAbility
StatusPassing
Testtests/test_abilities_familiars.py::test_erinyes_sister_mirror_discount

Alecto acts; Megaera gets -2 AP Cost discount.

Preconditions

  • Lane 0: P1's Alecto (026_1) — READIED.

  • Lane 0: P1's Megaera (026_2) — READIED.

Action

  • Fire ABILITY_USED event with source=Alecto.
new_state = fire_event(
state,
GameEvent(
event_type=EventType.ABILITY_USED,
source=alecto,
target=None,
value=0,
side=Side.PLAYER_1,
lane=0,
),
)

megaera_after = next(d for d in new_state.demons if d.unit_id == "026_2")
ap_mod = get_stat_modifier(new_state, megaera_after, "ap_cost")

Expected Postconditions

  • Megaera has a -2 ap_cost status effect.

  • Alecto has NO additional ap_cost status (she acted, not received).

Assertions

assert ap_mod == -2, f"Megaera should have -2 ap_cost status, got {ap_mod}"