From ceeb5a41734938cd77a6e75e75e8d36f2a4e3f0e Mon Sep 17 00:00:00 2001 From: Baisebaoma Date: Mon, 4 Dec 2023 22:31:31 +0800 Subject: [PATCH] Fix skl__liyuanhao's jy_huxiao bug --- jianyu.lua | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/jianyu.lua b/jianyu.lua index 6e0a51b..dc40153 100644 --- a/jianyu.lua +++ b/jianyu.lua @@ -406,14 +406,10 @@ local jy_huxiao = fk.CreateTriggerSkill{ -- frequency = Skill.Compulsory, can_trigger = function(self, event, target, player, data) if player:hasSkill(self) and data.card.trueName == "slash" then - -- 使用【杀】 - if event == fk.TargetSpecified then + -- 使用是TS,打出是CR + if event == fk.TargetSpecified or event == fk.CardResponding then return target == player end - -- 打出【杀】 - if event == fk.CardResponding then - return true - end end end, on_use = function(self, event, target, player, data)