✅ Balam dust to dust hits all other local demons including allies
| Category | Regression |
| Status | Passing |
| Test | tests/test_abilities_actions.py::test_balam_dust_to_dust_hits_all_other_local_demons_including_allies |
Balam uses Dust to Dust — PWR damage to all other demons in same lane.
Preconditions
-
P1 Main Phase, P1 has 5 AP
-
Lane 0: P1's Balam (#040) — HP=12, PWR=2, READIED
-
Lane 0: P1's Sabnock (#003) — HP=15, 0 damage (LOCAL ALLY — will be hit)
-
Lane 0: P2's Stolas (#022) — HP=15, 0 damage (LOCAL ENEMY — will be hit)
-
Lane 1: P2's Morax (#006) — HP=12, 0 damage (DISTANT — will NOT be hit)
Action
- Execute Balam's Dust to Dust (ability[1], 2 AP, exhaust)
result = execute_ability(state, balam_on_field, ability_idx=1, targets=None)
Expected Postconditions
-
Sabnock (local ally): takes 2 damage (PWR=2, no DEF)
-
Stolas (local enemy): takes 2 damage
-
Morax (distant): takes 0 damage
-
Balam: EXHAUSTED, 0 damage (does not target self)
-
P1 AP: 3 (was 5, spent 2)
Assertions
assert sabnock_after.damage == 2
assert stolas_after.damage == 2
assert morax_after.damage == 0
assert balam_after.damage == 0
assert result.players[Side.PLAYER_1].ap == 3