From b5e29d54462d46b65b0917342d5818befc2f1e61 Mon Sep 17 00:00:00 2001 From: Nikita Kniazev Date: Mon, 4 Aug 2025 12:55:24 +0300 Subject: [PATCH] Fix tooltip showing pathing differences for nodes affected by II/IL (#8921) Hovering over an unallocated node in radius of Impossible Escape or Intuitive Leap currently shows difference for taking a path from the class start which it doesn't require and won't take on click. This is confusing and not helpful because highlight for the pathing is being suppressed already. --- src/Classes/PassiveTreeView.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Classes/PassiveTreeView.lua b/src/Classes/PassiveTreeView.lua index d8030d35..982cfca8 100644 --- a/src/Classes/PassiveTreeView.lua +++ b/src/Classes/PassiveTreeView.lua @@ -1146,7 +1146,7 @@ function PassiveTreeViewClass:AddNodeTooltip(tooltip, node, build) end end local count = build:AddStatComparesToTooltip(tooltip, calcBase, nodeOutput, realloc and "^7Reallocating this node will give you:" or node.alloc and "^7Unallocating this node will give you:" or isGranted and "^7This node is granted by an item. Removing it will give you:" or "^7Allocating this node will give you:") - if pathLength > 1 and not isGranted then + if pathLength > 1 and not isGranted and (#node.intuitiveLeapLikesAffecting == 0 or node.alloc) then count = count + build:AddStatComparesToTooltip(tooltip, calcBase, pathOutput, node.alloc and "^7Unallocating this node and all nodes depending on it will give you:" or "^7Allocating this node and all nodes leading to it will give you:", pathLength) end if count == 0 then