From 2c46623af7fff252381f598fa6ffb577d8e5b8bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E8=B0=B7=E5=89=91=E4=BB=99?= Date: Fri, 1 Oct 2021 23:05:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4139=E6=8A=80=E8=83=BD?= =?UTF-8?q?=E7=9A=84=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script-skill-parser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script-skill-parser.js b/script-skill-parser.js index 4b873bef..87daf08d 100644 --- a/script-skill-parser.js +++ b/script-skill-parser.js @@ -1122,8 +1122,8 @@ const parsers = { return [ powerUp(flags(attrs), flags(types), p.mul({ atk: mul1 || 100 }), less1 ? c.hp(0, percent1) : c.hp(percent1, 100)), powerUp(flags(attrs), flags(types), p.mul({ atk: mul2 || 100 }), less1 ? - (less2 ? c.hp(percent1, percent2) : c.hp(percent2, 100)) : - (less2 ? c.hp(0, percent2) : c.hp(percent2, percent1)) + (less2 ? c.hp(percent1, percent2) : c.hp(percent2, 100)) : + (less2 ? c.hp(0, percent2) : c.hp(percent2, percent1 - 1)) ), ]; },