Merge pull request #1295 from lieren2023/lieren2023-patch-7

bug fix:twgongji修复、吕雉丢一张黑色牌就可以发动鸩杀
This commit is contained in:
Spmario233 2024-05-01 21:39:33 +08:00 committed by GitHub
commit 55dd8d88f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -8656,7 +8656,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) {

View File

@ -1822,9 +1822,9 @@ game.import("character", function () {
(next.complexCard = true), (next.logSkill = ["zhensha", trigger.player]); (next.complexCard = true), (next.logSkill = ["zhensha", trigger.player]);
next.selectCard = function () { next.selectCard = function () {
if (ui.selected.cards.length) { if (ui.selected.cards.length) {
if (get.color(ui.selected.cards[0]) != "black") return [1, 1]; if (ui.selected.cards[0].name == "jiu") return [1, 1];
} }
return [1, 2]; return [2, 2];
}; };
"step 1"; "step 1";
if (result.bool) { if (result.bool) {