修复蓄谋牌移动过程中被认为可见的问题

This commit is contained in:
Spmario233 2024-01-30 23:14:13 +08:00
parent 183294ef38
commit edecb21267
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;
}