Skip to main content

✅ Buer anatomical reconstruction removes 2x pwr damage

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_buer_anatomical_reconstruction_removes_2x_pwr_damage

Buer uses Anatomical Reconstruction to heal 2×PWR damage.

Preconditions

  • P1 Main Phase, P1 has 5 AP

  • Lane 0: P1's Buer (#014) — HP=12, PWR=3, READIED

  • Lane 1: P1's Sabnock (#003) — HP=15, 10 damage (ally to heal)

Action

  • Execute Buer's Anatomical Reconstruction (ability[1], 2 AP, exhaust) targeting Sabnock
result = execute_ability(state, buer_on_field, ability_idx=1, targets=[sabnock_on_field])
sabnock_after = next(d for d in result.demons if d.unit_id == "003")

Expected Postconditions

  • Sabnock: damage reduced by 2×3=6 → 4 remaining damage

  • Buer: EXHAUSTED

  • P1 AP: 3 (was 5, spent 2)

Assertions

assert sabnock_after.damage == 4
assert result.players[Side.PLAYER_1].ap == 3