✅ Humbaba pwr scales with remaining hp
| Category | Ability |
| Status | Passing |
| Test | tests/test_abilities_passive.py::test_humbaba_pwr_scales_with_remaining_hp |
Humbaba has +1 PWR per 3 remaining HP. At 9 remaining HP, gets +3 PWR.
Preconditions
-
Lane 0: P1's Humbaba (#082) — HP=15, damage=6 (9 remaining HP)
-
Humbaba base PWR: 0
-
Humbaba passive idx=0: +1 PWR per 3 remaining HP
Action
- Query get_effective_pwr(state, humbaba)
result = get_effective_pwr(state, humbaba_on_field)
Expected Postconditions
-
remaining_hp = 15 - 6 = 9
-
bonus = 9 // 3 = 3
-
effective PWR = 0 + 3 = 3
Assertions
assert result == 3, (
f"Expected Humbaba PWR=3 (9 remaining HP // 3), got {result}"
)