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

View File

@ -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);