Skip to main content

✅ Black turtle ap cost passive

CategoryAbility
StatusPassing
Testtests/test_abilities_familiars.py::test_black_turtle_ap_cost_passive

Black Turtle has +1 AP Cost on Basic Actions (passive).

Preconditions

  • Lane 0: P1's Black Turtle (084_2).

Action

  • Query get_effective_ap_cost with base_cost=2 (attack).
from engine.operations import get_effective_ap_cost

state = make_game_state()
turtle = make_familiar_demon("084_2", lane=0, owner=Side.PLAYER_1)
state = place_demon(state, turtle)
turtle = state.demons[-1]

effective_cost = get_effective_ap_cost(state, turtle, 2)

Expected Postconditions

  • Effective AP cost = 3 (2 base + 1 from passive).

Assertions

assert effective_cost == 3, (
f"Black Turtle should have effective AP cost of 3 (2+1), got {effective_cost}"
)