From cc5dcff07d6f5c5225e826ae00860d3b3d599c47 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Tue, 26 Dec 2023 23:22:54 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=8C=AF=E9=9E=98=E3=80=91ai=E5=86=99?= =?UTF-8?q?=E5=8F=8D=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/jsrg.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/character/jsrg.js b/character/jsrg.js index f34c6bbb1..2d8838604 100644 --- a/character/jsrg.js +++ b/character/jsrg.js @@ -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'; } } }