修复声东击西AI的一个问题
This commit is contained in:
parent
f73859bc56
commit
e11d7793de
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue