From 18da17fb0004d50dfb6f084e32918033811ce729 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Mon, 8 Jan 2024 10:11:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A5=9E=E5=BC=A0=E8=BE=BD?= =?UTF-8?q?=E3=80=90=E5=A4=BA=E9=94=90=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/extra.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/character/extra.js b/character/extra.js index 9ef4b24f5..ba97488fc 100755 --- a/character/extra.js +++ b/character/extra.js @@ -4777,7 +4777,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return list.length>0; }, check:function(event,player){ - if(get.attitude(player,event.player)>=0) return false; + if(get.attitude(_status.event.player,event.player)>=0) return false; if(event.getParent('phaseUse').skipped) return true; var nd=player.needsToDiscard(); return player.countCards('h',function(card){ @@ -7015,8 +7015,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ source:'damageSource' }, filter:function(event,player){ + if(get.attitude(_status.event.player,event.player)>=0) return false; if(player.storage.drlt_duorui.length) return false; - return player!=event.player&&event.player.isIn()&&_status.currentPhase==player; + return event.player.isIn()&&_status.currentPhase==player; }, check:function(event,player){ if(player.hasEnabledSlot()&&!player.hasEnabledSlot(5)) return false;