Skip to content

Add support for Imbued Supports#9670

Merged
Wires77 merged 28 commits intoPathOfBuildingCommunity:devfrom
Peechey:feature/imbued-support-implementation
Apr 15, 2026
Merged

Add support for Imbued Supports#9670
Wires77 merged 28 commits intoPathOfBuildingCommunity:devfrom
Peechey:feature/imbued-support-implementation

Conversation

@Peechey
Copy link
Copy Markdown
Contributor

@Peechey Peechey commented Mar 19, 2026

Description of the problem being solved:

Full implementation of Imbued Supports, including Importing from Character, Saving and Loading to the XML, and fixing "too many gems in slot" warning. The selection automatically filters for Level 1 Non-Exceptional Support gems. The colour of "Imbued Support:" will follow the application options Positive Values Hex colour.

You are only allowed one imbued support per Slot.

  • If a socketGroup is socketed in and has an imbued and you remove the socketed in, the imbued will be removed.
  • If there is an imbued support socketed in Helmet in group 1, and group 2 is also socketed in Helmet, you will not be allowed to select an imbued for group 2. If group 2 is socketed in e.g. Boots with an imbued and then changed to Helmet, the imbued on group 2 is removed.

PS: This PR also removes the Variant column in the skillsTab. It happened long enough ago I forgot it was in this branch. If you don't want it in this change, let me know.

After screenshot:

image ` image ` image ` image
<Skill label="" enabled="true" slot="Helmet" mainActiveSkill="1" mainActiveSkillCalcs="1" imbuedSupport="Spell Echo" includeInFullDPS="false">
		<Gem enabled="true" quality="0" variantId="FlameSurge" skillId="FlameSurge" level="20" enableGlobal1="true" count="1" enableGlobal2="true" nameSpec="Flame Surge" gemId="Metadata/Items/Gems/SkillGemFlameWhip"/>
		<Gem enabled="true" quality="0" variantId="SupportInvertTheRules" skillId="SupportInvertTheRules" level="3" enableGlobal1="true" count="1" enableGlobal2="true" nameSpec="Invert the Rules" gemId="Metadata/Items/Gems/SupportGemInvertTheRules"/>
		<Gem enabled="true" quality="0" variantId="SupportArcaneSurge" skillId="SupportArcaneSurge" level="20" enableGlobal1="true" count="1" enableGlobal2="true" nameSpec="Arcane Surge" gemId="Metadata/Items/Gems/SupportGemArcaneSurge"/>
		<Gem enabled="true" quality="0" variantId="SupportCullingStrike" skillId="SupportCullingStrike" level="20" enableGlobal1="true" count="1" enableGlobal2="true" nameSpec="Culling Strike" gemId="Metadata/Items/Gems/SupportGemCullingStrike"/>
</Skill>

@Peechey Peechey added the enhancement New feature, calculation, or mod label Mar 19, 2026
@Blitz54
Copy link
Copy Markdown
Contributor

Blitz54 commented Mar 22, 2026

I found a few issues. (sorry)

The hover tooltip on the imbued shows the tooltip for the second gem in the socket group. Whether it be a support or an active gem. If there is no second gem, no tooltip pops up.

Opening the Imbued selection then clicking away to close it, will cause the imbued select to change to the top most support, instead of reverting to the current selected gem.

Related to the first two, the tooltip does not show on Import until a change is made (quality, count, new gem, etc). Then it will follow the logic above.

Typing to search for the gems is different than the normal dropdowns. I can't type "spell" to have spell echo show up. With Fireball as the skill. I type s, it auto fills with Sacrifice. Then, any further letters are added onto that gem name, so "Sacrificepell".

If you backspace to remove the text, once it's fully erased, backspacing again will show the hex color code.

Copy link
Copy Markdown
Member

@Wires77 Wires77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. The dropdown should be moved under "Socketed In:" for portrait mode users.
  2. Tooltip suggestion: "Socketed in" must be set... or "Socketed in" item must be set to make it clear you're talking about a UI item
  3. You could restrict the dropdown to only show the support gems that would receive a checkmark, since only those are explicitly allowed

This otherwise looks pretty good, any reason for using colorCodes.POSITIVE instead of colorCodes.CRAFTED to better match in-game?

Comment thread src/Classes/GemSelectControl.lua Outdated
Comment thread src/Classes/GemSelectControl.lua Outdated
fix - disable remove button on disabled imbued socketGroup
@Peechey
Copy link
Copy Markdown
Contributor Author

Peechey commented Apr 14, 2026

Updated everything except for restricting the dropdown. Trickier so far than I expected. Also fixed an issue with the clear X button on a disabled imbued socketGroup wasn't disabled which caused some tomfoolery.

Updated UI look, lined up pretty well
image

LocalIdentity added 2 commits April 14, 2026 23:31
Remove gems from the list that cannot support the active skill
Adds code in calc tools to grab the skillTypes from the base skill so any added skill types are ignored
LocalIdentity pushed a commit that referenced this pull request Apr 14, 2026
Cherrypicked from #9670 to make the diff from that PR cleaner
LocalIdentity added a commit that referenced this pull request Apr 14, 2026
* Remove Quality type dropdown

Cherrypicked from #9670 to make the diff from that PR cleaner

* Remove more quality stuff

* Last quality fix

* Remove quality types from export

* Remove dummy stat quality export

---------

Co-authored-by: LocalIdentity <localidentity2@gmail.com>
LocalIdentity added 6 commits April 15, 2026 02:06
Importing a skill gem that has an imbued support for a different gear slot would override the existing gems in the build
Setting a imbued gem on a skill set would block all the other skill sets from also setting a gem for the same item slot
Using something like Forbidden Shako was having the support gems from the helmet apply to active skills granted by the helmet when they are not meant to apply
LocalIdentity and others added 5 commits April 15, 2026 05:55
The sortCache now only runs on non-exceptional supports to loads a lot faster when clicked
The buttons for sorting by support or active skill gem were invisible for the imbued box but still applying if clicked. Now they do not apply when clicking in that area
@Wires77 Wires77 merged commit 9b7a967 into PathOfBuildingCommunity:dev Apr 15, 2026
3 checks passed
@Peechey Peechey deleted the feature/imbued-support-implementation branch April 15, 2026 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature, calculation, or mod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants