修改知情牌的设置逻辑

This commit is contained in:
kuangthree 2023-10-28 12:50:44 +08:00
parent 9acf92d2ac
commit d7c845b2c3
1 changed files with 0 additions and 5 deletions

View File

@ -17968,12 +17968,10 @@
if(!event.chooseonly){
if(event.delay!==false){
var next=player.gain(event.cards,target,event.visibleMove?'give':'giveAuto','bySelf');
next.set('cardKnower',event.visibleMove?['everyone']:[target]);
event.done=next;
}
else{
var next=player.gain(event.cards,target,'bySelf');
next.set('cardKnower',event.visibleMove?['everyone']:[target]);
event.done=next;
target[event.visibleMove?'$give':'$giveAuto'](cards,player);
if(event.visibleMove) next.visible=true;
@ -19262,9 +19260,6 @@
next.visible=true;
}
event.relatedLose=next;
if(event.cardKnower){
next.set('cardKnower',event.cardKnower);
}
}
}
else{