mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +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);
|
||||
if (this.logging.general) {
|
||||
let extraLog = "";
|
||||
if (Player.hp.current > currentHp) {
|
||||
if (person.hp.current > currentHp) {
|
||||
extraLog += ` Restored ${formatHp(BladeburnerConstants.HrcHpGain)} HP. Current HP is ${formatHp(
|
||||
Player.hp.current,
|
||||
person.hp.current,
|
||||
)}.`;
|
||||
}
|
||||
if (this.stamina > currentStamina) {
|
||||
|
||||
Reference in New Issue
Block a user