Module:BTD6 paragon stats: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 88: | Line 88: | ||
amount = (amount + bd) * (1 + (math.floor(i/20)/4)) | amount = (amount + bd) * (1 + (math.floor(i/20)/4)) | ||
end | end | ||
if amount > 999 then table.insert(ret, string.format('|% | if amount > 999 then table.insert(ret, string.format('|%.8g%s', amount, suffix)) | ||
else table.insert(ret, string.format('|%.4g%s', amount, suffix)) end | else table.insert(ret, string.format('|%.4g%s', amount, suffix)) end | ||
end | end | ||