mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
Merge pull request #4093 from coderanger/sleeve-heal
SLEEVES: FIX #3819 Allow using the regeneration chamber with sleeves to heal them.
This commit is contained in:
commit
34534ac282
@ -159,6 +159,7 @@ export class Sleeve extends Person {
|
||||
this.exp.agility = 0;
|
||||
this.exp.charisma = 0;
|
||||
this.updateStatLevels();
|
||||
this.hp.current = this.hp.max;
|
||||
|
||||
// Reset task-related stuff
|
||||
this.stopWork(p);
|
||||
@ -440,6 +441,9 @@ export class Sleeve extends Person {
|
||||
case "Diplomacy":
|
||||
this.startWork(p, new SleeveBladeburnerWork({ type: "General", name: "Diplomacy" }));
|
||||
return true;
|
||||
case "Hyperbolic Regeneration Chamber":
|
||||
this.startWork(p, new SleeveBladeburnerWork({ type: "General", name: "Hyperbolic Regeneration Chamber" }));
|
||||
return true;
|
||||
case "Infiltrate synthoids":
|
||||
this.startWork(p, new SleeveInfiltrateWork());
|
||||
return true;
|
||||
|
@ -35,6 +35,7 @@ const bladeburnerSelectorOptions: string[] = [
|
||||
"Field analysis",
|
||||
"Recruitment",
|
||||
"Diplomacy",
|
||||
"Hyperbolic Regeneration Chamber",
|
||||
"Infiltrate synthoids",
|
||||
"Support main sleeve",
|
||||
"Take on contracts",
|
||||
@ -285,6 +286,8 @@ function getABC(sleeve: Sleeve): [string, string, string] {
|
||||
return ["Perform Bladeburner Actions", "Diplomacy", "------"];
|
||||
case "Recruitment":
|
||||
return ["Perform Bladeburner Actions", "Recruitment", "------"];
|
||||
case "Hyperbolic Regeneration Chamber":
|
||||
return ["Perform Bladeburner Actions", "Hyperbolic Regeneration Chamber", "------"];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user