mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 12:45:45 +01:00
Merge pull request #3795 from borisflagell/FIX#3794
SLEEVE: FIX #3794 Sleeve were getting less shocked when hospitalized (was positive, should have detrimental)
This commit is contained in:
commit
5d3955de50
@ -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