Skip to content

Commit

Permalink
Merge pull request #567 from HypertextEye/offerings
Browse files Browse the repository at this point in the history
fix late game offerings
  • Loading branch information
Pseudonian authored Oct 13, 2023
2 parents b04ea9e + aa80306 commit 5146c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Calculate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export function calculateOfferings(input: resetNames, calcMult = true, statistic
}
a += 1 / 200 * G.rune5level * G.effectiveLevelMult * (1 + player.researches[85] / 200)
a *= (1 + Math.pow(Decimal.log(player.reincarnationShards.add(1), 10), 2 / 3) / 4)
a *= Math.min(Math.pow(player.reincarnationcounter / 10, 2), 1)
a *= Math.min(Math.pow(player.reincarnationcounter / 10 + 1, 2), 1)
if (player.reincarnationcounter >= 5) {
a *= Math.max(1, player.reincarnationcounter / 10)
}
Expand Down

0 comments on commit 5146c05

Please sign in to comment.