From 2f1d47b466880e58a710949bd921576ed1b28a2b Mon Sep 17 00:00:00 2001 From: borisflagell Date: Sun, 29 May 2022 21:17:04 +0200 Subject: [PATCH] SLEEVE: FIX #3794 --- src/PersonObjects/Sleeve/Sleeve.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PersonObjects/Sleeve/Sleeve.ts b/src/PersonObjects/Sleeve/Sleeve.ts index 9b49e6e22..0599e6533 100644 --- a/src/PersonObjects/Sleeve/Sleeve.ts +++ b/src/PersonObjects/Sleeve/Sleeve.ts @@ -1221,7 +1221,7 @@ export class Sleeve extends Person { this.hp -= amt; if (this.hp <= 0) { - this.shock += 0.5; + this.shock = Math.min(1, this.shock - 0.5); this.hp = this.max_hp; return true; } else {