--============================================================ -- @Author: Mark(车英达) -- @E-mail: 120006937@qq.com -- @Date: 2019-11-29 15:25:40 -- @Last Modified time: 2019-12-02 16:20:45 --============================================================ local config = { --牌型概率配置 --type 0:杂牌 1:对子 2:顺子 3:同花 4:同花顺 5:豹子 --weight权重 value价值 pokerKindList = { {type = 0,weight = 15,value = 10}, {type = 1,weight = 21,value = 30}, {type = 2,weight = 20,value = 50}, {type = 3,weight = 20,value = 80}, {type = 4,weight = 14,value = 100}, {type = 5,weight = 10,value = 150}, }, --骰子点数概率配置 -- diceList = { -- {weight = 10,point = 1}, -- {weight = 20,point = 2}, -- {weight = 20,point = 3}, -- {weight = 20,point = 4}, -- {weight = 20,point = 5}, -- {weight = 10,point = 6}, -- }, --金卡张数配置 goldenCardList = { {weight = 40,cardNum = 0}, {weight = 35,cardNum = 1}, {weight = 15,cardNum = 2}, {weight = 10,cardNum = 3}, }, --金卡翻倍倍数 goldenMultiple = 2, } function getPokerConfig( ... ) return config end