File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -139,13 +139,14 @@ end
139139
140140function 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" ))
150151end
151152
You can’t perform that action at this time.
0 commit comments