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 Divergent Arcane Cloak #6695

Merged
merged 2 commits into from
Sep 15, 2023
Merged

Fix Divergent Arcane Cloak #6695

merged 2 commits into from
Sep 15, 2023

Conversation

LocalIdentity
Copy link
Contributor

@LocalIdentity LocalIdentity commented Sep 15, 2023

Fixes #6688

Description of the problem being solved:

Divergent Arcane Cloak was scaling the added damage by a per stat instead of a percentage stat.
This supports using a multiplier variable in place of the percentage value.
I also did some testing in-game and Arcane Cloak and other similar effects appear to round up the final value so I changed that logic too

Steps taken to verify a working solution:

  • Test Divergent Arcane Cloak in-game to figure out rounding
  • Test build and now have the expected results and gem quality increases the damage in smaller increments

Link to a build that showcases this PR:

https://pobb.in/uW97FHR2LA7u

Before screenshot:

image

After screenshot:

image

Divergent Arcane Cloak was scaling the added damage by a per stat instead of a percentage stat.
This adds support for using a multiplier variable in place of the percentage value.
Also did some testing in game and Arcane Cloak and other similar effects appear to round up the final value so changed that logic too
@LocalIdentity LocalIdentity added the bug: calculation Numerical differences label Sep 15, 2023
@LocalIdentity LocalIdentity merged commit 173519f into dev Sep 15, 2023
@LocalIdentity LocalIdentity deleted the fix_divergent-arcane-cloak branch September 15, 2023 23:45
shafouz pushed a commit to shafouz/PathOfBuilding that referenced this pull request Dec 8, 2023
Divergent Arcane Cloak was scaling the added damage by a per stat instead of a percentage stat.
This adds support for using a multiplier variable in place of the percentage value.
Also did some testing in game and Arcane Cloak and other similar effects appear to round up the final value so changed that logic too

Co-authored-by: LocalIdentity <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: calculation Numerical differences
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Divergent arcane cloak buff effect reduces damage instead of increasing it
1 participant