:【幽冥传奇】手游寻宝价格修改
\Server\LogicServer\data\config\dmkj\Dmkj.lua 是主控文件控制寻宝价格,和寻宝次数DmkjConf =
{
–寻宝成本列表
DmParam =
{
–世界寻宝成本
{
寻宝次数 元宝数 消耗物品设置 物品ID 物品数量
{count=1, yb=20, item = {id = 4271,count = 1}},
{count=5, yb=100, item = {id = 4271,count = 5}},
{count=10, yb=200, item = {id = 4271,count = 10}},
},
–个人寻宝领取成本
{
{count=1, yb=20, item = {id = 4271,count = 1}},
},
–个人寻宝刷新成本
{
{count=1, yb=20, item = {id = 4271,count = 1}},
},
},
\Server\LogicServer\data\config\dmkj\Dream.lua 是寻宝物品控制文件,根据开服日期更换
itemInfo1 =
{
openDays = {1,2},—-开区第1天到第5日
circle = {1,2},
itemList =
{ 物品类型 物品ID 物品数量 是否绑定 职业 性别
{ type = 0, id = 351, count = 1, bind = 0, job = 1, sex = -1, },
更改前台展示
build_pub\Server\LogicServer\data\config\Dream
更改抽奖
\build_pub\Server\LogicServer\data\config\dmkj\DmkjClass
{ id = 351, count = 1, bind = 0, initSmithId = 31, rand = { 1, 100, }, },
物品ID 数量 绑定 模块
rand = { 1, 1, },1:1 抽一次必出以下物品
rand = { 1, 100, }, } 整列表 1%的概率出