rm sf4 penalty

This commit is contained in:
Olivier Gagnon 2022-01-05 12:35:30 -05:00
parent ae779574b0
commit 7e6976986f
4 changed files with 19 additions and 19 deletions

28
dist/vendor.bundle.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -73,8 +73,8 @@ function SF4Cost(cost: number): (player: IPlayer) => number {
return (player: IPlayer): number => {
if (player.bitNodeN === 4) return cost;
const sf4 = player.sourceFileLvl(4);
if (sf4 <= 1) return cost * 64;
if (sf4 === 2) return cost * 8;
if (sf4 <= 1) return cost * 16;
if (sf4 === 2) return cost * 4;
return cost;
};
}