From 4d3c0094a9da49562d1084ed53871d05b7a5039b Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Sat, 2 Mar 2024 19:29:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9D=9A=E5=9B=BA=20&=20=E6=A8=A1?= =?UTF-8?q?=E4=BB=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/project/plugins.js | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/public/project/plugins.js b/public/project/plugins.js index 8cafc4c..bc3eaa1 100644 --- a/public/project/plugins.js +++ b/public/project/plugins.js @@ -805,19 +805,8 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { return null; } - if (special.includes(3)) { - // 由于坚固的特性,只能放到这来计算了 - if (atk > enemy.def) heroPerDamage = 1; - else return null; - } else { - // 模仿 - if (special.includes(10)) { - monAtk = atk; - monDef = def; - } - heroPerDamage = atk - monDef; - if (heroPerDamage <= 0) return null; - } + heroPerDamage = atk - monDef; + if (heroPerDamage <= 0) return null; // 吸血 if (special.includes(11)) {