Skip to main content

✅ Remove damage blocked by kimaris same lane enemy

CategoryAbility
StatusPassing
Testtests/test_operations.py::test_remove_damage_blocked_by_kimaris_same_lane_enemy

Kimaris's anti-heal aura blocks healing on a same-lane enemy demon.

Preconditions

  • Lane 0: P1's Kimaris (#057) — 15 HP, 0 damage, READIED

  • Lane 0: P2's Duban (#001) — 6 HP, 5 damage, READIED

  • Kimaris passive: "All Other Local Demons cannot have damage removed"

Action

  • remove_damage(state, target=Duban, amount=3)
state = make_game_state()
kimaris = make_demon("057", lane=0, owner=Side.PLAYER_1, instance_id=1)
duban = make_demon("001", lane=0, owner=Side.PLAYER_2, instance_id=2, damage=5)
state = place_demon(state, kimaris)
state = place_demon(state, duban)

duban_placed = next(d for d in state.demons if d.unit_id == "001")
new_state = remove_damage(state, duban_placed, 3)

duban_after = next(d for d in new_state.demons if d.unit_id == "001")

Expected Postconditions

  • Duban.damage = 5 (unchanged — heal blocked by Kimaris's aura)

  • No state mutation at all.

Assertions

assert duban_after.damage == 5, "Heal must be blocked by Kimaris's aura"