mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 10:13:52 +01:00
SLEEVE: FIX #3794
This commit is contained in:
parent
6f017bf4f6
commit
2f1d47b466
@ -1221,7 +1221,7 @@ export class Sleeve extends Person {
|
|||||||
|
|
||||||
this.hp -= amt;
|
this.hp -= amt;
|
||||||
if (this.hp <= 0) {
|
if (this.hp <= 0) {
|
||||||
this.shock += 0.5;
|
this.shock = Math.min(1, this.shock - 0.5);
|
||||||
this.hp = this.max_hp;
|
this.hp = this.max_hp;
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user