Skip to main content

✅ Adramelech command readies adramelech and applies cannot act to performer

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_adramelech_command_readies_adramelech_and_applies_cannot_act_to_performer

Command readies Adramelech and applies cannot_act to the performer.

Preconditions

  • P1 Main Phase, P1 has 5 AP

  • Lane 0: P1's Adramelech (#017) — EXHAUSTED (target of Command)

  • Adramelech performs Command on itself (Allied: any demon can perform)

Action

  • Execute Adramelech's Command (ability[1], Allied, 0 AP, exhaust)
result = execute_ability(state, adramelech_on_field, ability_idx=1, targets=None)
adramelech_after = next(d for d in result.demons if d.unit_id == "017")

Expected Postconditions

  • Adramelech: READIED (was EXHAUSTED, Command readies it)

  • Performer gets cannot_act status +1 (expires end of phase)

  • P1 AP: 5 (0 AP cost)

Assertions

assert adramelech_after.state == DemonState.READIED
assert len(cannot_act_effects) == 1
assert cannot_act_effects[0].value == 1
assert result.players[Side.PLAYER_1].ap == 5