✅ Buer heal not applied to other lane allies
| Category | Ability |
| Status | Passing |
| Test | tests/test_abilities_passive.py::test_buer_heal_not_applied_to_other_lane_allies |
Buer's exhaust heal only applies to LOCAL allies (same lane).
Preconditions
-
Lane 0: P1's Buer (#014) — READIED, base PWR=3
-
Lane 1: P1's Duban (#001) — 5 damage (ally, different lane)
Action
- Fire DEMON_EXHAUSTED event with source=Buer
from engine.events import GameEvent, EventType, fire_event
state = make_game_state()
buer = make_demon("014", lane=0, owner=Side.PLAYER_1)
other_duban = make_demon("001", lane=1, owner=Side.PLAYER_1, damage=5)
state = place_demon(state, buer)
state = place_demon(state, other_duban)
buer_on_field = next(d for d in state.demons if d.unit_id == "014")
event = GameEvent(
event_type=EventType.DEMON_EXHAUSTED,
source=buer_on_field,
target=None,
value=None,
side=Side.PLAYER_1,
lane=0,
)
new_state = fire_event(state, event)
duban_after = next(d for d in new_state.demons if d.unit_id == "001")
Expected Postconditions
- Duban in lane 1 unchanged: damage still 5
Assertions
assert duban_after.damage == 5, (
f"Expected lane-1 ally damage=5 (Buer heal is local only), got {duban_after.damage}"
)