调整【联军盛宴】ai

This commit is contained in:
157 2024-01-20 16:11:17 +08:00
parent e068ca3b56
commit 070c4be5ce
1 changed files with 1 additions and 3 deletions

View File

@ -671,9 +671,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
list.push('摸'+(num-i)+'回'+i);
}
target.chooseControl(list).set('prompt','请分配自己的摸牌数和回复量').ai=function(){
if(player.hasSkill('diaohulishan')) return 0;
if(_status._aozhan) return list.length-1;
return list.randomGet();
return Math.min(_status.event.player.getDamagedHp()-1,list.length-1);
};
}
}