Skip to main content

✅ Get stat modifier sums effects

CategoryAbility
StatusPassing
Testtests/test_status_effects.py::test_get_stat_modifier_sums_effects

Duban has two active DEF debuffs — modifier should be their sum.

Preconditions

  • phase_counter=1

  • Lane 0: P2's Duban (#001)

  • Duban has two active effects: "def" -2 and "def" -3 (both expires_phase=1)

Action

  • get_stat_modifier(state, duban, "def")

Expected Postconditions

  • Returns -5 (sum of -2 and -3)

Assertions

assert result == -5