From 9c8c672ce370a3a60a67663905eb95cdd8bf50c5 Mon Sep 17 00:00:00 2001 From: mengxinzxz <139629761+mengxinzxz@users.noreply.github.com> Date: Wed, 30 Aug 2023 21:58:17 +0800 Subject: [PATCH] =?UTF-8?q?xianding.js=E5=9B=9E=E6=BB=9A=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/xianding.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/character/xianding.js b/character/xianding.js index 646b7b813..a395a91bc 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -4884,7 +4884,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else if(evt.type=='gain'){ var evtx=evt.getParent(); - if(evtx.giver||evtx.getParent().name=='_yongjian_zengyu') return false; + if(evtx.giver||evtx.getParent().name=='gift') return false; var cards=evtx.getg(target); if(!cards.length) return false; var cards2=evtx.getl(current).cards2; @@ -4895,7 +4895,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return false; })) guojue=true; if(!renzhi&¤t.hasHistory('gain',evt=>{ - if(evt.giver!=target||evt.getParent().name=='_yongjian_zengyu') return false; + if(evt.giver!=target||evt.getParent().name=='gift') return false; return evt.cards.length; })) renzhi=true; }); @@ -4927,7 +4927,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else if(evt.type=='gain'){ var evtx=evt.getParent(); - if(evtx.giver||evtx.getParent().name=='_yongjian_zengyu') return false; + if(evtx.giver||evtx.getParent().name=='gift') return false; var cards=evtx.getg(target); if(!cards.length) return false; var cards2=evtx.getl(current).cards2; @@ -4938,7 +4938,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return false; })) guojue=true; if(!renzhi&¤t.hasHistory('gain',evt=>{ - if(evt.giver!=target||evt.getParent().name=='_yongjian_zengyu') return false; + if(evt.giver!=target||evt.getParent().name=='gift') return false; return evt.cards.length; })) renzhi=true; });