Skip to main content

✅ Nergal nine variations applies to all allied

CategoryInteraction
StatusPassing
Testtests/test_abilities_actions.py::test_nergal_nine_variations_applies_to_all_allied

Nergal's Nine Variations applies -1 AP Cost + cannot_be_readied to ALL allied demons.

Preconditions

  • P1 Main Phase, P1 has 3 AP

  • Lane 0: P1's Nergal (#018) — READIED

  • Lane 1: P1's Sabnock (#003) — READIED (another ally)

  • Lane 0: P2's Flauros (#013) — READIED (enemy — should NOT be affected)

Action

  • Execute Nergal's Nine Variations (ability idx=1, 1 AP, exhaust, 1x)
result = execute_ability(state, nergal_on_field, ability_idx=1, targets=None)

Expected Postconditions

  • All allied demons (Nergal + Sabnock): have status "ap_cost" -1 and "cannot_be_readied" 1

  • Enemy Flauros: NOT affected

  • Nergal: EXHAUSTED

  • P1 AP: 2 (spent 1)

Assertions

assert nergal_effects.get("ap_cost") == -1
assert ally_effects.get("ap_cost") == -1
assert enemy_effects.get("ap_cost") is None
assert nergal_after.state == DemonState.EXHAUSTED