Skip to main content

✅ Dionysus hangover can stay in same lane

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_dionysus_hangover_can_stay_in_same_lane

Hangover can result in staying in same lane if RNG picks it.

Preconditions

  • Lane 1: Dionysus — READIED

  • RNG returns lane index 1

Action

  • Execute Hangover with rng mocked to return lane 1
result = execute_ability(state, dionysus_on_field, ability_idx=0, targets=None, rng=rng)
dionysus_after = next(d for d in result.demons if d.unit_id == "038")

Expected Postconditions

  • Dionysus: still in lane 1

Assertions

assert dionysus_after.lane == 1