Skip to content

Commit ea010a0

Browse files
committed
Cap from multiple sources
1 parent a7c6af4 commit ea010a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Modules/Calcs.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ function calcs.calcFullDPS(build, mode, override, specEnv)
354354
fullDPS.TotalDotDPS = fullDPS.TotalDotDPS + fullDPS.burningGroundDPS
355355
end
356356
if fullDPS.TotalPoisonDPS > 0 then
357+
fullDPS.TotalPoisonDPS = m_min(fullDPS.TotalPoisonDPS, data.misc.DotDpsCap)
357358
t_insert(fullDPS.skills, { name = "Full Poison DPS", dps = fullDPS.TotalPoisonDPS, count = 1 })
358359
fullDPS.TotalDotDPS = fullDPS.TotalDotDPS + fullDPS.TotalPoisonDPS
359360
end

0 commit comments

Comments
 (0)