Merge pull request #1295 from lieren2023/lieren2023-patch-7
bug fix:twgongji修复、吕雉丢一张黑色牌就可以发动鸩杀
This commit is contained in:
commit
55dd8d88f3
|
@ -8656,7 +8656,7 @@ game.import("character", function () {
|
|||
cardUsable: function (card, player) {
|
||||
if (card.name == "sha") {
|
||||
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) {
|
||||
|
|
|
@ -1822,9 +1822,9 @@ game.import("character", function () {
|
|||
(next.complexCard = true), (next.logSkill = ["zhensha", trigger.player]);
|
||||
next.selectCard = function () {
|
||||
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";
|
||||
if (result.bool) {
|
||||
|
|
Loading…
Reference in New Issue