fix: combat cleanup on weapon swap and out-of-wilderness targets #212

Merged
sickday merged 1 commit from fix/combat-engage-cleanup into main 2026-07-22 22:44:49 +00:00
Owner
  • A weapon swap while a combat target is engaged drops the in-flight
    chase movement (waypoints + streamed path), so swapping to a ranged
    weapon inside its attack range fires in place instead of walking the
    stale melee-chase steps first (rune c'bow closing-distance bug).
  • Engaging a player target (attack click, manual cast, bot autocast) is
    refused when the target's authoritative tile is outside the
    wilderness, so PK goals can't keep re-locking onto a victim who
    crossed the ditch to a bank.
  • equip_item no-ops on an invalid backpack slot instead of crashing the
    player process.
- A weapon swap while a combat target is engaged drops the in-flight chase movement (waypoints + streamed path), so swapping to a ranged weapon inside its attack range fires in place instead of walking the stale melee-chase steps first (rune c'bow closing-distance bug). - Engaging a player target (attack click, manual cast, bot autocast) is refused when the target's authoritative tile is outside the wilderness, so PK goals can't keep re-locking onto a victim who crossed the ditch to a bank. - equip_item no-ops on an invalid backpack slot instead of crashing the player process.
fix: combat cleanup on weapon swap and out-of-wilderness targets
All checks were successful
ci / test (pull_request) Successful in 2m55s
26e96b106d
- A weapon swap while a combat target is engaged drops the in-flight
  chase movement (waypoints + streamed path), so swapping to a ranged
  weapon inside its attack range fires in place instead of walking the
  stale melee-chase steps first (rune c'bow closing-distance bug).
- Engaging a player target (attack click, manual cast, bot autocast) is
  refused when the target's authoritative tile is outside the
  wilderness, so PK goals can't keep re-locking onto a victim who
  crossed the ditch to a bank.
- equip_item no-ops on an invalid backpack slot instead of crashing the
  player process.
Sign in to join this conversation.
No description provided.