mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-13 03:03:54 +01:00
commit
a48cd2f1b4
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;
|
||||||
@ -717,7 +723,7 @@ export function initBitNodeMultipliers(p: IPlayer): void {
|
|||||||
BitNodeMultipliers.CorporationSoftCap = 0;
|
BitNodeMultipliers.CorporationSoftCap = 0;
|
||||||
break;
|
break;
|
||||||
case 9: // Hacktocracy
|
case 9: // Hacktocracy
|
||||||
BitNodeMultipliers.HackingLevelMultiplier = 0.4;
|
BitNodeMultipliers.HackingLevelMultiplier = 0.5;
|
||||||
BitNodeMultipliers.StrengthLevelMultiplier = 0.45;
|
BitNodeMultipliers.StrengthLevelMultiplier = 0.45;
|
||||||
BitNodeMultipliers.DefenseLevelMultiplier = 0.45;
|
BitNodeMultipliers.DefenseLevelMultiplier = 0.45;
|
||||||
BitNodeMultipliers.DexterityLevelMultiplier = 0.45;
|
BitNodeMultipliers.DexterityLevelMultiplier = 0.45;
|
||||||
@ -740,9 +746,10 @@ 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.35;
|
||||||
BitNodeMultipliers.StrengthLevelMultiplier = 0.4;
|
BitNodeMultipliers.StrengthLevelMultiplier = 0.4;
|
||||||
BitNodeMultipliers.DefenseLevelMultiplier = 0.4;
|
BitNodeMultipliers.DefenseLevelMultiplier = 0.4;
|
||||||
BitNodeMultipliers.DexterityLevelMultiplier = 0.4;
|
BitNodeMultipliers.DexterityLevelMultiplier = 0.4;
|
||||||
@ -768,9 +775,10 @@ 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.6;
|
||||||
BitNodeMultipliers.HackExpGain = 0.5;
|
BitNodeMultipliers.HackExpGain = 0.5;
|
||||||
BitNodeMultipliers.ServerMaxMoney = 0.1;
|
BitNodeMultipliers.ServerMaxMoney = 0.1;
|
||||||
BitNodeMultipliers.ServerStartingMoney = 0.1;
|
BitNodeMultipliers.ServerStartingMoney = 0.1;
|
||||||
@ -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,8 @@ 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.
|
||||||
|
* hacking skill nerf was loosened in some BNs.
|
||||||
* 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