Skip to main content

✅ Passives are permanent not status effects

CategoryRegression
StatusPassing
Testtests/test_abilities_passive.py::test_passives_are_permanent_not_status_effects

Tests interaction between Duban.

Preconditions

  • Lane 0: P1's Duban (#001) — READIED

  • phase_counter advanced (simulating end-of-phase expiry)

Action

  • Increment phase_counter (simulating phase transition)

  • Query get_effective_def(state, duban)

result = get_effective_def(state, duban_on_field)

Expected Postconditions

  • Returns 5 (DEF passive unchanged despite phase transition)

Assertions

assert result == 5, f"Passive should survive phase transition. Got DEF={result}"