无中生有添加无懈ai

This commit is contained in:
hadeszoro 2024-02-21 22:26:49 +08:00
parent 0554777aa3
commit f8253dc700
1 changed files with 9 additions and 0 deletions

View File

@ -1145,6 +1145,15 @@ game.import('card',function(lib,game,ui,get,ai,_status){
target.draw(2);
},
ai:{
wuxie:function(target,card,player,viewer){
if(get.mode()=='guozhan'){
if(!_status._aozhan){
if(!player.isMajor()){
if(!viewer.isMajor()) return 0;
}
}
}
},
basic:{
order:7.2,
useful:4.5,