mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
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:
parent
bcb0606900
commit
b372f23b6e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user