✅ Operations get effective def passive plus status
| Category | Ability |
| Status | Passing |
| Test | tests/test_abilities_registry.py::test_operations_get_effective_def_passive_plus_status |
Duban has passive +5 DEF. Sabnock's Pink Haze applied -2 DEF status.
Preconditions
-
Passive registered for "001" (Duban): {"def": 5}
-
Duban on field, READIED, 0 damage
-
Active status effect: -2 DEF on Duban (expires this phase)
Action
- operations.get_effective_def(state, duban)
Expected Postconditions
-
Returns 3 (5 passive + (-2 status) = 3)
-
Status expires at end of current main phase, not permanent.
Assertions
assert result == 3