Small visual changes to stats page

This commit is contained in:
Daniël van Noord
2021-02-20 20:20:53 +01:00
parent 894f4359cd
commit db19976e3e
3 changed files with 4 additions and 4 deletions

View File

@@ -201,7 +201,7 @@ CM.Cache.MaxChainCookieReward = function(digit, maxPayout, mult) {
let chain = 1 + Math.max(0, Math.ceil(Math.log(Game.cookies) / Math.LN10) - 10);
while (nextMoni < maxPayout) {
moni = Math.max(digit, Math.min(Math.floor(1 / 9 * Math.pow(10, chain) * digit * mult), maxPayout));
// TODO: Calculate Cookies or cps needed for next level of chain. Related to issue #580
// TODO: Calculate Cookies or cps needed for next level of chain. See issue #29
nextMoni = Math.max(digit, Math.min(Math.floor(1 / 9 * Math.pow(10, chain + 1) * digit * mult), maxPayout));
totalFromChain += moni;
chain++;