Skip to content

Commit 62fda85

Browse files
committed
remove tooltip and modify node popup for cluster jewel keystones
1 parent 98597ac commit 62fda85

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/Classes/PassiveTreeView.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ function PassiveTreeViewClass:AddNodeTooltip(tooltip, node, build)
13511351
if node and (node.isTattoo
13521352
or (node.type == "Normal" and (node.dn == "Strength" or node.dn == "Dexterity" or node.dn == "Intelligence"))
13531353
or (node.type == "Notable" and #node.sd > 0 and (node.sd[1]:match("+30 to Dexterity") or node.sd[1]:match("+30 to Strength") or node.sd[1]:match("+30 to Intelligence")))
1354-
or (node.type == "Keystone") or (node.type == "Mastery") )
1354+
or (node.type == "Keystone" and not node.expansionSkill) or (node.type == "Mastery"))
13551355
then
13561356
tooltip:AddSeparator(14)
13571357
local nodeEditType = (node.type == "Mastery") and "runegraft" or "tattoo"

src/Classes/TreeTab.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -838,6 +838,11 @@ function TreeTabClass:OpenExportPopup()
838838
end
839839

840840
function TreeTabClass:ModifyNodePopup(selectedNode)
841+
-- ignore cluster jewel Keystones like Secrets of Suffering
842+
if selectedNode.type == "Keystone" and selectedNode.expansionSkill then
843+
return
844+
end
845+
841846
local controls = { }
842847
local modGroups = { }
843848
local treeNodes = self.build.spec.tree.nodes

0 commit comments

Comments
 (0)