You get latest content at a time when data will updated
Automaticaly take backup as par schedule
Allow to show public user message
白日门传奇添加商场物品详细说明,今天测试添加一个绑定元宝兑换券,记录一下添加过程 首先是添加物品,itemde...
白日门传奇添加商场物品详细说明,今天测试添加一个绑定元宝兑换券,记录一下添加过程
首先是添加物品,itemdef.csv里添加如下:简单示例,没有做详细说明
23070001 2 40000006 绑定元宝兑换券 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 100000000 充值货币用处很多 0 0 0 0 0 0 0 0 0 0 0 0 1 0
然后商场文件添加显示,store.csv添加:
81017 81017 1 23070001 1 14 1 1 0 0 0 0 0 0 0 0 0 0 0 绑定元宝兑换券
前端lua也需要添加,不然lua会报错。
src\app\data\itemdef.lua中添加
[23070001] = {
["mTypeID"] = 23070001,
["SubType"] = 4,
["mIconID"] = 20000516,
["mName"] = "绑定元宝兑换券",
["mColor"] = 0,
["mWeight"] = 0,
["mEquipType"] = 0,
["mNeedType"] = 0,
["mNeedParam"] = 1,
["mPrice"] = 100,
["mNeedZsLevel"] = 0,
["mEquipLevel"] = 0,
["mJob"] = 0,
["mGender"] = 0,
["mEquipGroup"] = 0,
["mEquipComp"] = 0,
["mEquipContribute"] = 0,
["mShowDest"] = 0,
["mAddPower"] = 0,
["mItemBg"] = 5,
["recycle"] = {0},
["mRecycleExp"] = 0,
["mRecycleId"] = 0,
["mCanUse"] = 1,
["mCanDestroy"] = 1,
["mCanDepot"] = 1,
["mCanPush"] = 0,
["mBagShow"] = 1,
["mTimesLimit"] = 0,
["func_id"] = 1,
["func_params"] = "110;5;50",
["mCanMultiUse"] = 1,
["mGiveFlag"] = 2,
["mGiveValue"] = 0,
["mDesp"] = "绑定元宝兑换券",
["mSource"] = "来源于:充值返还",
["mGZEffectID"] = 0,
["mSubEquipType"] = 0,
["mDropProtect"] = 0,
["mMaxLevel"] = 0,
["attr"] = "0",
["baseattrprop"] = "0",
["lastattrprop"] = "0",
["randMDC"] = 0,
["randMAC"] = 0,
["mPickUpType"] = 1049,
["mEffectID"] = 0,
["mRank"] = 0,
["upLevel"] = 0,
["skillId"] = 0,
},
[23070001] = {
["type_id"] = 23070001,
["mResMale"] = 0,
["mResFemale"] = 0,
["script"] = "item.chufa.onUseItem",
["mResInner"] = 0,
},
还有一个src\app\data\itemStack.lua
[23070001] = {
["typeID"] = 23070001,
["mName"] = "绑定元宝兑换券",
["mStackMax"] = 99999,
},