From 2232bfd43c638b122b66662accecd8f7b80783a2 Mon Sep 17 00:00:00 2001 From: copcap Date: Fri, 28 Jul 2023 10:14:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=9D=92=E9=BE=99=E5=88=80?= =?UTF-8?q?=E5=92=8C=E7=95=8C=E5=88=98=E5=A4=87=E7=9A=84=E5=90=84=E4=B8=80?= =?UTF-8?q?=E4=B8=AAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/standard.js | 4 +++- character/refresh.js | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/card/standard.js b/card/standard.js index fd2407cb6..87d8fd2ad 100644 --- a/card/standard.js +++ b/card/standard.js @@ -2158,8 +2158,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){ player.chooseToUse(get.prompt('qinglong',trigger.target),function(card,player,event){ if(get.name(card)!='sha') return false; if(player.getEquip('qinglong')==card) return false; + var target=_status.event.targetx; + if(!lib.filter.targetEnabled(card,player,target)) return false; return lib.filter.filterCard.apply(this,arguments); - },trigger.target,-1).set('addCount',false).logSkill='qinglong_skill'; + },trigger.target,-1).set('targetx',trigger.target).set('addCount',false).logSkill='qinglong_skill'; } }, zhangba_skill:{ diff --git a/character/refresh.js b/character/refresh.js index 71fe4ee18..a241b1075 100755 --- a/character/refresh.js +++ b/character/refresh.js @@ -12014,6 +12014,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } player.storage.rerende2.push(target); player.give(cards,target); + 'step 1' if(typeof player.storage.rerende!='number'){ player.storage.rerende=0; } @@ -12081,7 +12082,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else{ event.finish(); } - 'step 1' + 'step 2' if(result&&result.bool&&result.links[0]){ var card={name:result.links[0][2],nature:result.links[0][3]}; player.chooseUseTarget(card,true);