mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-28 16:06:15 -04:00
wip
This commit is contained in:
parent
3d3e7805d6
commit
16911620c0
16 changed files with 55 additions and 95 deletions
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue