✅ Crystal parasite aura applies at phase start
| Category | Ability |
| Status | Passing |
| Test | tests/test_abilities_familiars.py::test_crystal_parasite_aura_applies_at_phase_start |
Crystal Parasite applies +1 PWR and +1 DEF to local allies
Preconditions
-
Lane 0: P1's Crystal Parasite (085_1).
-
Lane 0: 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")
crystal_after = next(d for d in new_state.demons if d.unit_id == "085_1")
duban_pwr = get_stat_modifier(new_state, duban_after, "pwr")
duban_def = get_stat_modifier(new_state, duban_after, "def")
Expected Postconditions
-
Duban has +1 PWR status.
-
Duban has +1 DEF status.
-
Crystal Parasite itself also has +1 PWR and +1 DEF (aura includes self).
Assertions
assert duban_pwr == 1, f"Duban should have +1 PWR from Crystal Parasite aura, got {duban_pwr}"
assert duban_def == 1, f"Duban should have +1 DEF from Crystal Parasite aura, got {duban_def}"