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,
|
-- frequency = Skill.Compulsory,
|
||||||
can_trigger = function(self, event, target, player, data)
|
can_trigger = function(self, event, target, player, data)
|
||||||
if player:hasSkill(self) and data.card.trueName == "slash" then
|
if player:hasSkill(self) and data.card.trueName == "slash" then
|
||||||
-- 使用【杀】
|
-- 使用是TS,打出是CR
|
||||||
if event == fk.TargetSpecified then
|
if event == fk.TargetSpecified or event == fk.CardResponding then
|
||||||
return target == player
|
return target == player
|
||||||
end
|
end
|
||||||
-- 打出【杀】
|
|
||||||
if event == fk.CardResponding then
|
|
||||||
return true
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
on_use = function(self, event, target, player, data)
|
on_use = function(self, event, target, player, data)
|
||||||
|
|
Loading…
Reference in New Issue