Skip to main content

✅ Insufficient ap

CategoryAbility
StatusPassing
Testtests/test_action_timing.py::test_insufficient_ap

Tests interaction between Malthus.

Preconditions

  • P1 Main Phase, P1 has 0 AP

  • Lane 0: P1's Malthus (#061) — READIED

  • ability[1] = Musket Fire: 1 AP, allied, exhaust

Action

  • can_perform_action(state, malthus, 1)

Expected Postconditions

  • Returns (False, "insufficient AP")

Assertions

assert result is False
assert "insufficient AP" in reason or "ap" in reason.lower()