From 3425376f4b64de9fe4abf86f523f99ee8ef1e512 Mon Sep 17 00:00:00 2001 From: baisebaoma Date: Wed, 10 Apr 2024 18:26:17 +0800 Subject: [PATCH] bug fixes --- jianyu_tg.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jianyu_tg.lua b/jianyu_tg.lua index a6a95b0..188bc0f 100644 --- a/jianyu_tg.lua +++ b/jianyu_tg.lua @@ -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)