Skip to content

[0.5] Update Deflection formula#1937

Open
Peechey wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
Peechey:feature/update-deflection-formula
Open

[0.5] Update Deflection formula#1937
Peechey wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
Peechey:feature/update-deflection-formula

Conversation

@Peechey
Copy link
Copy Markdown
Contributor

@Peechey Peechey commented May 22, 2026

Description of the problem being solved:

The formula for chance to Deflect has been adjusted to provide better scaling with investment into Deflection Rating, with a cap of 95% chance to Deflect (similar to chance to Evade being capped at 95%).

The new chance to Deflect is = 150*(1 - A/(A + 0.12*D)), where A = attacker accuracy rating, and D = defender deflection rating. This makes for a linear path, that gets rewarded at higher investments.

@Peechey Peechey added the enhancement New feature, calculation, or mod label May 22, 2026
Comment thread src/Modules/CalcDefence.lua Outdated
Co-authored-by: Edvinas-Smita <36479307+Edvinas-Smita@users.noreply.github.com>
@Peechey
Copy link
Copy Markdown
Contributor Author

Peechey commented May 22, 2026

Maintainers, give Edvinas credit in the patch notes for this one or else 😠

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.

2 participants