修复声东击西AI的一个问题

This commit is contained in:
copcap 2023-11-25 06:21:00 +08:00
parent f73859bc56
commit e11d7793de
No known key found for this signature in database
GPG Key ID: 30E7AB6699451AEE
1 changed files with 2 additions and 2 deletions

View File

@ -315,7 +315,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
target:function(player,target){
let hs=player.getCards('h');
if(hs.length<=1||!hs.some(i=>{
return get.value(hs[i])<5.5;
return get.value(i)<5.5;
})) return 0;
let targets=get.copy(ui.selected.targets);
if(_status.event.preTarget) targets.add(_status.event.preTarget);