From 45c5a195ed9967cbbc3afa0db2543ec35db39629 Mon Sep 17 00:00:00 2001 From: ciniao <4041990@qq.com> Date: Wed, 10 Jan 2024 23:08:14 +0800 Subject: [PATCH] =?UTF-8?q?addhp=E4=B8=8D=E5=BA=94=E8=AF=A5=E5=8F=96?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/shared/public/hero.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/public/hero.ts b/src/shared/public/hero.ts index dbddc83..261d609 100644 --- a/src/shared/public/hero.ts +++ b/src/shared/public/hero.ts @@ -305,7 +305,7 @@ export class HeroShared { static amendAttr(buff: k_v) { for (let k in buff) { if (typeof buff[k] != 'number') continue; - if (k.indexOf('pro') != -1 || k.indexOf('drop') != -1) continue; + if (k.indexOf('pro') != -1 || k.indexOf('drop') != -1 || k=='addhp') continue; buff[k] = Math.floor(buff[k]); } }