feat: add prestige new game plus for #12
Some checks failed
Accessibility Checks / a11y-audit (pull_request) Successful in 4s
Smoke Test / smoke (pull_request) Failing after 6s

This commit is contained in:
Timmy Burn
2026-04-18 15:56:38 -04:00
parent 4d10a47256
commit 3c23d037b3
8 changed files with 171 additions and 11 deletions

View File

@@ -282,7 +282,8 @@ function spendProject(project) {
}
function getClickPower() {
return (1 + Math.floor(G.buildings.autocoder * 0.5) + Math.max(0, (G.phase - 1)) * 2) * G.codeBoost;
const signalMult = typeof Prestige !== 'undefined' ? Prestige.getSignalMultiplier() : 1;
return (1 + Math.floor(G.buildings.autocoder * 0.5) + Math.max(0, (G.phase - 1)) * 2) * G.codeBoost * signalMult;
}
/**