Update guozhan.js
This commit is contained in:
parent
070c4be5ce
commit
f05b03e04e
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue