Skip to content

Commit bbaa1ee

Browse files
committed
only show plusVersionOf for legacy gems like Awakened... otherwise only Exceptional tag
1 parent 01e0720 commit bbaa1ee

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/Classes/GemSelectControl.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,14 @@ end
139139

140140
function GemSelectClass:FilterSupport(gemId, gemData)
141141
local showSupportTypes = self.skillsTab.showSupportGemTypes
142+
local isLegacyAwakened = (gemData.grantedEffect.legacy and gemData.grantedEffect.plusVersionOf)
142143
if gemData.grantedEffect.legacy and not self.skillsTab.showLegacyGems then
143144
return false
144145
end
145146
return (not gemData.grantedEffect.support
146147
or showSupportTypes == "ALL"
147-
or (showSupportTypes == "NORMAL" and not (gemData.grantedEffect.plusVersionOf or gemData.tagString:match("Exceptional")))
148-
or (showSupportTypes == "EXCEPTIONAL" and (gemData.grantedEffect.plusVersionOf or gemData.tagString:match("Exceptional"))))
148+
or (showSupportTypes == "NORMAL" and not (isLegacyAwakened or gemData.tagString:match("Exceptional")))
149+
or (showSupportTypes == "EXCEPTIONAL" and (isLegacyAwakened or gemData.tagString:match("Exceptional"))))
149150
and (self.skillsTab.showAltQualityGems or (not self.skillsTab.showAltQualityGems and self:GetQualityType(gemId) == "Default"))
150151
end
151152

0 commit comments

Comments
 (0)