Skip to content

Commit 62e2602

Browse files
authored
Add "aoe" filtering for gem search (#9433)
1 parent a4158c0 commit 62e2602

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Classes/GemSelectControl.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ function GemSelectClass:BuildList(buf)
186186
tagName = "strength"
187187
elseif tagName == "dex" then
188188
tagName = "dexterity"
189+
elseif tagName == "aoe" then
190+
tagName = "area"
189191
end
190192
-- for :melee we want to exclude gems that DON'T have this tag
191193
-- for :-melee we want to exclude gems that DO have this tag
@@ -590,7 +592,7 @@ function GemSelectClass:AddGemTooltip(gemInstance)
590592
local grantedEffectSecondary = gemInstance.gemData.VaalGem and primary or secondary
591593
self.tooltip:AddLine(fontSizeTitle, colorCodes.GEM .. altQualMap[gemInstance.qualityId]..grantedEffect.name, "FONTIN SC")
592594
self.tooltip:AddSeparator(10)
593-
self.tooltip:AddLine(fontSizeBig, "^x7F7F7F" .. gemInstance.gemData.tagString)
595+
self.tooltip:AddLine(fontSizeBig, "^x7F7F7F" .. gemInstance.gemData.tagString, "FONTIN SC")
594596
self:AddCommonGemInfo(gemInstance, grantedEffect, true)
595597
self.tooltip:AddSeparator(10)
596598
self.tooltip:AddLine(fontSizeTitle, colorCodes.GEM .. (gemInstance.gemData.secondaryEffectName or grantedEffectSecondary.name), "FONTIN SC")

0 commit comments

Comments
 (0)