优化司马师【败移】ai
This commit is contained in:
parent
7b28f3b593
commit
0403a4c260
|
@ -8055,7 +8055,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
},targets[0],targets[1])
|
},targets[0],targets[1])
|
||||||
},
|
},
|
||||||
ai:{
|
ai:{
|
||||||
order:1,
|
order:function(){
|
||||||
|
return get.order({name:'tao'})+1;
|
||||||
|
},
|
||||||
result:{
|
result:{
|
||||||
target:function(player,target){
|
target:function(player,target){
|
||||||
if(player.hasUnknown()&&target!=player.next&&target!=player.previous) return 0;
|
if(player.hasUnknown()&&target!=player.next&&target!=player.previous) return 0;
|
||||||
|
|
Loading…
Reference in New Issue