bug fixes
This commit is contained in:
parent
1a9145c34c
commit
3192e7ad4b
|
@ -2302,7 +2302,7 @@ local zhanshu = fk.CreateTriggerSkill {
|
||||||
anim_type = "offensive",
|
anim_type = "offensive",
|
||||||
events = { fk.EventPhaseProceeding },
|
events = { fk.EventPhaseProceeding },
|
||||||
can_trigger = function(self, event, target, player, data)
|
can_trigger = function(self, event, target, player, data)
|
||||||
return player:hasSkill(self) and
|
return player:hasSkill(self) and target == player and
|
||||||
target.phase == Player.Play and not player:isNude()
|
target.phase == Player.Play and not player:isNude()
|
||||||
end,
|
end,
|
||||||
on_cost = function(self, event, target, player, data)
|
on_cost = function(self, event, target, player, data)
|
||||||
|
|
Loading…
Reference in New Issue