✅ Andromalius alchemy removes 3 damage
| Category | Ability |
| Status | Passing |
| Test | tests/test_abilities_actions.py::test_andromalius_alchemy_removes_3_damage |
Any allied demon uses Alchemy to remove 3 damage from a local demon.
Preconditions
-
P1 Main Phase, P1 has 5 AP
-
Lane 0: P1's Andromalius (#030) — READIED (owns Alchemy)
-
Lane 0: P1's Sabnock (#003) — HP=15, 7 damage (ally to heal)
Action
- Execute Andromalius's Alchemy (ability[1], Allied, 0 AP, exhaust) targeting Sabnock
result = execute_ability(state, andromalius_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 3 → 4 remaining damage
-
Andromalius: EXHAUSTED
-
P1 AP: 5 (0 AP cost — unchanged)
Assertions
assert sabnock_after.damage == 4
assert result.players[Side.PLAYER_1].ap == 5