黄巾天兵符fix,改用player.hasSkill(xxx, null, null, false)

This commit is contained in:
lieren2023 2024-06-04 23:01:28 +08:00 committed by GitHub
parent 4979cf37b3
commit ea724b68a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1833,7 +1833,7 @@ game.import("card", function () {
if (get.mode() == "guozhan") { if (get.mode() == "guozhan") {
// if (player.hasSkill("hongfa")) { // if (player.hasSkill("hongfa")) {
// 村规 // 村规
if (player.skills.includes("hongfa")) { if (player.hasSkill("hongfa", null, null, false)) {
num += player.getExpansions("huangjintianbingfu").length; num += player.getExpansions("huangjintianbingfu").length;
} }
return ( return (