Skip to main content

✅ Glasya labolas blood sacrifice deals fixed damage to ally

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_glasya_labolas_blood_sacrifice_deals_fixed_damage_to_ally

Glasya-Labolas uses Blood Sacrifice to deal 4 Fixed Damage to an ally.

Preconditions

  • P1 Main Phase, P1 has 5 AP

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

  • Lane 0: P1's Sabnock (#003) — HP=15, 0 damage (ally target)

Action

  • Execute Glasya-Labolas's Blood Sacrifice (ability[1], 0 AP, ready, 1x) targeting Sabnock
result = execute_ability(state, glasya_on_field, ability_idx=1, targets=[sabnock_on_field])
sabnock_after = next(d for d in result.demons if d.unit_id == "003")
glasya_after = next(d for d in result.demons if d.unit_id == "032")

Expected Postconditions

  • Sabnock: takes exactly 4 damage (Fixed Damage bypasses DEF)

  • Glasya-Labolas: has status "pwr" +2 (expires this phase)

  • Glasya-Labolas: NOT exhausted (ready_required — does NOT exhaust)

  • P1 AP: 5 (0 AP cost — unchanged)

Assertions

assert sabnock_after.damage == 4
assert pwr_effects[0].value == 2
assert glasya_after.state == DemonState.READIED
assert result.players[Side.PLAYER_1].ap == 5