部分技能ai优化

【战绝】【奇策】
This commit is contained in:
157 2023-10-06 11:57:03 +08:00 committed by GitHub
parent 4f1d76cad9
commit 2151d1fa10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -8484,6 +8484,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(target.countCards('h','sha')>1) return 'zeroplayertarget';
}
}
},
nokeep:true,
skillTagFilter:function(player,tag,arg){
if(tag==='nokeep') return (!arg||arg.card&&get.name(arg.card)==='tao')&&player.isPhaseUsing()&&player.countSkill('zhanjue_draw')<2&&player.hasCard((card)=>get.name(card)!='tao','h');
}
}
},
@ -12655,6 +12659,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return 12-num;
}
},
nokeep:true,
skillTagFilter:function(player,tag,arg){
if(tag==='nokeep') return (!arg||arg.card&&get.name(arg.card)==='tao')&&player.isPhaseUsing()&&!player.getStat('skill').qice&&player.hasCard((card)=>get.name(card)!='tao','h');
},
threaten:1.6,
}
},