diff --git a/apps/api/src/services/prestige.ts b/apps/api/src/services/prestige.ts index 0e6990b..41dbd43 100644 --- a/apps/api/src/services/prestige.ts +++ b/apps/api/src/services/prestige.ts @@ -23,9 +23,9 @@ const milestoneRunestonesPerInterval = 25; /* * Hard cap on the base runestone yield (before multipliers) to prevent * extreme AFK accumulation from producing game-breaking runestone counts. - * With all upgrades (5.625× max) this caps out at ~562 per prestige. + * With all upgrades (5.625× max) this caps out at ~1,125 per prestige. */ -const maxBaseRunestones = 100; +const maxBaseRunestones = 200; /** * Calculates the gold threshold required for the next prestige. diff --git a/apps/api/test/services/prestige.spec.ts b/apps/api/test/services/prestige.spec.ts index 38d8882..b3a9c39 100644 --- a/apps/api/test/services/prestige.spec.ts +++ b/apps/api/test/services/prestige.spec.ts @@ -117,9 +117,9 @@ describe("calculateRunestones", () => { }); it("caps base runestones before multipliers", () => { - // cbrt(1_331_000_000 / 1_000_000) = cbrt(1331) = 11 → 11 × 10 = 110, capped at 100 - const result = calculateRunestones({ totalGoldEarned: 1_331_000_000, prestigeCount: 0, purchasedUpgradeIds: [] }); - expect(result).toBe(100); + // cbrt(9_261_000_000 / 1_000_000) = cbrt(9261) = 21 → 21 × 10 = 210, capped at 200 + const result = calculateRunestones({ totalGoldEarned: 9_261_000_000, prestigeCount: 0, purchasedUpgradeIds: [] }); + expect(result).toBe(200); }); });