Skip to main content

✅ Allied any ally can perform

CategoryRegression
StatusPassing
Testtests/test_action_timing.py::test_allied_any_ally_can_perform

Regression: Confusion #5 — ANY allied demon can perform an Allied action,

Preconditions

  • P1 Main Phase, P1 has 3 AP

  • Lane 0: P1's Malthus (#061) — READIED (owns the Allied ability: Musket Fire, index 1)

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

  • Lane 2: P1's Duban (#001) — EXHAUSTED (cannot act)

Action

  • get_allied_performers(state, malthus, 1) # Musket Fire is index 1 on Malthus

Expected Postconditions

  • Returns a list containing Malthus and Sabnock, but NOT Duban (exhausted)

  • Sabnock is included despite not being the card owner (confusion #5)

  • Duban excluded because exhausted (confusion #4)

Assertions

assert "061" in performer_ids
assert "003" in performer_ids
assert "001" not in performer_ids