From 2f9c826393cf756d27e1acd81e4a1484503ea6fd Mon Sep 17 00:00:00 2001 From: baisebaoma Date: Fri, 12 Apr 2024 23:32:44 +0800 Subject: [PATCH] bug fixes --- jianyu.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jianyu.lua b/jianyu.lua index bd922e6..e9b0c85 100644 --- a/jianyu.lua +++ b/jianyu.lua @@ -2345,7 +2345,8 @@ local function master_on_cost(is_fun, property) not Self:isProhibited(p, data.card) end), Util.IdMapper) - local result = room:askForChoosePlayers(player, targets, 1, room.alive_players, "#jy_master_" .. property .. "-ask", + local result = room:askForChoosePlayers(player, targets, 1, #room.alive_players, + "#jy_master_" .. property .. "-ask", self.name) if #result > 0 then data.cost_data = result