Merge pull request #1442 from danielyxie/dev

blade getCurrentAction says type general
This commit is contained in:
hydroflame 2021-10-08 13:17:43 -04:00 committed by GitHub
commit c674618890
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1960,6 +1960,18 @@ export class Bladeburner implements IBladeburner {
break;
}
}
const gen = [
"Training",
"Recruitment",
"FieldAnalysis",
"Field Analysis",
"Diplomacy",
"Hyperbolic Regeneration Chamber",
];
if (gen.includes(res.type)) {
res.type = "General";
}
if (res.type == null) {
res.type = "Idle";
}