chore: raise runestone base cap to 200
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m6s
CI / Lint, Build & Test (pull_request) Successful in 1m10s

This commit is contained in:
2026-03-24 20:08:53 -07:00
committed by Naomi Carrigan
parent 74dd3bf463
commit 0d6d05e50b
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -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);
});
});