Skip to content

Commit 29c5c29

Browse files
author
LocalIdentity
committed
Fix node tooltip when using Untuitive Leap or Impossible Escape
Copy of PathOfBuildingCommunity/PathOfBuilding#8921
1 parent a22a781 commit 29c5c29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Classes/PassiveTreeView.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1361,7 +1361,7 @@ function PassiveTreeViewClass:AddNodeTooltip(tooltip, node, build, incSmallPassi
13611361
end
13621362
end
13631363
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:")
1364-
if pathLength > 1 and not isGranted then
1364+
if pathLength > 1 and not isGranted and (#node.intuitiveLeapLikesAffecting == 0 or node.alloc) then
13651365
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)
13661366
end
13671367
if count == 0 then

0 commit comments

Comments
 (0)