twgongji修复

This commit is contained in:
lieren2023 2024-05-01 10:44:41 +08:00 committed by GitHub
parent a0e8557dcd
commit 3de5122def
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -8652,7 +8652,7 @@ game.import("character", function () {
cardUsable: function (card, player) { cardUsable: function (card, player) {
if (card.name == "sha") { if (card.name == "sha") {
const suit = get.suit(card); const suit = get.suit(card);
return suit === "unsure" || player.getStorage("twgongji2").includes(suit); if (suit === "unsure" || player.getStorage("twgongji2").includes(suit)) return Infinity;
} }
}, },
aiOrder: function (player, card, num) { aiOrder: function (player, card, num) {