Skip to content

Commit 088dce6

Browse files
LocalIdentityLocalIdentity
andauthored
Fix node tooltip when using Untuitive Leap or Impossible Escape (#1217)
Copy of PathOfBuildingCommunity/PathOfBuilding#8921 Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent 68f238f commit 088dce6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Classes/PassiveTreeView.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,7 @@ function PassiveTreeViewClass:AddNodeTooltip(tooltip, node, build, incSmallPassi
13671367
end
13681368
end
13691369
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:")
1370-
if pathLength > 1 and not isGranted then
1370+
if pathLength > 1 and not isGranted and (#node.intuitiveLeapLikesAffecting == 0 or node.alloc) then
13711371
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)
13721372
end
13731373
if count == 0 then

0 commit comments

Comments
 (0)