PathOfBuilding
PathOfBuilding copied to clipboard
fix pathing behavior for nodes affected by intuitive leap-like mechanics
Fixes #7642
Description of the problem being solved:
Restrictions on pathing around nodes affected by Intuitive Leap-like mechanics was too strict and didn't account for cases where the node was also connected to the tree. Additionally, fixes path distance calculations for paths going through nodes that are allocated but not connected.
Steps taken to verify a working solution:
- Verified scenario showcased in issue correctly finds the shortest path
- Verified path distance displays correctly when pathing through
affectedByIntuitiveLeapLikenodes
Link to a build that showcases this PR:
https://pobb.in/LBRXZb7F14NJ