From 9956aa77e5ac78166ed05fb1d65e90b65a244dde Mon Sep 17 00:00:00 2001 From: Acamaeda Date: Mon, 12 Oct 2020 19:18:20 -0400 Subject: [PATCH] Fixed NextAt --- js/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/game.js b/js/game.js index 7be1dfa..df2dc70 100644 --- a/js/game.js +++ b/js/game.js @@ -77,7 +77,7 @@ function getNextAt(layer, canMax=false, useType = null) { } else if (type=="normal"){ let next = tmp[layer].resetGain.add(1) if (next.gte("e1e7")) next = next.div("e5e6").pow(2) - next=next.root(tmp[layer].gainExp.div(tmp[layer].gainMult)).root(tmp[layer].exponent).times(tmp[layer].requires).max(tmp[layer].requires) + next = next.root(tmp[layer].gainExp).div(tmp[layer].gainMult).root(tmp[layer].exponent).times(tmp[layer].requires).max(tmp[layer].requires) if (layers[layer].resCeil) next = next.ceil() return next; } else if (type=="custom"){