Skip to content

Commit

Permalink
Fix embarassing bug that I should have forseen in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Pseudonian committed Jan 14, 2025
1 parent 8ef11f9 commit cb89600
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const version = '3.1.1 January 13, 2025: The Bakery Update'
export const version = '3.1.1 January 13, 2025 pt 1.1: The Bakery Update'

/**
* PSEUDO DO NOT CHANGE THIS LINE
Expand Down
4 changes: 2 additions & 2 deletions src/singularity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ export class SingularityUpgrade extends DynamicUpgrade {

public computeFreeLevelSoftcap (): number {
let freeLevelMult = (player.shopUpgrades.shopSingularityPotency > 0) ? 3.66 : 1
freeLevelMult = 0.3 / 100 * player.cubeUpgrades[75]
const baseRealFreeLevels = freeLevelMult * this.level
freeLevelMult += 0.3 / 100 * player.cubeUpgrades[75]
const baseRealFreeLevels = freeLevelMult * this.freeLevels
return (
Math.min(this.level, baseRealFreeLevels)
+ Math.sqrt(Math.max(0, baseRealFreeLevels - this.level))
Expand Down

0 comments on commit cb89600

Please sign in to comment.