generated from nhcarrigan/template
fix: integer formatting, exploration durations, runestone preview, and gold achievement tracking
Closes #199 Closes #203 Closes #204 Closes #219 Closes #220 Closes #231 Closes #232
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user