王濬【长驱】给牌数bugfix

This commit is contained in:
mengxinzxz 2024-03-20 17:47:33 +08:00
parent 93777058e2
commit c1ece3ef73
1 changed files with 1 additions and 1 deletions

View File

@ -3129,7 +3129,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
});
if(target.hasMark('dcchangqu_warshipx')){
var prompt2='是否交给'+get.translation(player)+get.cnNumber(num)+'张手牌?'+(nextPlayer?'若如此做,将“战舰”移动给'+get.translation(nextPlayer)+'':'')+'否则你下次受到的属性伤害值+'+num;
target.chooseCard(get.translation(player)+'对你发动了【长驱】',prompt2).set('ai',card=>{
target.chooseCard(get.translation(player)+'对你发动了【长驱】',prompt2,num).set('ai',card=>{
if(_status.event.att>0) return 15-get.value(card);
if(_status.event.take) return 0;
return 8.2-0.8*Math.min(5,_status.event.target.hp+_status.event.target.hujia)-get.value(card);