This commit is contained in:
Sukincen 2019-06-22 23:23:17 +08:00 committed by GitHub
parent 74d9e4019b
commit 991363720f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3683,7 +3683,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return player!=target;
}).set('ai',function(target){
var player=_status.event.player;
if(player.countCards('h','sha')>player.countCards('h')/3&&player.countCards('h',{color:red})>player.countCards('h')/2) return 0;
if(player.countCards('h','sha')>player.countCards('h')/3&&player.countCards('h',{color:'red'})>player.countCards('h')/2) return 0;
if(target.countCards('he')==0) return 0.1;
return -get.attitude(_status.event.player,target);
});