SLEEVE: FIX #3794 Sleeve were getting less shocked when hospitalized (was positive, should have detrimental)
This commit is contained in:
hydroflame 2022-07-21 02:15:17 -04:00 committed by GitHub
commit 5d3955de50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 {