From 4a33dabdc4d7b660a0ea58e46ce9cb1bb9c509d5 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Tue, 7 May 2024 11:26:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B6=E4=BB=96ai=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/tw/skill.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/character/tw/skill.js b/character/tw/skill.js index e147f6054..886a68faf 100644 --- a/character/tw/skill.js +++ b/character/tw/skill.js @@ -14737,12 +14737,12 @@ const skills = { order: 2.9, result: { target: function (player, target) { + if (get.attitude(player, target) >= 0) return -20; var cards = ui.selected.cards.slice(0); var names = []; for (var i of cards) names.add(i.name); if (names.length < player.hp) return 0; if (player.hasUnknown() && (player.identity != "fan" || !target.isZhu)) return 0; - if (get.attitude(player, target) >= 0) return -20; return lib.card.sha.ai.result.target.apply(this, arguments); }, },