【振鞘】ai写反了

This commit is contained in:
157 2023-12-26 23:22:54 +08:00
parent 7e5419c0af
commit cc5dcff07d
1 changed files with 2 additions and 4 deletions

View File

@ -5455,12 +5455,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ai:{
effect:{
target:function(card,player,target){
if(player._jsrgzhenqiao_aiChecking) return;
if(target===player&&get.subtype(card)==='equip1'&&!player.getEquip(1)){
if(card.name!=='zhuge'||target.getCardUsable('sha')||!target.needsToDiscard()) return;
if(target.countCards('hs',i=>{
if(card.name!=='zhuge'||target.getCardUsable('sha')||!target.needsToDiscard()||target.countCards('hs',i=>{
return get.name(i)==='sha'&&lib.filter.cardEnabled(i,target);
})>1) return 'zeroplayertarget';
})<2) return 'zeroplayertarget';
}
}
}