mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 11:27:04 +02:00
Fixed getCrimeChance() bug
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -3601,7 +3601,7 @@ function NetscriptFunctions(workerScript) {
|
|||||||
throw makeRuntimeRejectMsg(workerScript, "Invalid crime passed into getCrimeChance(): " + crime);
|
throw makeRuntimeRejectMsg(workerScript, "Invalid crime passed into getCrimeChance(): " + crime);
|
||||||
}
|
}
|
||||||
|
|
||||||
return crime.successRate();
|
return crime.successRate(Player);
|
||||||
},
|
},
|
||||||
getOwnedAugmentations : function(purchased=false) {
|
getOwnedAugmentations : function(purchased=false) {
|
||||||
var ramCost = CONSTANTS.ScriptSingularityFn3RamCost;
|
var ramCost = CONSTANTS.ScriptSingularityFn3RamCost;
|
||||||
|
|||||||
Reference in New Issue
Block a user