Skip to main content

✅ Orobas divination draws 2 and returns 2

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_orobas_divination_draws_2_and_returns_2

Orobas's Divination draws 2 cards and returns 2 to the deck.

Preconditions

  • P1 Main Phase, P1 has 3 AP

  • P1's demon_deck: ["001", "002", "003", "004"]

  • P1's hand: ["005", "006"]

  • Lane 0: P1's Orobas (#076) — READIED

Action

  • Execute Orobas's Divination (ability idx=0, 1 AP, exhaust)
result = execute_ability(state, orobas_on_field, ability_idx=0, targets=None)
p1 = result.players[Side.PLAYER_1]

Expected Postconditions

  • Hand grows by net 0 (drew 2, returned 2)

  • Orobas: EXHAUSTED

  • P1 AP: 2 (spent 1)

Assertions

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