Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
Icecreamdudes committed Oct 14, 2024
1 parent f5b8c47 commit 0f52452
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion js/antimatterDimensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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
},
Expand Down
2 changes: 1 addition & 1 deletion js/debuff.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand Down
4 changes: 2 additions & 2 deletions js/dice.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -266,7 +266,7 @@

if (inChallenge("ip", 15))
{
player.in.infinityPause = true
player.in.infinityPause = new Decimal(5)
}
},
style: { width: '200px', "min-height": '100px' },
Expand Down

0 comments on commit 0f52452

Please sign in to comment.