Glasya-Labolas
The Bloodstained Demon
Unit #032
| HP | PWR | CP | Speed | Range | Tier |
|---|---|---|---|---|---|
| 9 (+3) | 3 (+1) | 3 (+2) | Slow | Any | D |
Abilities
Passive
Glasya-Labolas has +1k for every 2 damage on themselves.
Engine Implementation
def _glasya_labolas_pwr(state, demon) -> dict:
bonus = demon.damage // 2
return {"pwr": bonus} if bonus > 0 else {}
register_passive("032", 0, _glasya_labolas_pwr)
Blood Sacrifice — 0 AP
Blood Sacrifice: 0 AP - b, 1x: Deal 4 Fixed Damage to Target Allied Demon. e: Glasya-Labolas next action has +2k.
Engine Implementation
def _glasya_labolas_blood_sacrifice(state: GameState, demon: DemonInstance, targets, choices, rng) -> GameState:
"""#032 Glasya-Labolas — Blood Sacrifice
0 AP, (ready), 1x: Deal 4 Fixed Damage to Target Allied Demon.
Status: Glasya-Labolas' next action has +2 PWR.
Status expires end of current main phase.
CRITICAL: Fixed Damage bypasses DEF entirely (ability_implementation_guide.json).
Targets: [target_allied_demon]
"""
target = targets[0]
# Fixed damage bypasses DEF
state = deal_fixed_damage(state, target, 4)
# Status: Glasya-Labolas' next action has +2 PWR
state = apply_status(state, demon, demon, "pwr", 2)
return state
register_ability("032", 1, _glasya_labolas_blood_sacrifice)