Fix skl__liyuanhao's jy_huxiao bug
This commit is contained in:
parent
d9d5d29d89
commit
ceeb5a4173
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue