Skip to main content

✅ Sharur heavy impact deals damage and grants ignore costs

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_sharur_heavy_impact_deals_damage_and_grants_ignore_costs

Sharur's Heavy Impact deals 2 damage and grants ignore exhaust/ready status.

Preconditions

  • P1 Main Phase, P1 has 3 AP

  • Lane 0: P1's Sharur (#068) — READIED

  • Lane 0: P2's Sabnock (#003) — HP=15, READIED (local target)

Action

  • Execute Sharur's Heavy Impact (ability idx=1, Quick, 1 AP, exhaust, 1x) targeting Sabnock
result = execute_ability(state, sharur_on_field, ability_idx=1, targets=[sabnock_on_field])
sharur_effects = {e.stat: e.value for e in get_active_effects_on(result, sharur_after)}

Expected Postconditions

  • Sabnock: takes 2 damage

  • Sharur: EXHAUSTED

  • Sharur: has status "ignore_exhaust" 1 and "ignore_ready" 1

  • P1 AP: 2 (spent 1)

Assertions

assert sabnock_after.damage == 2
assert sharur_after.state == DemonState.EXHAUSTED
assert sharur_effects.get("ignore_exhaust") == 1
assert sharur_effects.get("ignore_ready") == 1