Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Modules/CalcBreakdown.lua
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ function breakdown.leech(instant, instantRate, instances, pool, rate, max, dur,
if actor.mainSkill.skillData.showAverage then
if instant > 0 then
if instantLeechProportion ~= 1 then
t_insert(out, s_format("Instant Leech: %.1f ^8(%d%% x %.1f)", instant, instantLeechProportion * 100, dur * pool * data.misc.LeechRateBase))
t_insert(out, s_format("Instant Leech: %.1f ^8(%d%% x %.1f)", instant, instantLeechProportion * 100, dur * pool * data.misc.LeechRateBase / (1-instantLeechProportion)))
else
t_insert(out, s_format("Instant Leech: %.1f", instant))
end
Expand All @@ -211,7 +211,7 @@ function breakdown.leech(instant, instantRate, instances, pool, rate, max, dur,
else
if instantRate > 0 then
if instantLeechProportion ~= 1 then
t_insert(out, s_format("Instant Leech: %.1f ^8(%d%% x %.1f)", instant, instantLeechProportion * 100, dur * pool * data.misc.LeechRateBase))
t_insert(out, s_format("Instant Leech: %.1f ^8(%d%% x %.1f)", instant, instantLeechProportion * 100, dur * pool * data.misc.LeechRateBase / (1-instantLeechProportion)))
else
t_insert(out, s_format("Instant Leech: %.1f", instant))
end
Expand Down