Skip to main content

✅ Clear registries removes passives

CategoryAbility
StatusPassing
Testtests/test_abilities_registry.py::test_clear_registries_removes_passives

Register a passive for Duban, then clear_registries.

Preconditions

  • Passive registered for "001": {"def": 5}

Action

  • clear_registries()

  • get_passive_modifiers(state, duban, "def")

Expected Postconditions

  • Returns 0 (no passives active after clear).

Assertions

assert result == 0