Cancer
Unit #116
| HP | PWR | CP | Speed | Range | Tier |
|---|---|---|---|---|---|
| 15 (+9) | 4 (+2) | 4 (+3) | Slow | Local | B |
Abilities
Passive
c: While this has 9 or less sustained damage, All Other Demon's abilities ignore range restrictions when considering Cancer and all of Cancer's abilities ignore range restrictions. (Abilities include both actions and passives.)
Thwack — 2 AP
h: Thwack: 2 AP - a: e: At the end of this Main Phase, if Cancer is alive, deal k damage to All Local Enemy Demons.
Engine Implementation
def _cancer_thwack(
state: GameState, demon: DemonInstance, targets, choices, rng
) -> GameState:
"""#116 Cancer — Thwack
Start of Turn, 2 AP, (exhaust): Status: At the end of this Main Phase, if Cancer
is alive, deal this demon's PWR damage to All Local Enemy Demons.
Applies "thwack_pending" status marker to Cancer (value=1).
Turn sequence reads at phase end, checks Cancer alive, and deals PWR damage
to all local enemy demons.
"""
from engine.status_effects import apply_status
state = apply_status(state, demon, demon, "thwack_pending", 1)
return state
register_ability("116", 1, _cancer_thwack)