Merge pull request #711 from DanielNoord/fix/hotfixes

Fix/hotfixes
This commit is contained in:
Daniël van Noord
2021-03-21 14:56:35 +01:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -34,7 +34,7 @@ export function MaxChainCookieReward(digit, maxPayout, mult) {
let nextRequired = 0; let nextRequired = 0;
let chain = let chain =
1 + Math.max(0, Math.ceil(Math.log(Game.cookies) / Math.LN10) - 10); 1 + Math.max(0, Math.ceil(Math.log(Game.cookies) / Math.LN10) - 10);
while (nextMoni < maxPayout) { while (nextMoni < maxPayout * mult) {
moni = Math.max( moni = Math.max(
digit, digit,
Math.min( Math.min(