Files
2006Scape/2006Scape Server/src/main
Dark98 729eb4237c Improve multi-tile NPC pathing, combat reach, and collision closes (#658)
- Implement O(1) AABB Chebyshev distance calculations in NpcData.goodDistanceNpc and inNpc.
- Enforce authentic 2006 RS2 1-tile melee rules: require cardinal alignment for 1x1 entities while permitting corner melee reach for multi-tile NPCs.
- Add multi-tile leading edge obstacle collision handling in NpcHandler.handleClipping.
- Prevent attacking from underneath NPC body and properly direct NPC step-off away from player.
- Clamp projectile LOS raycast checks to nearest perimeter tile on NPC bounding box.
- Update TzTok-Jad melee stance detection to use multi-tile perimeter reach.
- Update ClickNPC and PlayerAssistant to respect multi-tile bounds for interactions and following.
2026-11-08 00:48:08 +00:00
..
2021-03-11 00:30:16 +00:00