Merge pull request #470 from mengxinzxz/PR-Branch

bugfix
This commit is contained in:
Spmario233 2023-10-05 19:55:13 +08:00 committed by GitHub
commit a2e497a775
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -320,10 +320,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
'观看'+str+'的手牌并获得其一种花色的所有手牌',
]).set('ai',()=>{
var player=_status.event.player;
var target=_status.event.getParent().target;
var target=_status.event.target;
if(target.countCards('h')-player.countCards('h')>target.countCards('h')/4||get.attitude(player,target)>0) return 0;
return 1;
});
}).set('target',target);
}
'step 3'
if(result.index==0){