mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 13:43:49 +01:00
rm sf4 penalty
This commit is contained in:
parent
ae779574b0
commit
7e6976986f
28
dist/vendor.bundle.js
vendored
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 => {
|
return (player: IPlayer): number => {
|
||||||
if (player.bitNodeN === 4) return cost;
|
if (player.bitNodeN === 4) return cost;
|
||||||
const sf4 = player.sourceFileLvl(4);
|
const sf4 = player.sourceFileLvl(4);
|
||||||
if (sf4 <= 1) return cost * 64;
|
if (sf4 <= 1) return cost * 16;
|
||||||
if (sf4 === 2) return cost * 8;
|
if (sf4 === 2) return cost * 4;
|
||||||
return cost;
|
return cost;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user