Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Life Mastery item condition to include Enchants #6068

Merged

Conversation

Nostrademous
Copy link
Contributor

@Nostrademous Nostrademous commented Apr 16, 2023

Fixes #6064

Description of the problem being solved:

Adds crafted enchantment conditions to modifiers being considered in item conditionals.

Steps taken to verify a working solution:

Link to a build that showcases this PR:

Same as in Issue

Before screenshot:

Before

After screenshot:

After

@Nostrademous Nostrademous added the bug: behaviour Behavioral differences label Apr 16, 2023
@Peechey
Copy link
Contributor

Peechey commented Apr 16, 2023

Is there a reason we don't t_insert for all mods and overwrite instead? Because if you craft a magic body armour, give it max life prefix and add a non-life harvest enchant, the bug still exists with this change because the quality enchant index overwrites the life prefix index.

image

@Nostrademous
Copy link
Contributor Author

@Peechey I have no idea why it was done like that... fixed.

@LocalIdentity LocalIdentity merged commit 19b3b2b into PathOfBuildingCommunity:dev Apr 22, 2023
@Nostrademous Nostrademous deleted the FixLifeCondition branch April 26, 2023 18:32
Dullson pushed a commit to Dullson/PathOfBuilding that referenced this pull request Dec 6, 2023
…mmunity#6068)

* Fix Life Mastery item condition to include Enchants

* fix over-write to use table insert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: behaviour Behavioral differences
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Interaction between Life enchantment in body armour and life mastery
3 participants