From b312e1bcb454872cccbae263318122ed29dd7bfc Mon Sep 17 00:00:00 2001 From: ZzNoah <34055623+ZzNoah@users.noreply.github.com> Date: Wed, 31 Jan 2024 14:21:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=AE=A1=E7=AE=97=E8=AF=86?= =?UTF-8?q?=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character-generator/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/character-generator/js/main.js b/character-generator/js/main.js index 23f0e41bc..1d0de42d3 100644 --- a/character-generator/js/main.js +++ b/character-generator/js/main.js @@ -18,7 +18,7 @@ for (let i = 0; i < allItems.length; i++) { total += 2; } else if (total > 10){ total = 10; - } else if (!item.includes("头盔(+1 护甲)及盾牌(+1 护甲)") && (!item.includes("无头盔或盾牌") && (!item.includes("叠放")))) { + } else if (!item.includes("无上身防具") && (!item.includes("或") && (!item.includes("叠放")))) { total++; } }