Skip to content

Commit 890c0f0

Browse files
committed
Show flavour text on keystones
1 parent cd6e8cf commit 890c0f0

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎src/Classes/PassiveTreeView.lua‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,6 +1120,14 @@ function PassiveTreeViewClass:AddNodeTooltip(tooltip, node, build)
11201120
end
11211121
end
11221122

1123+
-- Flavour text
1124+
if node.flavourText and main.showFlavourText then
1125+
tooltip:AddSeparator(14)
1126+
for _, line in ipairs(node.flavourText) do
1127+
tooltip:AddLine(14, colorCodes.UNIQUE..line)
1128+
end
1129+
end
1130+
11231131
-- Tattoo Editing
11241132
if node and (node.isTattoo
11251133
or (node.type == "Normal" and (node.dn == "Strength" or node.dn == "Dexterity" or node.dn == "Intelligence"))

0 commit comments

Comments
 (0)