PathOfBuilding icon indicating copy to clipboard operation
PathOfBuilding copied to clipboard

fix pathing behavior for nodes affected by intuitive leap-like mechanics

Open trimbe opened this issue 1 year ago • 0 comments

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 affectedByIntuitiveLeapLike nodes

Link to a build that showcases this PR:

https://pobb.in/LBRXZb7F14NJ

Before screenshot:

image

After screenshot:

image

trimbe avatar Jun 25 '24 22:06 trimbe