From ea724b68a4fe4faa97b514866956d6de065a6565 Mon Sep 17 00:00:00 2001 From: lieren2023 <131325076+lieren2023@users.noreply.github.com> Date: Tue, 4 Jun 2024 23:01:28 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=84=E5=B7=BE=E5=A4=A9=E5=85=B5=E7=AC=A6fi?= =?UTF-8?q?x=EF=BC=8C=E6=94=B9=E7=94=A8player.hasSkill(xxx,=20null,=20null?= =?UTF-8?q?,=20false)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/guozhan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/card/guozhan.js b/card/guozhan.js index 272430b9f..be87848e2 100644 --- a/card/guozhan.js +++ b/card/guozhan.js @@ -1833,7 +1833,7 @@ game.import("card", function () { if (get.mode() == "guozhan") { // if (player.hasSkill("hongfa")) { // 村规 - if (player.skills.includes("hongfa")) { + if (player.hasSkill("hongfa", null, null, false)) { num += player.getExpansions("huangjintianbingfu").length; } return (