From 02a21cf2d928d27930d9f9b969d0f2d457baa37d Mon Sep 17 00:00:00 2001 From: brubsby <57653502+brubsby@users.noreply.github.com> Date: Fri, 27 Aug 2021 16:13:22 -0500 Subject: [PATCH] Update all general actions to have infinity count ns.bladeburner.getActionCountRemaining("general", "Diplomacy") currently returns -1. I think it'd be more intuitive if all the general actions returned Infinity, instead of just two of them --- src/Bladeburner/Bladeburner.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Bladeburner/Bladeburner.ts b/src/Bladeburner/Bladeburner.ts index 7312d3e5d..d8900eeb9 100644 --- a/src/Bladeburner/Bladeburner.ts +++ b/src/Bladeburner/Bladeburner.ts @@ -1845,8 +1845,11 @@ export class Bladeburner implements IBladeburner { return 1; } case ActionTypes["Training"]: + case ActionTypes["Recruitment"]: case ActionTypes["Field Analysis"]: case ActionTypes["FieldAnalysis"]: + case ActionTypes["Diplomacy"]: + case ActionTypes["Hyperbolic Regeneration Chamber"]: return Infinity; default: workerScript.log("bladeburner.getActionCountRemaining", errorLogText); @@ -2001,4 +2004,4 @@ export class Bladeburner implements IBladeburner { } } -Reviver.constructors.Bladeburner = Bladeburner; \ No newline at end of file +Reviver.constructors.Bladeburner = Bladeburner;