Skip to main content

✅ Nephilim fusion restriction passive registered

CategoryAbility
StatusPassing
Testtests/test_abilities_familiars.py::test_nephilim_fusion_restriction_passive_registered

Nephilim passive[0] is registered and returns the fusion_restricted marker.

Preconditions

  • P1's Nephilim 028_1 on field (lane 0).

Action

  • get_passive_modifiers(state, nephilim, "fusion_restricted")
from engine.abilities import get_passive_modifiers

state = make_game_state()

nephilim = make_familiar_demon("028_1", lane=0, owner=Side.PLAYER_1)
state = place_demon(state, nephilim)
nephilim = state.demons[-1]

marker = get_passive_modifiers(state, nephilim, "fusion_restricted")

Expected Postconditions

  • Returns 1 (marker is active, confirming the passive is registered).

  • This verifies the passive was registered correctly in abilities_familiars.py.

Assertions

assert marker == 1, (
f"Nephilim 028_1 should have fusion_restricted=1 from passive[0]. "
f"Got {marker}. Check register_passive for 028_1."
)