Skip to main content

✅ Passive ignores other stat

CategoryAbility
StatusPassing
Testtests/test_abilities_registry.py::test_passive_ignores_other_stat

Passive for Duban grants {"def": 5}. Querying "pwr" returns 0.

Preconditions

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

  • Duban on field, not fused

Action

  • get_passive_modifiers(state, duban, "pwr")

Expected Postconditions

  • Returns 0 (the passive only affects DEF, not PWR).

Assertions

assert result == 0