mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
getBitnodeMultipliers is available inside BN5
This commit is contained in:
parent
81fdff9068
commit
89cdecb05f
@ -1619,7 +1619,7 @@ function NetscriptFunctions(workerScript) {
|
|||||||
},
|
},
|
||||||
getBitNodeMultipliers: function() {
|
getBitNodeMultipliers: function() {
|
||||||
updateDynamicRam("getBitNodeMultipliers", getRamCost("getBitNodeMultipliers"));
|
updateDynamicRam("getBitNodeMultipliers", getRamCost("getBitNodeMultipliers"));
|
||||||
if (SourceFileFlags[5] <= 0) {
|
if (Player.bitNodeN !== 5 && SourceFileFlags[5] <= 0) {
|
||||||
throw makeRuntimeErrorMsg("getBitNodeMultipliers", "Requires Source-File 5 to run.");
|
throw makeRuntimeErrorMsg("getBitNodeMultipliers", "Requires Source-File 5 to run.");
|
||||||
}
|
}
|
||||||
let copy = Object.assign({}, BitNodeMultipliers);
|
let copy = Object.assign({}, BitNodeMultipliers);
|
||||||
|
Loading…
Reference in New Issue
Block a user