Skip to content

Commit d10d19e

Browse files
authored
Remove tattoo tooltip and popup for cluster jewel keystones (#9773)
* remove tooltip and modify node popup for cluster jewel keystones * update to expansionSkill only
1 parent ff27630 commit d10d19e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/Classes/PassiveTreeView.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ function PassiveTreeViewClass:Draw(build, viewPort, inputEvents)
418418
elseif hoverNode and (hoverNode.isTattoo
419419
or (hoverNode.type == "Normal" and (hoverNode.dn == "Strength" or hoverNode.dn == "Dexterity" or hoverNode.dn == "Intelligence"))
420420
or (hoverNode.type == "Notable" and #hoverNode.sd > 0 and (hoverNode.sd[1]:match("+30 to Dexterity") or hoverNode.sd[1]:match("+30 to Strength") or hoverNode.sd[1]:match("+30 to Intelligence")))
421-
or hoverNode.type == "Keystone")
421+
or hoverNode.type == "Keystone") and not hoverNode.expansionSkill
422422
then
423423
build.treeTab:ModifyNodePopup(hoverNode, viewPort)
424424
build.buildFlag = true
@@ -1351,7 +1351,8 @@ 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") or (node.type == "Mastery"))
1355+
and not node.expansionSkill
13551356
then
13561357
tooltip:AddSeparator(14)
13571358
local nodeEditType = (node.type == "Mastery") and "runegraft" or "tattoo"

0 commit comments

Comments
 (0)