Skip to content

Hide legacy awakened gems from dropdown#9510

Open
EtherealCarnivore wants to merge 1 commit intoPathOfBuildingCommunity:devfrom
EtherealCarnivore:awakened-gems-legacy
Open

Hide legacy awakened gems from dropdown#9510
EtherealCarnivore wants to merge 1 commit intoPathOfBuildingCommunity:devfrom
EtherealCarnivore:awakened-gems-legacy

Conversation

@EtherealCarnivore
Copy link

What this does

Hides discontinued awakened support gems from the gem dropdown by default. Awakened Empower, Enlighten, and Enhance still show up since they're still obtainable.

Adds a "Show legacy gems" checkbox in Gem Options to bring them back if needed.

How it works

Filters on plusVersionOf - if a gem has it and isn't one of the three exceptions, it's hidden from the dropdown. No data file changes, no per-gem flags.

Existing builds that use legacy awakened gems still load and calculate normally. The gems are saved by ID, so the dropdown filter doesn't affect them.

Changes

  • GemSelectControl.lua - filter legacy awakened gems in PopulateGemList(), FilterSupport(), and cache invalidation in UpdateSortCache()
  • SkillsTab.lua - new "Show legacy gems" checkbox, saved/loaded with the build

Testing

  • Full test suite passes
  • Awakened Empower/Enlighten/Enhance still appear with Awakened filter
  • Other awakened gems (e.g. Awakened Multistrike) hidden by default
  • Toggling "Show legacy gems" brings them back
  • Importing old builds with legacy awakened gems loads and calculates correctly

Most awakened support gems were discontinued in 3.28. They're now
hidden from the gem dropdown unless "Show legacy gems" is checked.
Awakened Empower, Enlighten, and Enhance are still shown since
they're still obtainable. Existing builds with legacy awakened gems
load and calculate fine - this only affects the picker.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant