Skip to content

Commit 58383ef

Browse files
committed
Flavour text on support gems
1 parent 7cf93d9 commit 58383ef

7 files changed

Lines changed: 256 additions & 5 deletions

File tree

src/Classes/GemSelectControl.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,12 @@ function GemSelectClass:AddGemTooltip(gemInstance)
618618
self.tooltip:AddLine(fontSizeBig, "^x7F7F7F" .. gemInstance.gemData.tagString, "FONTIN SC")
619619
self:AddCommonGemInfo(gemInstance, grantedEffect, true, secondary and secondary.support and secondary)
620620
end
621+
if gemInstance.gemData.flavourText then
622+
self.tooltip:AddSeparator(10)
623+
for _, line in ipairs(gemInstance.gemData.flavourText) do
624+
self.tooltip:AddLine(fontSizeBig, colorCodes.UNIQUE .. line, "FONTIN SC ITALIC")
625+
end
626+
end
621627
end
622628

623629
function GemSelectClass:AddCommonGemInfo(gemInstance, grantedEffect, addReq, mergeStatsFrom)

0 commit comments

Comments
 (0)