跑得快传maxround无法开启进行对局

master
罗家炜 2025-04-17 11:14:48 +08:00
parent 9d65b49c25
commit c3d2a97e63
2 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,7 @@ local EXGameInfo = {}
local M = EXGameInfo
local roundTable = { 10, 15, 20 }
function EXGameInfo.new(blur_view)
setmetatable(M, { __index = IGameInfo })
local self = setmetatable({}, { __index = M })
@ -223,7 +224,8 @@ function M:SelectedConfigData()
_data["leaf"] = handcard == 0 and 2 or handcard --手牌 1是15张2是16张
_data["opt"] = round + 1 --局数 1是10局 2是15局 3是20局
_data["opt"] = round + 1 --局数 1是10局 2是15局 3是20局 ("未知")
_data["maxRound"] = roundTable[round + 1]
_data["maxPlayers"] = peopleNum == 1 and 2 or 3 --人数 2是2人 3是三人
_data["rule"] = wanfa1_5 == 0 and 2 or 1 --黑桃3必出 2是选择了该玩法 1是没有该玩法
_data["showlength"] = (showCardNum + 1) % 2 --显示手牌数量 0是不显示 1是显示