Skip to main content

✅ Crystal parasite does not buff different lane

CategoryAbility
StatusPassing
Testtests/test_abilities_familiars.py::test_crystal_parasite_does_not_buff_different_lane

Crystal Parasite aura does NOT apply to allies in a different lane.

Preconditions

  • Lane 0: P1's Crystal Parasite (085_1).

  • Lane 1: P1's Duban (001).

Action

  • Fire MAIN_PHASE_START event for P1.
new_state = fire_event(
state,
GameEvent(
event_type=EventType.MAIN_PHASE_START,
source=None,
target=None,
value=None,
side=Side.PLAYER_1,
lane=None,
),
)

duban_after = next(d for d in new_state.demons if d.unit_id == "001")
duban_pwr = get_stat_modifier(new_state, duban_after, "pwr")

Expected Postconditions

  • Duban has 0 PWR status (not buffed — different lane).

Assertions

assert duban_pwr == 0, (
f"Crystal Parasite should NOT buff Duban in a different lane. Got {duban_pwr}"
)