Skip to main content

✅ Humbaba pwr fused uses combined hp

CategoryAbility
StatusPassing
Testtests/test_abilities_passive.py::test_humbaba_pwr_fused_uses_combined_hp

Fused Humbaba (with Duban bottom) uses combined HP for remaining HP

Preconditions

  • Lane 0: P1's fused Humbaba (#082) on top, Duban (#001) bottom

  • Humbaba HP=15, Duban fhp=0 → combined HP=15

  • damage=6 → remaining HP = 9

  • Humbaba base PWR=0, Duban fpwr=1 (fusion bonus)

Action

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

Expected Postconditions

  • base = 0 (Humbaba) + 1 (Duban fpwr) = 1

  • HP bonus = 9 // 3 = 3

  • effective PWR = 1 + 3 = 4

Assertions

assert result == 4, (
f"Expected fused Humbaba PWR=4 (1 base+fpwr + 3 from 9 HP remaining), got {result}"
)