优化旧曹冲【称象】ai

This commit is contained in:
157 2023-10-01 11:27:22 +08:00 committed by GitHub
parent a040b100f9
commit 7dcb4e181e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13273,7 +13273,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return event.player!=player&&event.player.hp<=0&&player.countCards('h')>0; return event.player!=player&&event.player.hp<=0&&player.countCards('h')>0;
}, },
check:function(event,player){ check:function(event,player){
if(get.attitude(player,event.player)<0) return false; if(get.attitude(player,event.player)<=0) return false;
if(player.countCards('h',{name:['tao','jiu']})+event.player.hp<0) return false; if(player.countCards('h',{name:['tao','jiu']})+event.player.hp<0) return false;
return true; return true;
}, },