Update getActionEstimatedSuccessChance

ns.bladeburner.getActionEstimatedSuccessChance("general", "Diplomacy") returned [-1, -1] (as well as "Hyperbolic Regeneration Chamber"), even though both tasks automatically succeed. Also Training and Field Analysis both previously returned [1, 1].
This commit is contained in:
brubsby 2021-08-27 17:06:01 -05:00 committed by GitHub
parent bcb0606900
commit b372f23b6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1809,6 +1809,8 @@ export class Bladeburner implements IBladeburner {
case ActionTypes["Training"]:
case ActionTypes["Field Analysis"]:
case ActionTypes["FieldAnalysis"]:
case ActionTypes["Diplomacy"]:
case ActionTypes["Hyperbolic Regeneration Chamber"]:
return [1, 1];
case ActionTypes["Recruitment"]:
const recChance = this.getRecruitmentSuccessChance(player);
@ -2001,4 +2003,4 @@ export class Bladeburner implements IBladeburner {
}
}
Reviver.constructors.Bladeburner = Bladeburner;
Reviver.constructors.Bladeburner = Bladeburner;