Skip to main content

✅ Sabnock pink haze with fusion bonus pwr not used

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_sabnock_pink_haze_with_fusion_bonus_pwr_not_used

Pink Haze applies fixed -3 PWR status, not a PWR-scaled debuff.

Preconditions

  • Sabnock fused with Duban (bottom): Sabnock HP=15+0=15, PWR=2+1=3 (fpwr=1)

  • Target: Duban P2 on field

  • Pink Haze is a FIXED -3 PWR debuff, NOT PWR-scaled

Action

  • Execute Pink Haze from fused Sabnock
result = execute_ability(state, sabnock_on_field, ability_idx=0, targets=[duban_on_field])

pwr_effects = [
e for e in result.status_effects
if e.target_instance_id == duban_on_field.instance_id and e.stat == "pwr"
]

Expected Postconditions

  • Duban still gets exactly -3 PWR and -2 DEF (flat, not scaled by Sabnock's PWR)

Assertions

assert pwr_effects[0].value == -3, "Pink Haze is flat -3 PWR, not scaled by Sabnock's PWR"

def_effects = [
e for e in result.status_effects
if e.target_instance_id == duban_on_field.instance_id and e.stat == "def"
]
assert def_effects[0].value == -2, "Pink Haze is flat -2 DEF"