修复【落宠】ai

This commit is contained in:
157 2023-12-31 15:03:32 +08:00
parent 1cdbf05a03
commit f7cadc04ac
1 changed files with 1 additions and 1 deletions

View File

@ -4725,7 +4725,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(num>1&&player.hp+player.hujia>2) return 0; if(num>1&&player.hp+player.hujia>2) return 0;
if(target==player){ if(target==player){
if(num) return -get.value(button.link,target); if(num) return -get.value(button.link,target);
if(ui.cardPile.childNodes.length>80) return 6-get.value(card,player); if(ui.cardPile.childNodes.length>80) return 6-get.value(button.link,player);
return 0; return 0;
} }
var val=get.buttonValue(button); var val=get.buttonValue(button);