张纮【劝迁】ai bugfix

This commit is contained in:
mengxinzxz 2023-10-05 18:16:30 +08:00 committed by GitHub
parent c59175e516
commit 35440556ad
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){