bug fixes
This commit is contained in:
parent
1a9d75c49a
commit
3425376f4b
|
@ -2341,7 +2341,7 @@ local zixing = fk.CreateTriggerSkill {
|
||||||
return player:hasSkill(self) and data.responseToEvent and data.responseToEvent.from == player.id and not target.dead
|
return player:hasSkill(self) and data.responseToEvent and data.responseToEvent.from == player.id and not target.dead
|
||||||
end,
|
end,
|
||||||
on_cost = function(self, event, target, player, data)
|
on_cost = function(self, event, target, player, data)
|
||||||
return player.room:askForSkillInvoke(player, self.name, nil, "#jy_zixing-prompt")
|
return player.room:askForSkillInvoke(player, self.name, data, "#jy_zixing-prompt:" .. target.id)
|
||||||
end,
|
end,
|
||||||
on_use = function(self, event, target, player, data)
|
on_use = function(self, event, target, player, data)
|
||||||
player:drawCards(2, self.name)
|
player:drawCards(2, self.name)
|
||||||
|
|
Loading…
Reference in New Issue