bug fixes

This commit is contained in:
baisebaoma 2024-04-10 18:26:17 +08:00
parent 1a9d75c49a
commit 3425376f4b
1 changed files with 1 additions and 1 deletions

View File

@ -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
end,
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,
on_use = function(self, event, target, player, data)
player:drawCards(2, self.name)