族荀采【点盏】bug修复

修复族荀采【点盏】缺少“摸一张牌”效果的bug
This commit is contained in:
mengxinzxz 2023-08-28 11:36:05 +08:00 committed by GitHub
parent 6a987eb4fa
commit c0b3a68786
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1934,11 +1934,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player.hasCard(card=>get.suit(card)==get.suit(event.card)&&player.canRecast(card),'h');
},
content:function(){
'step 0'
if(trigger.targets&&trigger.targets.length==1){
trigger.targets[0].link(true);
}
var cards=player.getCards('h',card=>get.suit(card)==get.suit(trigger.card)&&player.canRecast(card));
if(cards.length>0) player.recast(cards);
'step 1'
player.draw();
}
},
clanhuanyin:{