From 342c727731d98e08ca77c07f009c2418c62b80c1 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Tue, 7 May 2024 11:46:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E3=80=90=E4=B9=89=E9=87=8A?= =?UTF-8?q?=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/mobile/skill.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/character/mobile/skill.js b/character/mobile/skill.js index fe06ab7c8..80dc050c4 100644 --- a/character/mobile/skill.js +++ b/character/mobile/skill.js @@ -7170,10 +7170,11 @@ const skills = { }, check: function (event, player) { return ( - get.damageEffect(event.player, player, player) < 0 || - (!event.player.hasSkillTag("noe") && + get.damageEffect(event.player, player, player) <= 0 || + (get.attitude(player, event.player) <= 0 && + !event.player.hasSkillTag("noe") && event.player.hasCard(function (card) { - return get.value(card) > 6; + return get.value(card) > 9 - event.player.hp; }, "e")) ); },