Skip to main content

✅ Glasya labolas blood sacrifice on self pwr calculation

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_glasya_labolas_blood_sacrifice_on_self_pwr_calculation

Glasya-Labolas's passive PWR scales with own damage; Blood Sacrifice on self.

Preconditions

  • Lane 0: P1's Glasya-Labolas (#032) — 9 HP, 0 damage, READIED

  • Base PWR: 3; Passive: +1 PWR per 2 damage on self

Action

  • Glasya-Labolas uses Blood Sacrifice targeting itself

  • 4 Fixed Damage to self → damage=4

  • +2 PWR status on self

Expected Postconditions

  • Glasya-Labolas: damage=4, has +2 PWR status

  • Effective PWR: 3 (base) + 2 (damage/2=2) + 2 (status) = 7

Assertions

assert glasya_after.damage == 4
assert effects.get("pwr") == 2
effective_pwr = get_effective_pwr(state_after, glasya_after)
assert effective_pwr == 7