fix: integer formatting, exploration durations, runestone preview, and gold achievement tracking
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m8s
CI / Lint, Build & Test (pull_request) Failing after 1m12s

Closes #199
Closes #203
Closes #204
Closes #219
Closes #220
Closes #231
Closes #232
This commit is contained in:
2026-04-06 12:42:40 -07:00
committed by Naomi Carrigan
parent e53a25290b
commit 1c10df88fb
12 changed files with 170 additions and 105 deletions
+4 -1
View File
@@ -462,7 +462,10 @@ const maxBaseRunestones = 200;
*/
export const computeProjectedRunestones = (state: GameState): number => {
const { count, purchasedUpgradeIds } = state.prestige;
const threshold = basePrestigeThreshold * Math.pow(count + 1, 2);
const thresholdMult: number
= state.transcendence?.echoPrestigeThresholdMultiplier ?? 1;
const threshold
= basePrestigeThreshold * Math.pow(count + 1, 2) * thresholdMult;
const base = Math.min(
Math.floor(Math.cbrt(state.player.totalGoldEarned / threshold))
* runestonesPerPrestigeLevelClient,