mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
added new mechanic that allows the wd to be stronger
This commit is contained in:
6
dist/vendor.bundle.js
vendored
6
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
@@ -864,8 +864,6 @@ export function initBitNodeMultipliers(p: IPlayer): void {
|
||||
break;
|
||||
}
|
||||
case 13: {
|
||||
BitNodeMultipliers.DaedalusAugsRequirement = 1.5;
|
||||
|
||||
BitNodeMultipliers.PurchasedServerSoftcap = 1.5;
|
||||
|
||||
BitNodeMultipliers.HackingLevelMultiplier = 0.3;
|
||||
@@ -905,6 +903,7 @@ export function initBitNodeMultipliers(p: IPlayer): void {
|
||||
BitNodeMultipliers.StaneksGiftExtraSize = 1;
|
||||
BitNodeMultipliers.GangSoftcap = 0.3;
|
||||
BitNodeMultipliers.CorporationSoftCap = 0.3;
|
||||
BitNodeMultipliers.WorldDaemonDifficulty = 2.5;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
||||
@@ -227,6 +227,11 @@ interface IBitNodeMultipliers {
|
||||
*/
|
||||
StaneksGiftExtraSize: number;
|
||||
|
||||
/**
|
||||
* Influences the hacking skill required to backdoor the world daemon.
|
||||
*/
|
||||
WorldDaemonDifficulty: number;
|
||||
|
||||
// Index signature
|
||||
[key: string]: number;
|
||||
}
|
||||
@@ -295,4 +300,6 @@ export const BitNodeMultipliers: IBitNodeMultipliers = {
|
||||
|
||||
StaneksGiftPowerMultiplier: 1,
|
||||
StaneksGiftExtraSize: 0,
|
||||
|
||||
WorldDaemonDifficulty: 1,
|
||||
};
|
||||
|
||||
@@ -9,6 +9,8 @@ import { createRandomIp } from "../utils/IPAddress";
|
||||
import { getRandomInt } from "../utils/helpers/getRandomInt";
|
||||
import { Reviver } from "../utils/JSONReviver";
|
||||
import { isValidIPAddress } from "../utils/helpers/isValidIPAddress";
|
||||
import { SpecialServers } from "./data/SpecialServers";
|
||||
import { BitNodeMultipliers } from "../BitNode/BitNodeMultipliers";
|
||||
|
||||
/**
|
||||
* Map of all Servers that exist in the game
|
||||
@@ -161,6 +163,9 @@ export function initForeignServers(homeComputer: Server): void {
|
||||
server.messages.push(filename);
|
||||
}
|
||||
|
||||
if (server.hostname === SpecialServers.WorldDaemon) {
|
||||
server.requiredHackingSkill *= BitNodeMultipliers.WorldDaemonDifficulty;
|
||||
}
|
||||
AddToAllServers(server);
|
||||
if (metadata.networkLayer !== undefined) {
|
||||
networkLayers[toNumber(metadata.networkLayer) - 1].push(server);
|
||||
|
||||
@@ -753,7 +753,7 @@ export function SidebarRoot(props: IProps): React.ReactElement {
|
||||
<Typography color={props.page !== Page.Options ? "secondary" : "primary"}>Options</Typography>
|
||||
</ListItemText>
|
||||
</ListItem>
|
||||
{true && (
|
||||
{process.env.NODE_ENV === "development" && (
|
||||
<ListItem
|
||||
classes={{ root: classes.listitem }}
|
||||
button
|
||||
|
||||
Reference in New Issue
Block a user