Skip to content

Fix/tincture preview and range dropdown - #10341

Open
AdamZ-8113 wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
AdamZ-8113:fix/tincture-preview-and-range-dropdown
Open

Fix/tincture preview and range dropdown#10341
AdamZ-8113 wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
AdamZ-8113:fix/tincture-preview-and-range-dropdown

Conversation

@AdamZ-8113

Copy link
Copy Markdown
Contributor

Fixes #10322

Description of the problem being solved:

Tincture item previews show base modifier values without applying quality or local increased effect. This change makes the preview show the correct effect while keeping the original range in the crafting controls and saved item text. This change is purely cosmetic, the actual damage calculation was already correct.

This also fixes a crash when editing an imported tincture. Changing an affix could leave old modifiers in the range dropdown, and selecting one could crash PoB. The dropdown now updates after each change.

Steps taken to verify a working solution:

  • Test various qualities / % inc effect
  • Test suite

Link to a build that showcases this PR:

https://pob.codes/b/7wLTYKOtVhv

Before screenshot:

image

After screenshot:

image

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.

Tincture value issue

1 participant