mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-01-08 22:37:37 +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.agility = 0;
|
||||||
this.exp.charisma = 0;
|
this.exp.charisma = 0;
|
||||||
this.updateStatLevels();
|
this.updateStatLevels();
|
||||||
|
this.hp.current = this.hp.max;
|
||||||
|
|
||||||
// Reset task-related stuff
|
// Reset task-related stuff
|
||||||
this.stopWork(p);
|
this.stopWork(p);
|
||||||
@ -440,6 +441,9 @@ export class Sleeve extends Person {
|
|||||||
case "Diplomacy":
|
case "Diplomacy":
|
||||||
this.startWork(p, new SleeveBladeburnerWork({ type: "General", name: "Diplomacy" }));
|
this.startWork(p, new SleeveBladeburnerWork({ type: "General", name: "Diplomacy" }));
|
||||||
return true;
|
return true;
|
||||||
|
case "Hyperbolic Regeneration Chamber":
|
||||||
|
this.startWork(p, new SleeveBladeburnerWork({ type: "General", name: "Hyperbolic Regeneration Chamber" }));
|
||||||
|
return true;
|
||||||
case "Infiltrate synthoids":
|
case "Infiltrate synthoids":
|
||||||
this.startWork(p, new SleeveInfiltrateWork());
|
this.startWork(p, new SleeveInfiltrateWork());
|
||||||
return true;
|
return true;
|
||||||
|
@ -35,6 +35,7 @@ const bladeburnerSelectorOptions: string[] = [
|
|||||||
"Field analysis",
|
"Field analysis",
|
||||||
"Recruitment",
|
"Recruitment",
|
||||||
"Diplomacy",
|
"Diplomacy",
|
||||||
|
"Hyperbolic Regeneration Chamber",
|
||||||
"Infiltrate synthoids",
|
"Infiltrate synthoids",
|
||||||
"Support main sleeve",
|
"Support main sleeve",
|
||||||
"Take on contracts",
|
"Take on contracts",
|
||||||
@ -285,6 +286,8 @@ function getABC(sleeve: Sleeve): [string, string, string] {
|
|||||||
return ["Perform Bladeburner Actions", "Diplomacy", "------"];
|
return ["Perform Bladeburner Actions", "Diplomacy", "------"];
|
||||||
case "Recruitment":
|
case "Recruitment":
|
||||||
return ["Perform Bladeburner Actions", "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