This commit is contained in:
Renan LE CARO 2025-04-22 13:41:39 +02:00
parent 3d3e7805d6
commit 16911620c0
16 changed files with 55 additions and 95 deletions

View file

@ -299,7 +299,7 @@ export async function openUpgradesPicker(gameState: GameState) {
help: string;
}> = pickRandomUpgrades(
gameState,
3 + gameState.perks.one_more_choice - gameState.perks.instant_upgrade,
3 + gameState.perks.one_more_choice ,
);
if (!actions.length) break;
@ -359,9 +359,6 @@ export async function openUpgradesPicker(gameState: GameState) {
gameState.rerolls--;
} else {
gameState.perks[upgradeId]++;
if (upgradeId === "instant_upgrade") {
repeats += 2;
}
gameState.runStatistics.upgrades_picked++;
}
}