From 0f52452271a5e2fef02e6ecb651261959207358d Mon Sep 17 00:00:00 2001 From: Icecreamdude <72051053+Icecreamdudes@users.noreply.github.com> Date: Mon, 14 Oct 2024 15:37:25 -0400 Subject: [PATCH] c --- js/antimatterDimensions.js | 7 ++++++- js/debuff.js | 2 +- js/dice.js | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/js/antimatterDimensions.js b/js/antimatterDimensions.js index a75ca37..8fba0bb 100644 --- a/js/antimatterDimensions.js +++ b/js/antimatterDimensions.js @@ -56,6 +56,11 @@ update(delta) { let onepersec = new Decimal(1) + if (player.ad.antimatter.lt(0)) + { + player.ad.antimatter = new Decimal(0) + } + if (!hasUpgrade("bi", 22)) player.ad.antimatterEffect = player.points.pow(3).plus(1).log10().pow(player.ad.antimatter.plus(1).log10().pow(0.24)).mul(player.ad.antimatter.div(player.ad.antimatter.mul(2).add(1))).add(1) if (hasUpgrade("bi", 22)) player.ad.antimatterEffect = player.points.pow(player.points.plus(1).log10().pow(2)).plus(1).log10().pow(player.ad.antimatter.plus(1).log10().pow(0.24)).mul(player.ad.antimatter.div(player.ad.antimatter.mul(2).add(1))).add(1) @@ -361,7 +366,7 @@ currencyDisplayName: "Antimatter", currencyInternalName: "antimatter", effect() { - return player.ad.antimatter.plus(1).log10().add(1) + return player.ad.antimatter.abs().plus(1).log10().add(1) }, effectDisplay() { return "x"+format(upgradeEffect(this.layer, this.id))}, // Add formatting to the effect }, diff --git a/js/debuff.js b/js/debuff.js index 31bddc4..d61e76d 100644 --- a/js/debuff.js +++ b/js/debuff.js @@ -434,7 +434,7 @@ unlocked() { return true }, onClick() { player.tad.domainResetPause = new Decimal(5) - player.in.infinityPause = true + player.in.infinityPause = new Decimal(5) player.de.tavPoints = player.de.tavPoints.add(player.de.tavPointsToGet) }, style: { width: '400px', "min-height": '100px' }, diff --git a/js/dice.js b/js/dice.js index ca0f1e3..1529e14 100644 --- a/js/dice.js +++ b/js/dice.js @@ -146,7 +146,7 @@ { if (inChallenge("ip", 15)) { - player.in.infinityPause = true + player.in.infinityPause = new Decimal(5) } if (!hasChallenge("ip", 15)) player.d.currentBoosterRoll = getRandomInt(11) if (hasChallenge("ip", 15)) player.d.currentBoosterRoll = getRandomInt(15) @@ -266,7 +266,7 @@ if (inChallenge("ip", 15)) { - player.in.infinityPause = true + player.in.infinityPause = new Decimal(5) } }, style: { width: '200px', "min-height": '100px' },