Skip to content

Commit

Permalink
Fix Exposure mastery stacking incorrectly (#4396)
Browse files Browse the repository at this point in the history
Co-authored-by: LocalIdentity <localidentity2@gmail.com>
  • Loading branch information
LocalIdentity and LocalIdentity committed May 29, 2022
1 parent 4bf691b commit 8052fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/CalcPerform.lua
Expand Up @@ -3046,7 +3046,7 @@ function calcs.perform(env, avoidCache)
if min ~= math.huge then
-- Modify the magnitude of all exposures
for _, mod in ipairs(modDB:Tabulate("BASE", nil, "ExtraExposure", "Extra"..element.."Exposure")) do
min = m_min(min, modDB:Override(nil, "ExposureMin")) + mod.value
min = min + mod.value
end
enemyDB:NewMod(element.."Resist", "BASE", m_min(min, modDB:Override(nil, "ExposureMin")), source)
modDB:NewMod("Condition:AppliedExposureRecently", "FLAG", true, "")
Expand Down

0 comments on commit 8052fed

Please sign in to comment.