优化司马师【败移】ai

This commit is contained in:
157 2023-09-30 19:40:04 +08:00 committed by GitHub
parent 7b28f3b593
commit 0403a4c260
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -8055,7 +8055,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},targets[0],targets[1])
},
ai:{
order:1,
order:function(){
return get.order({name:'tao'})+1;
},
result:{
target:function(player,target){
if(player.hasUnknown()&&target!=player.next&&target!=player.previous) return 0;