Skip to content

Commit

Permalink
Correct display of max mana leech rate (#5945)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilylicious authored Apr 8, 2023
1 parent 4862fae commit bf5423b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/CalcDefence.lua
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ function calcs.defence(env, actor)
if breakdown then
breakdown.MaxManaLeechRate = {
s_format("%d ^8(maximum mana)", output.Mana),
s_format("x %d%% ^8(percentage of mana to maximum leech rate)", modDB:Sum("BASE", nil, "MaxManaLeechRate")),
s_format("x %d%% ^8(percentage of mana to maximum leech rate)", calcLib.val(modDB, "MaxManaLeechRate")),
s_format("= %.1f", output.MaxManaLeechRate)
}
end
Expand Down

0 comments on commit bf5423b

Please sign in to comment.