1,043
edits
(update to v1.0.0) |
(upgrade to v1.0.1: fix variance being negative for subtracted dice) |
||
Line 103: | Line 103: | ||
end | end | ||
return quantity * sum | return math.abs(quantity) * sum | ||
end) | end) | ||
end | end |