mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
wd diff increase
This commit is contained in:
parent
3c27893aa3
commit
5470f9fdc1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -602,6 +602,7 @@ export function initBitNodeMultipliers(p: IPlayer): void {
|
|||||||
BitNodeMultipliers.StaneksGiftExtraSize = -6;
|
BitNodeMultipliers.StaneksGiftExtraSize = -6;
|
||||||
BitNodeMultipliers.PurchasedServerSoftcap = 1.3;
|
BitNodeMultipliers.PurchasedServerSoftcap = 1.3;
|
||||||
BitNodeMultipliers.CorporationSoftCap = 0.9;
|
BitNodeMultipliers.CorporationSoftCap = 0.9;
|
||||||
|
BitNodeMultipliers.WorldDaemonDifficulty = 5;
|
||||||
break;
|
break;
|
||||||
case 3: // Corporatocracy
|
case 3: // Corporatocracy
|
||||||
BitNodeMultipliers.HackingLevelMultiplier = 0.8;
|
BitNodeMultipliers.HackingLevelMultiplier = 0.8;
|
||||||
@ -621,6 +622,7 @@ export function initBitNodeMultipliers(p: IPlayer): void {
|
|||||||
BitNodeMultipliers.StaneksGiftExtraSize = -2;
|
BitNodeMultipliers.StaneksGiftExtraSize = -2;
|
||||||
BitNodeMultipliers.PurchasedServerSoftcap = 1.3;
|
BitNodeMultipliers.PurchasedServerSoftcap = 1.3;
|
||||||
BitNodeMultipliers.GangSoftcap = 0.9;
|
BitNodeMultipliers.GangSoftcap = 0.9;
|
||||||
|
BitNodeMultipliers.WorldDaemonDifficulty = 2;
|
||||||
break;
|
break;
|
||||||
case 4: // The Singularity
|
case 4: // The Singularity
|
||||||
BitNodeMultipliers.ServerMaxMoney = 0.15;
|
BitNodeMultipliers.ServerMaxMoney = 0.15;
|
||||||
@ -638,6 +640,7 @@ export function initBitNodeMultipliers(p: IPlayer): void {
|
|||||||
BitNodeMultipliers.StaneksGiftPowerMultiplier = 1.5;
|
BitNodeMultipliers.StaneksGiftPowerMultiplier = 1.5;
|
||||||
BitNodeMultipliers.StaneksGiftExtraSize = 0;
|
BitNodeMultipliers.StaneksGiftExtraSize = 0;
|
||||||
BitNodeMultipliers.PurchasedServerSoftcap = 1.2;
|
BitNodeMultipliers.PurchasedServerSoftcap = 1.2;
|
||||||
|
BitNodeMultipliers.WorldDaemonDifficulty = 3;
|
||||||
break;
|
break;
|
||||||
case 5: // Artificial intelligence
|
case 5: // Artificial intelligence
|
||||||
BitNodeMultipliers.ServerMaxMoney = 2;
|
BitNodeMultipliers.ServerMaxMoney = 2;
|
||||||
@ -654,6 +657,7 @@ export function initBitNodeMultipliers(p: IPlayer): void {
|
|||||||
BitNodeMultipliers.StaneksGiftPowerMultiplier = 1.3;
|
BitNodeMultipliers.StaneksGiftPowerMultiplier = 1.3;
|
||||||
BitNodeMultipliers.StaneksGiftExtraSize = 0;
|
BitNodeMultipliers.StaneksGiftExtraSize = 0;
|
||||||
BitNodeMultipliers.PurchasedServerSoftcap = 1.2;
|
BitNodeMultipliers.PurchasedServerSoftcap = 1.2;
|
||||||
|
BitNodeMultipliers.WorldDaemonDifficulty = 1.5;
|
||||||
break;
|
break;
|
||||||
case 6: // Bladeburner
|
case 6: // Bladeburner
|
||||||
BitNodeMultipliers.HackingLevelMultiplier = 0.35;
|
BitNodeMultipliers.HackingLevelMultiplier = 0.35;
|
||||||
@ -674,6 +678,7 @@ export function initBitNodeMultipliers(p: IPlayer): void {
|
|||||||
BitNodeMultipliers.StaneksGiftExtraSize = 2;
|
BitNodeMultipliers.StaneksGiftExtraSize = 2;
|
||||||
BitNodeMultipliers.GangSoftcap = 0.7;
|
BitNodeMultipliers.GangSoftcap = 0.7;
|
||||||
BitNodeMultipliers.CorporationSoftCap = 0.9;
|
BitNodeMultipliers.CorporationSoftCap = 0.9;
|
||||||
|
BitNodeMultipliers.WorldDaemonDifficulty = 2;
|
||||||
break;
|
break;
|
||||||
case 7: // Bladeburner 2079
|
case 7: // Bladeburner 2079
|
||||||
BitNodeMultipliers.BladeburnerRank = 0.6;
|
BitNodeMultipliers.BladeburnerRank = 0.6;
|
||||||
@ -699,6 +704,7 @@ export function initBitNodeMultipliers(p: IPlayer): void {
|
|||||||
BitNodeMultipliers.StaneksGiftExtraSize = -1;
|
BitNodeMultipliers.StaneksGiftExtraSize = -1;
|
||||||
BitNodeMultipliers.GangSoftcap = 0.7;
|
BitNodeMultipliers.GangSoftcap = 0.7;
|
||||||
BitNodeMultipliers.CorporationSoftCap = 0.9;
|
BitNodeMultipliers.CorporationSoftCap = 0.9;
|
||||||
|
BitNodeMultipliers.WorldDaemonDifficulty = 2;
|
||||||
break;
|
break;
|
||||||
case 8: // Ghost of Wall Street
|
case 8: // Ghost of Wall Street
|
||||||
BitNodeMultipliers.ScriptHackMoney = 0.3;
|
BitNodeMultipliers.ScriptHackMoney = 0.3;
|
||||||
@ -740,6 +746,7 @@ export function initBitNodeMultipliers(p: IPlayer): void {
|
|||||||
BitNodeMultipliers.StaneksGiftExtraSize = 2;
|
BitNodeMultipliers.StaneksGiftExtraSize = 2;
|
||||||
BitNodeMultipliers.GangSoftcap = 0.8;
|
BitNodeMultipliers.GangSoftcap = 0.8;
|
||||||
BitNodeMultipliers.CorporationSoftCap = 0.9;
|
BitNodeMultipliers.CorporationSoftCap = 0.9;
|
||||||
|
BitNodeMultipliers.WorldDaemonDifficulty = 2;
|
||||||
break;
|
break;
|
||||||
case 10: // Digital Carbon
|
case 10: // Digital Carbon
|
||||||
BitNodeMultipliers.HackingLevelMultiplier = 0.2;
|
BitNodeMultipliers.HackingLevelMultiplier = 0.2;
|
||||||
@ -768,6 +775,7 @@ export function initBitNodeMultipliers(p: IPlayer): void {
|
|||||||
BitNodeMultipliers.PurchasedServerSoftcap = 1.1;
|
BitNodeMultipliers.PurchasedServerSoftcap = 1.1;
|
||||||
BitNodeMultipliers.GangSoftcap = 0.9;
|
BitNodeMultipliers.GangSoftcap = 0.9;
|
||||||
BitNodeMultipliers.CorporationSoftCap = 0.9;
|
BitNodeMultipliers.CorporationSoftCap = 0.9;
|
||||||
|
BitNodeMultipliers.WorldDaemonDifficulty = 2;
|
||||||
break;
|
break;
|
||||||
case 11: //The Big Crash
|
case 11: //The Big Crash
|
||||||
BitNodeMultipliers.HackingLevelMultiplier = 0.5;
|
BitNodeMultipliers.HackingLevelMultiplier = 0.5;
|
||||||
@ -788,6 +796,7 @@ export function initBitNodeMultipliers(p: IPlayer): void {
|
|||||||
BitNodeMultipliers.FourSigmaMarketDataApiCost = 4;
|
BitNodeMultipliers.FourSigmaMarketDataApiCost = 4;
|
||||||
BitNodeMultipliers.PurchasedServerSoftcap = 2;
|
BitNodeMultipliers.PurchasedServerSoftcap = 2;
|
||||||
BitNodeMultipliers.CorporationSoftCap = 0.9;
|
BitNodeMultipliers.CorporationSoftCap = 0.9;
|
||||||
|
BitNodeMultipliers.WorldDaemonDifficulty = 1.5;
|
||||||
break;
|
break;
|
||||||
case 12: {
|
case 12: {
|
||||||
//The Recursion
|
//The Recursion
|
||||||
@ -861,6 +870,7 @@ export function initBitNodeMultipliers(p: IPlayer): void {
|
|||||||
BitNodeMultipliers.StaneksGiftExtraSize = inc;
|
BitNodeMultipliers.StaneksGiftExtraSize = inc;
|
||||||
BitNodeMultipliers.GangSoftcap = 0.8;
|
BitNodeMultipliers.GangSoftcap = 0.8;
|
||||||
BitNodeMultipliers.CorporationSoftCap = 0.8;
|
BitNodeMultipliers.CorporationSoftCap = 0.8;
|
||||||
|
BitNodeMultipliers.WorldDaemonDifficulty = inc;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 13: {
|
case 13: {
|
||||||
|
@ -333,6 +333,7 @@ export const CONSTANTS: {
|
|||||||
* In BN8 is it possible to reduce the money on a server without gaining any.
|
* In BN8 is it possible to reduce the money on a server without gaining any.
|
||||||
* In the options, the timestamp feature has a placeholder explaining the expected format.
|
* In the options, the timestamp feature has a placeholder explaining the expected format.
|
||||||
* Bunch of doc typo fix. (hydroflame & @BartKoppelmans & @cvr-119)
|
* Bunch of doc typo fix. (hydroflame & @BartKoppelmans & @cvr-119)
|
||||||
|
* World Daemon difficulty is increased depending on BitNode.
|
||||||
* nerf noodle bar
|
* nerf noodle bar
|
||||||
`,
|
`,
|
||||||
};
|
};
|
||||||
|
@ -116,11 +116,12 @@ function removeWorkerScript(workerScript: WorkerScript, rerenderUi = true): void
|
|||||||
for (const rs of server.runningScripts) server.updateRamUsed(server.ramUsed + rs.ramUsage * rs.threads, Player);
|
for (const rs of server.runningScripts) server.updateRamUsed(server.ramUsed + rs.ramUsage * rs.threads, Player);
|
||||||
|
|
||||||
// Delete script from global pool (workerScripts)
|
// Delete script from global pool (workerScripts)
|
||||||
const res = workerScripts.delete(workerScript.pid);
|
workerScripts.delete(workerScript.pid);
|
||||||
if (!res) {
|
// const res = workerScripts.delete(workerScript.pid);
|
||||||
console.warn(`removeWorkerScript() called with WorkerScript that wasn't in the global map:`);
|
// if (!res) {
|
||||||
console.warn(workerScript);
|
// console.warn(`removeWorkerScript() called with WorkerScript that wasn't in the global map:`);
|
||||||
}
|
// console.warn(workerScript);
|
||||||
|
// }
|
||||||
AddRecentScript(workerScript);
|
AddRecentScript(workerScript);
|
||||||
|
|
||||||
if (rerenderUi) {
|
if (rerenderUi) {
|
||||||
|
Loading…
Reference in New Issue
Block a user