Nephilim
Familiar of Abaddon — Card 4 of 4
| HP | PWR | CP | Speed | Range |
|---|---|---|---|---|
| 4 | 2 | 1 | C (Companion) | Local |
Abilities
Passive
Nephilim can only Fuse or be Fused with by special actions and not by Demonic Fusion.
Greaves of Nephilim — 1 AP
g: Greaves of Nephilim: 1 AP - b, 1x: Move Abaddon 1 Lane.
Engine Implementation
def _nephilim_greaves_handler(state: GameState, demon: DemonInstance, targets, choices, rng) -> GameState:
"""028_4 Nephilim — Greaves of Nephilim: Move Abaddon 1 Lane.
choices: {"direction": 1} or {"direction": -1} (or {"target_lane": int})
"""
abaddon = _find_demon_by_parent_unit_id(state, "028", demon.owner)
if abaddon is None:
return state
# Determine target lane from choices
target_lane = None
if choices and "target_lane" in choices:
target_lane = choices["target_lane"]
elif choices and "direction" in choices:
target_lane = abaddon.lane + choices["direction"]
else:
# Default: move right if possible, else left
if abaddon.lane + 1 < LANE_COUNT:
target_lane = abaddon.lane + 1
else:
target_lane = abaddon.lane - 1
if target_lane is None or not (0 <= target_lane < LANE_COUNT):
return state
import copy
new_state = copy.deepcopy(state)
abaddon_in_state = _find_demon(new_state, abaddon.instance_id)
if abaddon_in_state:
abaddon_in_state.lane = target_lane
return new_state
register_ability("028_4", 1, _nephilim_greaves_handler)