Skip to main content

Nahash

Serpent of Temptation

Unit #009

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

Abilities

Forbidden Fruit — 2 AP

Forbidden Fruit: 2 AP - a: e: Target Demon has -2n. Actions that target the targeted Demon have -2 AP Cost.
Engine Implementation
def _nahash_forbidden_fruit(state: GameState, demon: DemonInstance, targets, choices, rng) -> GameState:
"""#009 Nahash — Forbidden Fruit
2 AP, (exhaust): Status: Target Demon has -2 DEF.
Actions that target the targeted Demon have -2 AP Cost.
Status expires end of current main phase.

The AP reduction is on ACTIONS TARGETING the marked demon, NOT on the
marked demon's own actions. Any demon attacking/targeting the marked demon
pays 2 less AP. Stored as "ap_cost_when_targeted" status on the target.
Checked in execute_ability when computing AP cost with a target.

Targets: [target_demon]
"""
target = targets[0]
state = apply_status(state, demon, target, "def", -2)
state = apply_status(state, demon, target, "ap_cost_when_targeted", -2)
return state

register_ability("009", 0, _nahash_forbidden_fruit)
Nahash