mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
BUGFIX: Bladeburner console prints main body's HP instead of sleeve's HP (#2390)
This commit is contained in:
@@ -1162,9 +1162,9 @@ export class Bladeburner implements OperationTeam {
|
|||||||
this.stamina = Math.min(this.maxStamina, this.stamina + staminaGain);
|
this.stamina = Math.min(this.maxStamina, this.stamina + staminaGain);
|
||||||
if (this.logging.general) {
|
if (this.logging.general) {
|
||||||
let extraLog = "";
|
let extraLog = "";
|
||||||
if (Player.hp.current > currentHp) {
|
if (person.hp.current > currentHp) {
|
||||||
extraLog += ` Restored ${formatHp(BladeburnerConstants.HrcHpGain)} HP. Current HP is ${formatHp(
|
extraLog += ` Restored ${formatHp(BladeburnerConstants.HrcHpGain)} HP. Current HP is ${formatHp(
|
||||||
Player.hp.current,
|
person.hp.current,
|
||||||
)}.`;
|
)}.`;
|
||||||
}
|
}
|
||||||
if (this.stamina > currentStamina) {
|
if (this.stamina > currentStamina) {
|
||||||
|
|||||||
Reference in New Issue
Block a user