Skip to main content

Buer

Demon of Wellbeing

Unit #014

HPPWRCPSpeedRangeTier
12 (+6)3 (+1)3 (+2)FastAnyB

Abilities

Passive

After Buer Exhausts, remove k damage from All Other Local Allied Demons.
Engine Implementation
def _buer_exhaust_heal(
state,
event,
demon,
depth: int,
):
"""After Buer exhausts, heal all other local allied demons by Buer's PWR.

event.source = the demon that exhausted (must be this Buer instance).
"""
# Only fire for this Buer's own exhaustion
if event.source is None:
return None
if event.source.instance_id != demon.instance_id:
return None

from engine.operations import get_effective_pwr, remove_damage # lazy: avoids circular

# Get Buer's effective PWR at time of exhaustion
heal_amount = get_effective_pwr(state, demon)

# Heal all other local allied demons
new_state = state
for target in list(new_state.demons):
if (
target.lane == demon.lane
and target.owner == demon.owner
and target.instance_id != demon.instance_id
and target.damage > 0
):
new_state = remove_damage(new_state, target, heal_amount)

return new_state if new_state is not state else None

register_trigger("014", 0, _buer_exhaust_heal)

Anatomical Reconstruction — 2 AP

Anatomical Reconstruction: 2 AP - a: Remove 2pk damage from Target Other Demon.
Engine Implementation
def _buer_anatomical_reconstruction(state: GameState, demon: DemonInstance, targets, choices, rng) -> GameState:
"""#014 Buer — Anatomical Reconstruction
2 AP, (exhaust): Remove 2×PWR damage from Target Other Demon.

Uses get_effective_pwr() for PWR-scaling (includes fusion bonus).

Targets: [target_other_demon]
"""
target = targets[0]
pwr = get_effective_pwr(state, demon)
heal_amount = 2 * pwr
state = remove_damage(state, target, heal_amount)
return state

register_ability("014", 1, _buer_anatomical_reconstruction)
Buer