Skip to main content

✅ Humbaba pwr at low hp

CategoryAbility
StatusPassing
Testtests/test_abilities_passive.py::test_humbaba_pwr_at_low_hp

Humbaba with 2 remaining HP gets 0 PWR bonus (2 // 3 == 0).

Preconditions

  • Lane 0: P1's Humbaba (#082) — HP=15, damage=13 (2 remaining HP)

  • Humbaba base PWR: 0

Action

  • Query get_effective_pwr(state, humbaba)
result = get_effective_pwr(state, humbaba_on_field)

Expected Postconditions

  • remaining_hp = 15 - 13 = 2

  • bonus = 2 // 3 = 0

  • effective PWR = 0 (base 0 + bonus 0)

Assertions

assert result == 0, (
f"Expected Humbaba PWR=0 (2 remaining HP → no bonus), got {result}"
)