---------------------------------------------------- -- 此文件由数据工具生成 -- 大富翁数据--monopoly_data.xml -------------------------------------- Config = Config or {} Config.MonopolyData = Config.MonopolyData or {} -- -------------------const_start------------------- Config.MonopolyData.data_const_length = 9 Config.MonopolyData.data_const = { ["lev_limit"] = {val=10, desc="开放等级"}, ["item_bid"] = {val=17220, desc="寻宝之旅骰子"}, ["item_price"] = {val={{3,200},{3,300}}, desc="骰子价格"}, ["buy_time"] = {val=2, desc="单日骰子可购买次数"}, ["cell_num"] = {val=30, desc="每圈格子数量"}, ["start_grid"] = {val=1, desc="起点所在格子"}, ["end_turns"] = {val=5, desc="奖励最大圈数"}, ["monopoly_rule"] = {val=1, desc="1.寻宝之旅每个玩家每周可以进行5圈游戏。\n2.投掷骰子后角色会移动对应数量的格数,到达有奖励的格子即可获得对应奖励。\n3.骰子只能在当周使用,每天可以花费钻石购买2次额外的骰子。\n4.角色走完指定圈数后都能领取圈数达成宝箱。\n5.活动时间:每周一0:00:00-周日23:59:59。"}, ["dice_probability"] = {val={{1,30},{2,25},{3,20},{4,10},{5,10},{6,5}}, desc="点数概率"} } Config.MonopolyData.data_const_fun = function(key) local data=Config.MonopolyData.data_const[key] if DATA_DEBUG and data == nil then print('(Config.MonopolyData.data_const['..key..'])not found') return end return data end -- -------------------const_end--------------------- -- -------------------get_reward_start------------------- Config.MonopolyData.data_get_reward_length = 30 Config.MonopolyData.data_get_reward = { [1] = {pos=1, item_bid=0, num=0}, [2] = {pos=2, item_bid=1, num=10000}, [3] = {pos=3, item_bid=0, num=0}, [4] = {pos=4, item_bid=22, num=10000}, [5] = {pos=5, item_bid=0, num=0}, [6] = {pos=6, item_bid=10001, num=5}, [7] = {pos=7, item_bid=0, num=0}, [8] = {pos=8, item_bid=11401, num=1}, [9] = {pos=9, item_bid=0, num=0}, [10] = {pos=10, item_bid=29903, num=5}, [11] = {pos=11, item_bid=0, num=0}, [12] = {pos=12, item_bid=32, num=1}, [13] = {pos=13, item_bid=0, num=0}, [14] = {pos=14, item_bid=22, num=5000}, [15] = {pos=15, item_bid=0, num=0}, [16] = {pos=16, item_bid=72001, num=1}, [17] = {pos=17, item_bid=0, num=0}, [18] = {pos=18, item_bid=72002, num=1}, [19] = {pos=19, item_bid=0, num=0}, [20] = {pos=20, item_bid=72003, num=1}, [21] = {pos=21, item_bid=0, num=0}, [22] = {pos=22, item_bid=1, num=10000}, [23] = {pos=23, item_bid=0, num=0}, [24] = {pos=24, item_bid=11401, num=1}, [25] = {pos=25, item_bid=0, num=0}, [26] = {pos=26, item_bid=29903, num=5}, [27] = {pos=27, item_bid=0, num=0}, [28] = {pos=28, item_bid=22, num=10000}, [29] = {pos=29, item_bid=0, num=0}, [30] = {pos=30, item_bid=72001, num=1} } Config.MonopolyData.data_get_reward_fun = function(key) local data=Config.MonopolyData.data_get_reward[key] if DATA_DEBUG and data == nil then print('(Config.MonopolyData.data_get_reward['..key..'])not found') return end return data end -- -------------------get_reward_end--------------------- -- -------------------get_schedule_reward_start------------------- Config.MonopolyData.data_get_schedule_reward_length = 5 Config.MonopolyData.data_get_schedule_reward = { [1] = {index=1, rewards={{3,50},{1,10000},{22,10000}}}, [2] = {index=2, rewards={{3,80},{29903,2},{11401,2}}}, [3] = {index=3, rewards={{3,100},{29904,3},{11403,1}}}, [4] = {index=4, rewards={{3,150},{29905,5},{11403,2}}}, [5] = {index=5, rewards={{3,200},{29905,50},{11403,5}}} } Config.MonopolyData.data_get_schedule_reward_fun = function(key) local data=Config.MonopolyData.data_get_schedule_reward[key] if DATA_DEBUG and data == nil then print('(Config.MonopolyData.data_get_schedule_reward['..key..'])not found') return end return data end -- -------------------get_schedule_reward_end---------------------