解决冲突

This commit is contained in:
mengxinzxz 2024-01-31 00:09:37 +08:00
parent cff6ea3f6c
commit 5607f9e428
1 changed files with 3 additions and 1 deletions

View File

@ -8114,10 +8114,12 @@ export const Content = {
},
addJudge: function () {
"step 0";
const cardName = typeof card == 'string' ? card : card.name , cardInfo = lib.card[cardName];
if (cards) {
var owner = get.owner(cards[0]);
if (owner) {
event.relatedLose = owner.lose(cards, 'visible', ui.special).set('getlx', false);
event.relatedLose = owner.lose(cards, ui.special).set('getlx', false);
if (cardInfo && !cardInfo.blankCard) event.relatedLose.set('visible',true);
}
else if (get.position(cards[0]) == 'c') event.updatePile = true;
}