Skip to main content

✅ Nergal adaptability applies ap cost and cannot be readied

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_nergal_adaptability_applies_ap_cost_and_cannot_be_readied

Nergal's Adaptability applies -1 AP Cost and cannot_be_readied to target.

Preconditions

  • P1 Main Phase, P1 has 3 AP

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

  • Lane 0: P2's Sabnock (#003) — READIED

Action

  • Execute Nergal's Adaptability (ability idx=0, Allied, 0 AP, exhaust) targeting Sabnock
result = execute_ability(state, nergal_on_field, ability_idx=0, targets=[sabnock_on_field])
effects = get_active_effects_on(result, sabnock_after)
stats = {e.stat: e.value for e in effects}

Expected Postconditions

  • Nergal: EXHAUSTED

  • Sabnock: has status "ap_cost" -1

  • Sabnock: has status "cannot_be_readied" 1

Assertions

assert nergal_after.state == DemonState.EXHAUSTED
assert stats.get("ap_cost") == -1
assert stats.get("cannot_be_readied") == 1