From f825083463368e48bd04db9153d2fb5c9f5028c9 Mon Sep 17 00:00:00 2001 From: mengxinzxz <139629761+mengxinzxz@users.noreply.github.com> Date: Sat, 16 Sep 2023 18:10:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=91=A3=E7=BF=93=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/sp2.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/character/sp2.js b/character/sp2.js index 130c9c48c..a74df2241 100644 --- a/character/sp2.js +++ b/character/sp2.js @@ -179,11 +179,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(evt.gaintag_map[i].contains('dcjiaoxia_used')) return true; } return false; - }).length&&player.getHistory('sourceDamage',evt=>evt.card==event.card).length; + }).length&&player.getHistory('sourceDamage',evt=>evt.card==event.card).length&&!['delay','equip'].contains(get.type(event.cards[0],player)); }, direct:true, content:function(){ - var card=get.copy(trigger.cards[0]); + var card={ + name:get.name(trigger.cards[0],player), + nature:get.nature(trigger.cards[0],player), + isCard:true, + }; player.chooseUseTarget(card,get.prompt('dcjiaoxia'),false,false).set('prompt2','视为使用'+get.translation(card)).logSkill='dcjiaoxia'; }, },