Skip to main content

✅ Stolen time steals ap from opponent

CategoryAbility
StatusPassing
Testtests/test_abilities_complex.py::TestValefarStolenTime::test_stolen_time_steals_ap_from_opponent

Valefar uses Stolen Time to steal 1 AP from opponent.

Preconditions

  • P1 Main Phase, P1 has 1 AP

  • P2 has 3 AP

  • Lane 0: P1's Valefar (#007), READIED

Action

  • Valefar uses Stolen Time (0 AP, exhaust, 1x) with steal_ap=True, steal_token=False

Expected Postconditions

  • P1 AP: 2 (1 + 1 stolen)

  • P2 AP: 2 (3 - 1)

  • Valefar: EXHAUSTED

Assertions

assert result.players[Side.PLAYER_1].ap == 2
assert result.players[Side.PLAYER_2].ap == 2
assert valefar_after.state == DemonState.EXHAUSTED