Skip to content

Commit ef42ca9

Browse files
LocalIdentityLocalIdentity
andauthored
Fix flat Physical damage reduction not scaling max hit properly (#1174)
Co-authored-by: LocalIdentity <[email protected]>
1 parent b74cb4e commit ef42ca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Modules/CalcDefence.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3482,7 +3482,7 @@ function calcs.buildDefenceEstimations(env, actor)
34823482
-- Which means that
34833483
-- RAW = [quadratic]
34843484

3485-
local oneMinusFlatPlusOverwhelm = (1 + flatDR - enemyOverwhelmPercent / 100)
3485+
local oneMinusFlatPlusOverwhelm = (1 - flatDR + enemyOverwhelmPercent / 100)
34863486
local HP_tTM_tF_DCM_tRM = (totalHitPool / totalTakenMulti - takenFlat) / (damageConvertedMulti * totalResistMult)
34873487

34883488
local a = data.misc.ArmourRatio * damageConvertedMulti * oneMinusFlatPlusOverwhelm

0 commit comments

Comments
 (0)