[GH-ISSUE #538] Range combat following doesn't work properly. Casting paths to the tile next to the target #12658

Open
opened 2026-06-06 12:20:57 +00:00 by Dark98 · 1 comment
Owner

Originally created by @syuil on GitHub (Dec 31, 2022).
Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/538

Range should farcast until player2 is no longer within the scope of the ranged item's distance_variable currently held, then path towards player2 but stop at the distance_variable when player2 stops.
Mage is an easy fix from my initial quick look, but I'm not sure about range.

Originally created by @syuil on GitHub (Dec 31, 2022). Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/538 Range should farcast until player2 is no longer within the scope of the ranged item's distance_variable currently held, then path towards player2 but stop at the distance_variable when player2 stops. Mage is an easy fix from my initial quick look, but I'm not sure about range.
Author
Owner

@halogod35 commented on GitHub (Jan 26, 2023):

Ranged:
java_ZhtDchJCbR
Autocast (on players):
java_rLpEJVrYOx
Autocast (on npcs):
java_LYkL9365OW

<!-- gh-comment-id:1404421657 --> @halogod35 commented on GitHub (Jan 26, 2023): Ranged: ![java_ZhtDchJCbR](https://user-images.githubusercontent.com/6503891/214729767-08f35e80-4ef6-415c-8dc6-38ae88b9940d.gif) Autocast (on players): ![java_rLpEJVrYOx](https://user-images.githubusercontent.com/6503891/214729953-e72f58e1-7b9a-4260-8b8c-42a624b88d38.gif) Autocast (on npcs): ![java_LYkL9365OW](https://user-images.githubusercontent.com/6503891/214730152-287abfb0-27d1-4636-ba61-0a3b1dc59ff5.gif)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 2006-Scape/2006Scape#12658