Update guozhan.js

This commit is contained in:
157 2024-01-20 16:14:46 +08:00
parent 070c4be5ce
commit f05b03e04e
1 changed files with 1 additions and 1 deletions

View File

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