跑得快传maxround无法开启进行对局
parent
9d65b49c25
commit
c3d2a97e63
|
|
@ -6,6 +6,7 @@ local EXGameInfo = {}
|
||||||
|
|
||||||
local M = EXGameInfo
|
local M = EXGameInfo
|
||||||
|
|
||||||
|
local roundTable = { 10, 15, 20 }
|
||||||
function EXGameInfo.new(blur_view)
|
function EXGameInfo.new(blur_view)
|
||||||
setmetatable(M, { __index = IGameInfo })
|
setmetatable(M, { __index = IGameInfo })
|
||||||
local self = setmetatable({}, { __index = M })
|
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["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["maxPlayers"] = peopleNum == 1 and 2 or 3 --人数 2是2人 3是三人
|
||||||
_data["rule"] = wanfa1_5 == 0 and 2 or 1 --黑桃3必出 2是选择了该玩法 1是没有该玩法
|
_data["rule"] = wanfa1_5 == 0 and 2 or 1 --黑桃3必出 2是选择了该玩法 1是没有该玩法
|
||||||
_data["showlength"] = (showCardNum + 1) % 2 --显示手牌数量 0是不显示 1是显示
|
_data["showlength"] = (showCardNum + 1) % 2 --显示手牌数量 0是不显示 1是显示
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue