Compare commits
52 Commits
cbfbda0fed
...
cq-mengge
| Author | SHA1 | Date | |
|---|---|---|---|
| 903ac666f6 | |||
| 66d96187b2 | |||
|
|
4758f7e90f | ||
| 0923c0d0a7 | |||
| 56bea22ff3 | |||
| e3fdac04bc | |||
| 4b022cde37 | |||
| e6b4ffd952 | |||
| d7bfd860dc | |||
| 3de79cc1fa | |||
| c24eb74bcf | |||
| 3c8e92a7d1 | |||
| 3c926a4f46 | |||
| e4fc710ca2 | |||
| 1a3db7fb28 | |||
| b0591ef625 | |||
| 55c8ae5fb6 | |||
| a79ce8d06f | |||
| 608e016890 | |||
| b534c950b5 | |||
| c21e705ccb | |||
| e86eec51b7 | |||
| 66ab00b3a4 | |||
| 200dc23305 | |||
| de74aaf33a | |||
| 9609ad494d | |||
|
|
c808fa1764 | ||
|
|
0c1a372c03 | ||
|
|
337a8a665b | ||
|
|
403a2f66a3 | ||
|
|
7db9bad826 | ||
|
|
35098f622e | ||
|
|
a08db6e4a1 | ||
|
|
53d3e0b443 | ||
|
|
1754817df3 | ||
|
|
5f2f15e35c | ||
|
|
b68afd74bf | ||
|
|
812bece708 | ||
|
|
ffce1d7753 | ||
|
|
17f3c9c9a3 | ||
|
|
3f69a84c26 | ||
|
|
30d8e8b90b | ||
|
|
dd5dde1ac5 | ||
|
|
af106594d1 | ||
|
|
bc24c9f2b4 | ||
|
|
c4912fd3af | ||
|
|
857ba6ce45 | ||
|
|
73aad793dd | ||
|
|
b6ad89a12c | ||
| a230d62bfc | |||
|
|
6ff25a47b9 | ||
|
|
2f55a178b5 |
@@ -1,10 +1,10 @@
|
||||
const fs = require('fs')
|
||||
const key = "UpstarConfig"
|
||||
const values = [0, 1387, 10, 500, 10000, 5, 0] // 等级,物品ID,属性调整,元宝花费,升级概率
|
||||
const interval = [1, 0, 15, 50, -450, 10, 1]
|
||||
const num = 21
|
||||
const start = () => {
|
||||
const template = `"S1": {
|
||||
module.exports = {
|
||||
key: "UpstarConfig",
|
||||
desc: "等级,物品ID,属性调整,元宝花费,升级概率",
|
||||
values: [0, 1387, 10, 500, 10000, 5, 0],
|
||||
interval: [1, 0, 15, 50, -450, 10, 1],
|
||||
num: 21,
|
||||
template: `"S1": {
|
||||
"consume": [
|
||||
{
|
||||
"id": 4,
|
||||
@@ -51,16 +51,5 @@ const start = () => {
|
||||
}
|
||||
],
|
||||
"rate": S5
|
||||
}`
|
||||
const getStr = (index) => {
|
||||
let str = template
|
||||
values.forEach((v, i) => {
|
||||
const reg = new RegExp(`S${i + 1}`, 'g')
|
||||
str = str.replace(reg, v + index * interval[i])
|
||||
})
|
||||
return str
|
||||
}
|
||||
const content = Array(num).fill(1).map((e, i) => `${getStr(i)}`).join(',')
|
||||
fs.writeFileSync(`./dist/${key}.txt`, content)
|
||||
}
|
||||
start()
|
||||
}`,
|
||||
};
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1 +1,4 @@
|
||||
{"2":{"staticcounttype":30,"type":2,"cost":200000,"adddonate":20,"addcion":20,"limittimes":5},"3":{"staticcounttype":31,"type":3,"cost":20,"adddonate":88,"addcion":88,"limittimes":5}}
|
||||
{
|
||||
"2": { "staticcounttype": 30, "type": 2, "cost": 200000, "adddonate": 20, "addcion": 20, "limittimes": 50 },
|
||||
"3": { "staticcounttype": 31, "type": 3, "cost": 20, "adddonate": 88, "addcion": 88, "limittimes": 50 }
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1 +1,173 @@
|
||||
{"1":{"idx":1,"name":"免费特权","dailyAward":[],"buyAward":[{"id":474,"type":0,"count":1}],"consume":{"id":2,"type":2,"count":10000}},"2":{"idx":2,"name":"月卡","dailyAward":[{"id":302,"type":0,"count":1},{"id":269,"type":0,"count":1},{"id":261,"type":0,"count":5}],"buyAward":[{"id":249,"type":0,"count":1},{"id":302,"type":0,"count":8}],"consume":{"id":4,"type":4,"count":280}},"3":{"idx":3,"name":"大药月卡","dailyAward":[{"id":311,"type":0,"count":1}],"buyAward":[{"id":3,"type":3,"count":66},{"id":11,"type":11,"count":5}],"consume":{"id":4,"type":4,"count":1000}},"4":{"idx":4,"name":"永久卡","dailyAward":[{"id":7,"type":7,"count":10},{"id":2,"type":2,"count":200000}],"buyAward":[{"id":462,"type":0,"count":1},{"id":468,"type":0,"count":1}],"consume":{"id":4,"type":4,"count":1580}},"5":{"idx":5,"dailyAward":[],"Ybprice":2,"superRightLV":1,"name":"白卡","ViewType":2,"buyAward":[{"id":474,"type":0,"count":1},{"id":261,"type":0,"count":50},{"id":926,"type":0,"count":1},{"id":3,"type":3,"count":18},{"id":1058,"type":0,"count":1},{"id":300,"type":0,"count":2}],"pictures":["tq_p_1_1","tq_p_1_2","tq_p_1_3"],"consume":{"id":1242,"type":0,"count":2}},"6":{"idx":6,"dailyAward":[],"Ybprice":10,"superRightLV":2,"name":"绿卡","ViewType":2,"buyAward":[{"id":475,"type":0,"count":1},{"id":823,"type":0,"count":1},{"id":261,"type":0,"count":100},{"id":367,"type":0,"count":1},{"id":249,"type":0,"count":2},{"id":927,"type":0,"count":1}],"pictures":["tq_p_2_2","tq_p_2_1","tq_p_2_3"],"consume":{"id":1242,"type":0,"count":10}},"7":{"idx":7,"dailyAward":[],"Ybprice":20,"superRightLV":3,"name":"蓝卡","ViewType":2,"buyAward":[{"id":468,"type":0,"count":1},{"id":507,"type":0,"count":1},{"id":853,"type":0,"count":113},{"id":854,"type":0,"count":113},{"id":249,"type":0,"count":2},{"id":928,"type":0,"count":1}],"pictures":["tq_p_4_3","tq_p_3_1","tq_p_3_3"],"consume":{"id":1242,"type":0,"count":20}},"8":{"idx":8,"dailyAward":[],"Ybprice":70,"superRightLV":4,"name":"紫卡","ViewType":2,"buyAward":[{"id":929,"type":0,"count":1},{"id":976,"type":0,"count":1},{"id":852,"type":0,"count":30},{"id":250,"type":0,"count":2},{"id":853,"type":0,"count":450},{"id":854,"type":0,"count":450}],"pictures":["tq_p_4_2","tq_p_4_1","tq_p_3_2"],"consume":{"id":1242,"type":0,"count":70}},"9":{"idx":9,"dailyAward":[],"Ybprice":220,"superRightLV":5,"name":"橙卡","ViewType":2,"heraldid":"tq_btnt14_2","buyAward":[{"id":930,"type":0,"count":1},{"id":824,"type":0,"count":1},{"id":953,"type":0,"count":14},{"id":977,"type":0,"count":1},{"id":300,"type":0,"count":50},{"id":250,"type":0,"count":10}],"pictures":["tq_p_5_2","tq_p_5_1","tq_p_5_3"],"consume":{"id":1242,"type":0,"count":220}},"10":{"idx":10,"name":"首充卡","superRightLV":-1},"11":{"idx":11,"name":"白卡"},"12":{"idx":12,"dailyAward":[],"Ybprice":250,"superRightLV":6,"displaylimit":{"openDay":1,"vip":0},"name":"橙星","ViewType":2,"heraldid":"tq_btnt14_4","buyAward":[{"id":1073,"type":0,"count":1},{"id":1146,"type":0,"count":1},{"id":1066,"type":0,"count":300},{"id":1115,"type":0,"count":1},{"id":970,"type":0,"count":666},{"id":300,"type":0,"count":100}],"pictures":["tq_p_6_2","tq_p_6_1","tq_p_6_3"],"consume":{"id":1242,"type":0,"count":250}},"13":{"idx":13,"dailyAward":[],"Ybprice":350,"superRightLV":7,"displaylimit":{"openDay":1,"vip":0},"name":"橙月","ViewType":2,"heraldid":"tq_btnt14_3","buyAward":[{"id":1273,"type":0,"count":1},{"id":1272,"type":0,"count":1},{"id":1241,"type":0,"count":1},{"id":265,"type":0,"count":1888},{"id":970,"type":0,"count":666},{"id":852,"type":0,"count":158}],"pictures":["tq_p_7_2","tq_p_7_1","tq_p_7_3"],"consume":{"id":1242,"type":0,"count":350}}}
|
||||
{
|
||||
"1": { "idx": 1, "name": "免费特权", "dailyAward": [], "buyAward": [{ "id": 474, "type": 0, "count": 1 }], "consume": { "id": 2, "type": 2, "count": 10000 } },
|
||||
"2": {
|
||||
"idx": 2,
|
||||
"name": "月卡",
|
||||
"dailyAward": [
|
||||
{ "id": 302, "type": 0, "count": 1 },
|
||||
{ "id": 269, "type": 0, "count": 1 },
|
||||
{ "id": 261, "type": 0, "count": 5 }
|
||||
],
|
||||
"buyAward": [
|
||||
{ "id": 249, "type": 0, "count": 1 },
|
||||
{ "id": 302, "type": 0, "count": 8 }
|
||||
],
|
||||
"consume": { "id": 4, "type": 4, "count": 280 }
|
||||
},
|
||||
"3": {
|
||||
"idx": 3,
|
||||
"name": "大药月卡",
|
||||
"dailyAward": [{ "id": 311, "type": 0, "count": 1 }],
|
||||
"buyAward": [
|
||||
{ "id": 3, "type": 3, "count": 66 },
|
||||
{ "id": 11, "type": 11, "count": 5 }
|
||||
],
|
||||
"consume": { "id": 4, "type": 4, "count": 1000 }
|
||||
},
|
||||
"4": {
|
||||
"idx": 4,
|
||||
"name": "永久卡",
|
||||
"dailyAward": [
|
||||
{ "id": 7, "type": 7, "count": 10 },
|
||||
{ "id": 2, "type": 2, "count": 200000 }
|
||||
],
|
||||
"buyAward": [
|
||||
{ "id": 462, "type": 0, "count": 1 },
|
||||
{ "id": 468, "type": 0, "count": 1 }
|
||||
],
|
||||
"consume": { "id": 4, "type": 4, "count": 1580 }
|
||||
},
|
||||
"5": {
|
||||
"idx": 5,
|
||||
"dailyAward": [],
|
||||
"Ybprice": 2,
|
||||
"superRightLV": 1,
|
||||
"name": "白卡",
|
||||
"ViewType": 2,
|
||||
"buyAward": [
|
||||
{ "id": 474, "type": 0, "count": 1 },
|
||||
{ "id": 261, "type": 0, "count": 50 },
|
||||
{ "id": 926, "type": 0, "count": 1 },
|
||||
{ "id": 3, "type": 3, "count": 18 },
|
||||
{ "id": 1058, "type": 0, "count": 1 },
|
||||
{ "id": 300, "type": 0, "count": 2 }
|
||||
],
|
||||
"pictures": ["tq_p_1_1", "tq_p_1_2", "tq_p_1_3"],
|
||||
"consume": { "id": 1242, "type": 0, "count": 2 }
|
||||
},
|
||||
"6": {
|
||||
"idx": 6,
|
||||
"dailyAward": [],
|
||||
"Ybprice": 10,
|
||||
"superRightLV": 2,
|
||||
"name": "绿卡",
|
||||
"ViewType": 2,
|
||||
"buyAward": [
|
||||
{ "id": 475, "type": 0, "count": 1 },
|
||||
{ "id": 823, "type": 0, "count": 1 },
|
||||
{ "id": 261, "type": 0, "count": 100 },
|
||||
{ "id": 367, "type": 0, "count": 1 },
|
||||
{ "id": 249, "type": 0, "count": 2 },
|
||||
{ "id": 927, "type": 0, "count": 1 }
|
||||
],
|
||||
"pictures": ["tq_p_2_2", "tq_p_2_1", "tq_p_2_3"],
|
||||
"consume": { "id": 1242, "type": 0, "count": 6 }
|
||||
},
|
||||
"7": {
|
||||
"idx": 7,
|
||||
"dailyAward": [],
|
||||
"Ybprice": 20,
|
||||
"superRightLV": 3,
|
||||
"name": "蓝卡",
|
||||
"ViewType": 2,
|
||||
"buyAward": [
|
||||
{ "id": 468, "type": 0, "count": 1 },
|
||||
{ "id": 507, "type": 0, "count": 1 },
|
||||
{ "id": 853, "type": 0, "count": 113 },
|
||||
{ "id": 854, "type": 0, "count": 113 },
|
||||
{ "id": 249, "type": 0, "count": 2 },
|
||||
{ "id": 928, "type": 0, "count": 1 }
|
||||
],
|
||||
"pictures": ["tq_p_4_3", "tq_p_3_1", "tq_p_3_3"],
|
||||
"consume": { "id": 1242, "type": 0, "count": 16 }
|
||||
},
|
||||
"8": {
|
||||
"idx": 8,
|
||||
"dailyAward": [],
|
||||
"Ybprice": 70,
|
||||
"superRightLV": 4,
|
||||
"name": "紫卡",
|
||||
"ViewType": 2,
|
||||
"buyAward": [
|
||||
{ "id": 929, "type": 0, "count": 1 },
|
||||
{ "id": 976, "type": 0, "count": 1 },
|
||||
{ "id": 852, "type": 0, "count": 30 },
|
||||
{ "id": 250, "type": 0, "count": 2 },
|
||||
{ "id": 853, "type": 0, "count": 450 },
|
||||
{ "id": 854, "type": 0, "count": 450 }
|
||||
],
|
||||
"pictures": ["tq_p_4_2", "tq_p_4_1", "tq_p_3_2"],
|
||||
"consume": { "id": 1242, "type": 0, "count": 40 }
|
||||
},
|
||||
"9": {
|
||||
"idx": 9,
|
||||
"dailyAward": [],
|
||||
"Ybprice": 220,
|
||||
"superRightLV": 5,
|
||||
"name": "橙卡",
|
||||
"ViewType": 2,
|
||||
"heraldid": "tq_btnt14_2",
|
||||
"buyAward": [
|
||||
{ "id": 930, "type": 0, "count": 1 },
|
||||
{ "id": 824, "type": 0, "count": 1 },
|
||||
{ "id": 953, "type": 0, "count": 14 },
|
||||
{ "id": 977, "type": 0, "count": 1 },
|
||||
{ "id": 300, "type": 0, "count": 50 },
|
||||
{ "id": 250, "type": 0, "count": 10 }
|
||||
],
|
||||
"pictures": ["tq_p_5_2", "tq_p_5_1", "tq_p_5_3"],
|
||||
"consume": { "id": 1242, "type": 0, "count": 100 }
|
||||
},
|
||||
"10": { "idx": 10, "name": "首充卡", "superRightLV": -1 },
|
||||
"11": { "idx": 11, "name": "白卡" },
|
||||
"12": {
|
||||
"idx": 12,
|
||||
"dailyAward": [],
|
||||
"Ybprice": 250,
|
||||
"superRightLV": 6,
|
||||
"displaylimit": { "openDay": 1, "vip": 0 ,"zsLevel":11},
|
||||
"name": "橙星",
|
||||
"ViewType": 2,
|
||||
"heraldid": "tq_btnt14_4",
|
||||
"buyAward": [
|
||||
{ "id": 1073, "type": 0, "count": 1 },
|
||||
{ "id": 1146, "type": 0, "count": 1 },
|
||||
{ "id": 1066, "type": 0, "count": 300 },
|
||||
{ "id": 1115, "type": 0, "count": 1 },
|
||||
{ "id": 970, "type": 0, "count": 666 },
|
||||
{ "id": 300, "type": 0, "count": 100 }
|
||||
],
|
||||
"pictures": ["tq_p_6_2", "tq_p_6_1", "tq_p_6_3"],
|
||||
"consume": { "id": 1242, "type": 0, "count": 250 }
|
||||
},
|
||||
"13": {
|
||||
"idx": 13,
|
||||
"dailyAward": [],
|
||||
"Ybprice": 350,
|
||||
"superRightLV": 7,
|
||||
"displaylimit": { "openDay": 1, "vip": 0,"zsLevel":12},
|
||||
"name": "橙月",
|
||||
"ViewType": 2,
|
||||
"heraldid": "tq_btnt14_3",
|
||||
"buyAward": [
|
||||
{ "id": 1273, "type": 0, "count": 1 },
|
||||
{ "id": 1272, "type": 0, "count": 1 },
|
||||
{ "id": 1241, "type": 0, "count": 1 },
|
||||
{ "id": 265, "type": 0, "count": 1888 },
|
||||
{ "id": 970, "type": 0, "count": 666 },
|
||||
{ "id": 852, "type": 0, "count": 158 }
|
||||
],
|
||||
"pictures": ["tq_p_7_2", "tq_p_7_1", "tq_p_7_3"],
|
||||
"consume": { "id": 1242, "type": 0, "count": 350 }
|
||||
}
|
||||
}
|
||||
|
||||
4571
configs/Npc.json
4571
configs/Npc.json
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -604,6 +604,19 @@
|
||||
"title": "材料及药品(绿卡特权)",
|
||||
"VipLV": 2
|
||||
},
|
||||
"401": {
|
||||
"idx": 4,
|
||||
"id": 4,
|
||||
"tips": "一键回收疗伤药,需要绿卡会员",
|
||||
"Titletips": "绿卡会员可开启该道具一键回收",
|
||||
"value": 0,
|
||||
"name": "疗伤药",
|
||||
"showQuality": 0,
|
||||
"optionid": 401,
|
||||
"itemlevel": 32,
|
||||
"title": "材料及药品(绿卡特权)",
|
||||
"VipLV": 2
|
||||
},
|
||||
"5": {
|
||||
"idx": 5,
|
||||
"id": 4,
|
||||
@@ -714,7 +727,7 @@
|
||||
"tips": "一键回收7品证明,需要绿卡会员",
|
||||
"Titletips": "绿卡会员可开启该道具一键回收",
|
||||
"value": 0,
|
||||
"name": "7品证明和四象丹",
|
||||
"name": "7品证明",
|
||||
"showQuality": 2,
|
||||
"optionid": 49,
|
||||
"itemlevel": 91,
|
||||
@@ -785,6 +798,19 @@
|
||||
"itemlevel": 96,
|
||||
"title": "材料及药品(绿卡特权)",
|
||||
"VipLV": 2
|
||||
},
|
||||
"402": {
|
||||
"idx": 19,
|
||||
"id": 4,
|
||||
"tips": "一键回收四象丹,需要绿卡会员",
|
||||
"Titletips": "绿卡会员可开启该道具一键回收",
|
||||
"value": 0,
|
||||
"name": "四象丹",
|
||||
"showQuality": 4,
|
||||
"optionid": 402,
|
||||
"itemlevel": 402,
|
||||
"title": "材料及药品(绿卡特权)",
|
||||
"VipLV": 2
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1 +1,15 @@
|
||||
{"1":{"1":{"Tabshop":1,"name":"功能","title":"商城","dealtype":"兑换银两","shoptype":1,"tabname":"功能","sctype":2},"2":{"Tabshop":2,"name":"成长","title":"商城","dealtype":"兑换银两","shoptype":1,"tabname":"成长","sctype":2},"3":{"Tabshop":3,"name":"补给","title":"商城","dealtype":"兑换银两","shoptype":1,"tabname":"补给","sctype":2},"4":{"Tabshop":4,"name":"材料","title":"商城","dealtype":"兑换银两","shoptype":1,"tabname":"材料","sctype":2},"5":{"Tabshop":5,"name":"时装","title":"商城","dealtype":"兑换银两","shoptype":1,"tabname":"时装","sctype":2},"6":{"Tabshop":6,"name":"打宝","title":"商城","dealtype":"兑换银两","shoptype":1,"tabname":"打宝","sctype":2},"7":{"Tabshop":7,"name":"圣物","title":"商城","dealtype":"兑换银两","shoptype":1,"tabname":"圣物","sctype":2}},"2":{"1":{"Tabshop":1,"name":"行会商店","dealtype":"","shoptype":2,"tabname":"行会商店","sctype":0}},"3":{"1":{"Tabshop":1,"name":"杂货","title":"小贩","dealtype":"兑换绑金","shoptype":3,"tabname":"杂货","sctype":1}},"4":{"1":{"Tabshop":1,"name":"杂货","title":"杂货铺","dealtype":"兑换绑金","shoptype":4,"tabname":"杂货","sctype":1}},"6":{"1":{"Tabshop":1,"name":"战令","dealtype":"","shoptype":6,"tabname":"战令","sctype":0}}}
|
||||
{
|
||||
"1": {
|
||||
"1": { "Tabshop": 1, "name": "功能", "title": "商城", "dealtype": "兑换银两", "shoptype": 1, "tabname": "功能", "sctype": 2 },
|
||||
"2": { "Tabshop": 2, "name": "成长", "title": "商城", "dealtype": "兑换银两", "shoptype": 1, "tabname": "成长", "sctype": 2 },
|
||||
"3": { "Tabshop": 3, "name": "补给", "title": "商城", "dealtype": "兑换银两", "shoptype": 1, "tabname": "补给", "sctype": 2 },
|
||||
"4": { "Tabshop": 4, "name": "材料", "title": "商城", "dealtype": "兑换银两", "shoptype": 1, "tabname": "材料", "sctype": 2 },
|
||||
"5": { "Tabshop": 5, "name": "时装", "title": "商城", "dealtype": "兑换银两", "shoptype": 1, "tabname": "时装", "sctype": 2 },
|
||||
"6": { "Tabshop": 6, "name": "打宝", "title": "商城", "dealtype": "兑换银两", "shoptype": 1, "tabname": "打宝", "sctype": 2 },
|
||||
"7": { "Tabshop": 7, "name": "圣物", "title": "商城", "dealtype": "兑换银两", "shoptype": 1, "tabname": "圣物", "sctype": 2 }
|
||||
},
|
||||
"2": { "1": { "Tabshop": 1, "name": "行会商店", "dealtype": "", "shoptype": 2, "tabname": "行会商店", "sctype": 0 } },
|
||||
"3": { "1": { "Tabshop": 1, "name": "杂货", "title": "小贩", "dealtype": "兑换绑金", "shoptype": 3, "tabname": "杂货", "sctype": 1 } },
|
||||
"4": { "1": { "Tabshop": 1, "name": "杂货", "title": "杂货铺", "dealtype": "兑换绑金", "shoptype": 4, "tabname": "杂货", "sctype": 1 } },
|
||||
"6": { "1": { "Tabshop": 1, "name": "战令", "dealtype": "", "shoptype": 6, "tabname": "战令", "sctype": 0 } }
|
||||
}
|
||||
|
||||
@@ -1 +1,9 @@
|
||||
{"1":{"actID":1,"actIDArr":[7],"btnName":"送宝"},"2":{"actID":2,"actIDArr":[7],"btnName":"领取夺宝战宝箱"},"3":{"actID":3,"actIDArr":[8],"btnName":"送宝"},"4":{"actID":4,"actIDArr":[8],"btnName":"领取夺宝战宝箱"},"5":{"actID":5,"actIDArr":[12],"btnName":"领取独闯天涯礼包"},"6":{"actID":6,"actIDArr":[12],"btnName":"领取神速礼包"}}
|
||||
{
|
||||
"1": { "actID": 1, "actIDArr": [7], "btnName": "送宝" },
|
||||
"2": { "actID": 2, "actIDArr": [7], "btnName": "领取夺宝战宝箱" },
|
||||
"3": { "actID": 3, "actIDArr": [8], "btnName": "送宝" },
|
||||
"4": { "actID": 4, "actIDArr": [8], "btnName": "领取夺宝战宝箱" },
|
||||
"5": { "actID": 5, "actIDArr": [12], "btnName": "领取独闯天涯礼包" },
|
||||
"6": { "actID": 6, "actIDArr": [12], "btnName": "领取神速礼包" },
|
||||
"7": { "actID": 7, "actIDArr": [1818], "btnName": "拜年红包" }
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -8064,8 +8064,8 @@
|
||||
"recoverid": 100060,
|
||||
"shape": 0,
|
||||
"staitcAttrs": [
|
||||
{ "type": 3, "value": 50 },
|
||||
{ "type": 1, "value": 140 }
|
||||
{ "type": 3, "value": 50000 },
|
||||
{ "type": 1, "value": 14000 }
|
||||
],
|
||||
"suggVocation": 0,
|
||||
"suitId": 0,
|
||||
@@ -8097,8 +8097,8 @@
|
||||
"recoverid": 100061,
|
||||
"shape": 0,
|
||||
"staitcAttrs": [
|
||||
{ "type": 3, "value": 100 },
|
||||
{ "type": 1, "value": 170 }
|
||||
{ "type": 3, "value": 10000 },
|
||||
{ "type": 1, "value": 17000 }
|
||||
],
|
||||
"suggVocation": 0,
|
||||
"suitId": 0,
|
||||
@@ -8130,8 +8130,8 @@
|
||||
"recoverid": 100062,
|
||||
"shape": 0,
|
||||
"staitcAttrs": [
|
||||
{ "type": 3, "value": 150 },
|
||||
{ "type": 1, "value": 200 }
|
||||
{ "type": 3, "value": 15000 },
|
||||
{ "type": 1, "value": 20000 }
|
||||
],
|
||||
"suggVocation": 0,
|
||||
"suitId": 0,
|
||||
@@ -8155,7 +8155,7 @@
|
||||
"icon": 13001,
|
||||
"id": 248,
|
||||
"isShowUseBtn": 1,
|
||||
"itemlevel": 29,
|
||||
"itemlevel": 401,
|
||||
"itemlvl": 3,
|
||||
"name": "疗伤药",
|
||||
"packageType": 0,
|
||||
@@ -8163,8 +8163,8 @@
|
||||
"recoverid": 100063,
|
||||
"shape": 0,
|
||||
"staitcAttrs": [
|
||||
{ "type": 3, "value": 200 },
|
||||
{ "type": 1, "value": 380 }
|
||||
{ "type": 3, "value": 20000 },
|
||||
{ "type": 1, "value": 38000 }
|
||||
],
|
||||
"suggVocation": 0,
|
||||
"suitId": 0,
|
||||
@@ -9509,6 +9509,7 @@
|
||||
"isShowUseBtn": 1,
|
||||
"itemlvl": 3,
|
||||
"name": "多倍经验瓶(小)",
|
||||
"openUi": { "param1": [1, 3, 4], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverid": 0,
|
||||
@@ -9537,7 +9538,7 @@
|
||||
"id": 300,
|
||||
"itemlvl": 3,
|
||||
"name": "多倍经验瓶",
|
||||
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
|
||||
"openUi": { "param1": [1, 3, 4], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverid": 0,
|
||||
@@ -9565,6 +9566,7 @@
|
||||
"id": 301,
|
||||
"itemlvl": 3,
|
||||
"name": "多倍经验瓶(大)",
|
||||
"openUi": { "param1": [1, 3, 4], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverid": 0,
|
||||
@@ -9594,7 +9596,7 @@
|
||||
"isShowUseBtn": 1,
|
||||
"itemlvl": 3,
|
||||
"name": "精力水晶",
|
||||
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
|
||||
"openUi": { "param1": [1, 3, 4], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recoverid": 0,
|
||||
"shape": 0,
|
||||
@@ -9727,12 +9729,11 @@
|
||||
"desc": "双击使用增加99飞鞋点数",
|
||||
"dropBroadcast": 0,
|
||||
"dropGroupid": 100516,
|
||||
"dup": 9999,
|
||||
"dup": 99,
|
||||
"existScenes": [-1],
|
||||
"forcetips": 1,
|
||||
"icon": 13132,
|
||||
"id": 307,
|
||||
"isShowUseBtn": 1,
|
||||
"itemlvl": 3,
|
||||
"name": "飞鞋",
|
||||
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
|
||||
@@ -9757,12 +9758,11 @@
|
||||
"desc": "双击使用增加999飞鞋点数",
|
||||
"dropBroadcast": 0,
|
||||
"dropGroupid": 100517,
|
||||
"dup": 9999,
|
||||
"dup": 99,
|
||||
"existScenes": [-1],
|
||||
"forcetips": 1,
|
||||
"icon": 13132,
|
||||
"id": 308,
|
||||
"isShowUseBtn": 1,
|
||||
"itemlvl": 3,
|
||||
"name": "飞鞋(大)",
|
||||
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
|
||||
@@ -12275,7 +12275,7 @@
|
||||
"id": 380,
|
||||
"itemlvl": 3,
|
||||
"name": "100元代金券",
|
||||
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
|
||||
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
|
||||
@@ -12517,7 +12517,7 @@
|
||||
"isShowUseBtn": 1,
|
||||
"itemlvl": 3,
|
||||
"name": "200元代金券",
|
||||
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
|
||||
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
|
||||
@@ -12549,7 +12549,7 @@
|
||||
"isShowUseBtn": 1,
|
||||
"itemlvl": 3,
|
||||
"name": "500元代金券",
|
||||
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
|
||||
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
|
||||
@@ -12581,7 +12581,7 @@
|
||||
"isShowUseBtn": 1,
|
||||
"itemlvl": 3,
|
||||
"name": "一千元代金券",
|
||||
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
|
||||
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
|
||||
@@ -12612,7 +12612,7 @@
|
||||
"id": 391,
|
||||
"itemlvl": 3,
|
||||
"name": "两千元代金券",
|
||||
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
|
||||
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
|
||||
@@ -12643,7 +12643,7 @@
|
||||
"id": 392,
|
||||
"itemlvl": 3,
|
||||
"name": "五千元代金券",
|
||||
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
|
||||
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
|
||||
@@ -12674,7 +12674,7 @@
|
||||
"id": 393,
|
||||
"itemlvl": 3,
|
||||
"name": "一万元代金券",
|
||||
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
|
||||
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
|
||||
@@ -12705,7 +12705,7 @@
|
||||
"id": 394,
|
||||
"itemlvl": 3,
|
||||
"name": "1元代金券",
|
||||
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
|
||||
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
|
||||
@@ -12736,7 +12736,7 @@
|
||||
"id": 395,
|
||||
"itemlvl": 3,
|
||||
"name": "5元代金券",
|
||||
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
|
||||
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
|
||||
@@ -12767,7 +12767,7 @@
|
||||
"id": 396,
|
||||
"itemlvl": 3,
|
||||
"name": "10元代金券",
|
||||
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
|
||||
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
|
||||
@@ -12798,6 +12798,7 @@
|
||||
"id": 397,
|
||||
"itemlvl": 3,
|
||||
"name": "15元代金券",
|
||||
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
|
||||
@@ -12827,6 +12828,7 @@
|
||||
"id": 398,
|
||||
"itemlvl": 3,
|
||||
"name": "30元代金券",
|
||||
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
|
||||
@@ -12857,6 +12859,7 @@
|
||||
"id": 399,
|
||||
"itemlvl": 3,
|
||||
"name": "50元代金券",
|
||||
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
|
||||
@@ -12887,6 +12890,7 @@
|
||||
"id": 400,
|
||||
"itemlvl": 3,
|
||||
"name": "80元代金券",
|
||||
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
|
||||
@@ -28782,7 +28786,7 @@
|
||||
"itemEff": 5,
|
||||
"itemlvl": 3,
|
||||
"name": "银两(小)",
|
||||
"openUi": { "param1": [1, 3, 7], "type": 3, "view": "app.RecycleWin" },
|
||||
"openUi": { "param1": [1, 7, 3], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"shape": 0,
|
||||
@@ -28813,7 +28817,7 @@
|
||||
"itemEff": 5,
|
||||
"itemlvl": 3,
|
||||
"name": "银两(中)",
|
||||
"openUi": { "param1": [1, 3, 7], "type": 3, "view": "app.RecycleWin" },
|
||||
"openUi": { "param1": [1, 7, 3], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"shape": 0,
|
||||
@@ -28844,7 +28848,7 @@
|
||||
"itemEff": 5,
|
||||
"itemlvl": 3,
|
||||
"name": "银两(大)",
|
||||
"openUi": { "param1": [1, 3, 7], "type": 3, "view": "app.RecycleWin" },
|
||||
"openUi": { "param1": [1, 7, 3], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"shape": 0,
|
||||
@@ -28875,7 +28879,7 @@
|
||||
"itemEff": 5,
|
||||
"itemlvl": 3,
|
||||
"name": "银两(海量)",
|
||||
"openUi": { "param1": [1, 3, 7], "type": 3, "view": "app.RecycleWin" },
|
||||
"openUi": { "param1": [1, 7, 3], "type": 3, "view": "app.RecycleWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"shape": 0,
|
||||
@@ -29450,7 +29454,7 @@
|
||||
"icon": 13386,
|
||||
"id": 853,
|
||||
"isShowUseBtn": 1,
|
||||
"itemlevel": 91,
|
||||
"itemlevel": 402,
|
||||
"itemlvl": 3,
|
||||
"name": "四象青龙丹",
|
||||
"openUi": { "param1": [0, 2], "type": 3, "view": "app.RoleView" },
|
||||
@@ -29481,7 +29485,7 @@
|
||||
"icon": 13387,
|
||||
"id": 854,
|
||||
"isShowUseBtn": 1,
|
||||
"itemlevel": 91,
|
||||
"itemlevel": 402,
|
||||
"itemlvl": 3,
|
||||
"name": "四象白虎丹",
|
||||
"openUi": { "param1": [0, 2], "type": 3, "view": "app.RoleView" },
|
||||
@@ -29512,7 +29516,7 @@
|
||||
"icon": 13388,
|
||||
"id": 855,
|
||||
"isShowUseBtn": 1,
|
||||
"itemlevel": 91,
|
||||
"itemlevel": 402,
|
||||
"itemlvl": 3,
|
||||
"name": "四象朱雀丹",
|
||||
"openUi": { "param1": [0, 2], "type": 3, "view": "app.RoleView" },
|
||||
@@ -29544,7 +29548,7 @@
|
||||
"icon": 13389,
|
||||
"id": 856,
|
||||
"isShowUseBtn": 1,
|
||||
"itemlevel": 91,
|
||||
"itemlevel": 402,
|
||||
"itemlvl": 3,
|
||||
"name": "四象玄武丹",
|
||||
"openUi": { "param1": [0, 2], "type": 3, "view": "app.RoleView" },
|
||||
@@ -33462,7 +33466,7 @@
|
||||
"shape": 0,
|
||||
"showQuality": 5,
|
||||
"staitcAttrs": [
|
||||
{ "type": 75, "value": 10000 },
|
||||
{ "type": 75, "value": 20000 },
|
||||
{ "type": 116, "value": 100 },
|
||||
{ "type": 19, "value": 99 },
|
||||
{ "type": 17, "value": 99 },
|
||||
@@ -40504,7 +40508,7 @@
|
||||
"desc": "银针[五福],四大内功装备之一,可以激活内功宝石【银花簪】的共鸣效果",
|
||||
"dropBroadcast": -1,
|
||||
"dropEffect": 12,
|
||||
"dup": 0,
|
||||
"dup": 999,
|
||||
"existScenes": [-1],
|
||||
"icon": 13612,
|
||||
"id": 1171,
|
||||
@@ -40532,7 +40536,7 @@
|
||||
{ "type": 19, "value": 120 },
|
||||
{ "type": 17, "value": 120 },
|
||||
{ "type": 15, "value": 120 },
|
||||
{ "type": 13, "value": 1200 },
|
||||
{ "type": 13, "value": 120 },
|
||||
{ "type": 11, "value": 120 },
|
||||
{ "type": 9, "value": 120 }
|
||||
],
|
||||
@@ -40728,7 +40732,7 @@
|
||||
"desc": "心决[五福],四大内功装备之一,可以激活内功宝石【养心玉】的共鸣效果",
|
||||
"dropBroadcast": -1,
|
||||
"dropEffect": 12,
|
||||
"dup": 0,
|
||||
"dup": 999,
|
||||
"existScenes": [-1],
|
||||
"icon": 13607,
|
||||
"id": 1176,
|
||||
@@ -40951,7 +40955,7 @@
|
||||
"desc": "金印[五福],四大内功装备之一,可以激活内功宝石【金曜珠】的共鸣效果",
|
||||
"dropBroadcast": -1,
|
||||
"dropEffect": 12,
|
||||
"dup": 0,
|
||||
"dup": 999,
|
||||
"existScenes": [-1],
|
||||
"icon": 13602,
|
||||
"id": 1181,
|
||||
@@ -41174,7 +41178,7 @@
|
||||
"desc": "檀珠[五福],四大内功装备之一,可以激活内功宝石【黑檀石】的共鸣效果",
|
||||
"dropBroadcast": -1,
|
||||
"dropEffect": 12,
|
||||
"dup": 0,
|
||||
"dup": 999,
|
||||
"existScenes": [-1],
|
||||
"icon": 13597,
|
||||
"id": 1186,
|
||||
@@ -45388,7 +45392,6 @@
|
||||
"itemEff": 5,
|
||||
"itemlvl": 3,
|
||||
"name": "3万元宝代金券",
|
||||
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
|
||||
@@ -45421,7 +45424,6 @@
|
||||
"itemEff": 5,
|
||||
"itemlvl": 3,
|
||||
"name": "5万元宝代金券",
|
||||
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
|
||||
@@ -47980,7 +47982,7 @@
|
||||
"name": "霜华",
|
||||
"packageType": 1,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 1, "id": 846, "rate": 100, "type": 0 }],
|
||||
"recoverView": [{ "count": 1, "id": 845, "rate": 100, "type": 0 }],
|
||||
"recoverid": 150017,
|
||||
"shape": 48,
|
||||
"showQuality": 5,
|
||||
@@ -48091,5 +48093,294 @@
|
||||
"time": 0,
|
||||
"trade": 1,
|
||||
"type": 2
|
||||
},
|
||||
"1388": {
|
||||
"cdTime": 0,
|
||||
"colGroup": 0,
|
||||
"conds": [{ "cond": 6, "value": 1 }],
|
||||
"dealPrice": 10,
|
||||
"dealType": 0,
|
||||
"denyDestroy": 1,
|
||||
"desc": "传说级佩饰,带有烛龙的日月图案,象征烛龙的掌控之力,山海经套装之一",
|
||||
"dropBroadcast": -1,
|
||||
"dropEffect": 11,
|
||||
"dup": 0,
|
||||
"existScenes": [-1],
|
||||
"icon": 13734,
|
||||
"id": 1388,
|
||||
"itemEff": 5,
|
||||
"itemlevel": 250,
|
||||
"itemlvl": 3,
|
||||
"name": "烛龙日月佩",
|
||||
"packageType": 1,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 1, "id": 1319, "rate": 100, "type": 0 }],
|
||||
"recoverid": 150091,
|
||||
"shape": 0,
|
||||
"showQuality": 5,
|
||||
"staitcAttrs": [
|
||||
{ "type": 81, "value": 3000 },
|
||||
{ "type": 6, "value": 3000 },
|
||||
{ "type": 70, "value": 2000 },
|
||||
{ "type": 75, "value": 1500 }
|
||||
],
|
||||
"suggVocation": 0,
|
||||
"suitId": 0,
|
||||
"time": 0,
|
||||
"trade": 1,
|
||||
"type": 16
|
||||
},
|
||||
"1389": {
|
||||
"cdTime": 0,
|
||||
"colGroup": 0,
|
||||
"conds": [{ "cond": 6, "value": 1 }],
|
||||
"dealPrice": 10,
|
||||
"dealType": 0,
|
||||
"desc": "传说级靴子,带有鲲鹏的扶摇图案,象征鲲鹏的飞翔之力,山海经套装之一",
|
||||
"dropBroadcast": -1,
|
||||
"dropEffect": 12,
|
||||
"dup": 0,
|
||||
"existScenes": [-1],
|
||||
"forcetips": 0,
|
||||
"icon": 13354,
|
||||
"id": 1389,
|
||||
"iseffect": 1,
|
||||
"itemEff": 5,
|
||||
"itemlevel": 117,
|
||||
"itemlvl": 3,
|
||||
"name": "鲲鹏扶摇靴",
|
||||
"packageType": 1,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 1, "id": 845, "rate": 100, "type": 0 }],
|
||||
"recoverid": 150017,
|
||||
"shape": 0,
|
||||
"showQuality": 5,
|
||||
"staitcAttrs": [
|
||||
{ "type": 140, "value": 2400 },
|
||||
{ "type": 80, "value": 4500 },
|
||||
{ "type": 6, "value": 3000 },
|
||||
{ "type": 27, "value": 1200 },
|
||||
{ "type": 25, "value": 900 },
|
||||
{ "type": 23, "value": 1200 },
|
||||
{ "type": 21, "value": 900 },
|
||||
{ "type": 19, "value": 1100 },
|
||||
{ "type": 17, "value": 880 },
|
||||
{ "type": 15, "value": 1100 },
|
||||
{ "type": 13, "value": 880 },
|
||||
{ "type": 11, "value": 1100 },
|
||||
{ "type": 9, "value": 880 },
|
||||
{ "type": 5, "value": 16200 }
|
||||
],
|
||||
"suggVocation": 0,
|
||||
"suitId": 0,
|
||||
"time": 0,
|
||||
"trade": 1,
|
||||
"type": 9
|
||||
},
|
||||
"1390": {
|
||||
"cdTime": 0,
|
||||
"colGroup": 0,
|
||||
"conds": [{ "cond": 6, "value": 1 }],
|
||||
"dealPrice": 10,
|
||||
"dealType": 0,
|
||||
"desc": "传说级头盔,头冠上带有九尾狐的图案,象征青丘九尾狐的灵动与智慧,山海经套装之一",
|
||||
"dropBroadcast": -1,
|
||||
"dropEffect": 12,
|
||||
"dup": 0,
|
||||
"existScenes": [-1],
|
||||
"forcetips": 0,
|
||||
"icon": 13356,
|
||||
"id": 1390,
|
||||
"iseffect": 1,
|
||||
"itemEff": 5,
|
||||
"itemlevel": 117,
|
||||
"itemlvl": 3,
|
||||
"name": "青丘狐冠",
|
||||
"packageType": 1,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 1, "id": 845, "rate": 100, "type": 0 }],
|
||||
"recoverid": 150017,
|
||||
"shape": 0,
|
||||
"showQuality": 5,
|
||||
"staitcAttrs": [
|
||||
{ "type": 80, "value": 10000 },
|
||||
{ "type": 81, "value": 6000 },
|
||||
{ "type": 6, "value": 3000 },
|
||||
{ "type": 27, "value": 1200 },
|
||||
{ "type": 25, "value": 900 },
|
||||
{ "type": 23, "value": 1200 },
|
||||
{ "type": 21, "value": 900 },
|
||||
{ "type": 5, "value": 16200 }
|
||||
],
|
||||
"suggVocation": 0,
|
||||
"suitId": 0,
|
||||
"time": 0,
|
||||
"trade": 1,
|
||||
"type": 3
|
||||
},
|
||||
"1391": {
|
||||
"cdTime": 0,
|
||||
"colGroup": 0,
|
||||
"conds": [{ "cond": 6, "value": 1 }],
|
||||
"dealPrice": 10,
|
||||
"dealType": 0,
|
||||
"desc": "传说级手镯,手镯上带有精卫神鸟的图案,象征精卫神鸟的坚韧不拔,山海经套装之一",
|
||||
"dropBroadcast": -1,
|
||||
"dropEffect": 12,
|
||||
"dup": 0,
|
||||
"existScenes": [-1],
|
||||
"forcetips": 0,
|
||||
"icon": 13352,
|
||||
"id": 1391,
|
||||
"iseffect": 1,
|
||||
"itemEff": 5,
|
||||
"itemlevel": 117,
|
||||
"itemlvl": 3,
|
||||
"name": "精卫填海镯",
|
||||
"packageType": 1,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 1, "id": 845, "rate": 100, "type": 0 }],
|
||||
"recoverid": 150017,
|
||||
"shape": 0,
|
||||
"showQuality": 5,
|
||||
"staitcAttrs": [
|
||||
{ "type": 45, "value": 10 },
|
||||
{ "type": 141, "value": 3000 },
|
||||
{ "type": 64, "value": 2000 },
|
||||
{ "type": 54, "value": 4000 },
|
||||
{ "type": 6, "value": 3000 },
|
||||
{ "type": 136, "value": 2400 },
|
||||
{ "type": 19, "value": 1450 },
|
||||
{ "type": 17, "value": 1200 },
|
||||
{ "type": 15, "value": 1450 },
|
||||
{ "type": 13, "value": 1200 },
|
||||
{ "type": 11, "value": 1450 },
|
||||
{ "type": 9, "value": 1200 }
|
||||
],
|
||||
"suggVocation": 0,
|
||||
"suitId": 0,
|
||||
"time": 0,
|
||||
"trade": 1,
|
||||
"type": 6
|
||||
},
|
||||
"1392": {
|
||||
"cdTime": 0,
|
||||
"colGroup": 0,
|
||||
"conds": [{ "cond": 6, "value": 1 }],
|
||||
"dealPrice": 10,
|
||||
"dealType": 0,
|
||||
"desc": "传说级戒指,带有帝江的神兽图案,象征帝江的混沌之力,山海经套装之一",
|
||||
"dropBroadcast": -1,
|
||||
"dropEffect": 12,
|
||||
"dup": 0,
|
||||
"existScenes": [-1],
|
||||
"forcetips": 0,
|
||||
"icon": 13351,
|
||||
"id": 1392,
|
||||
"iseffect": 1,
|
||||
"itemEff": 5,
|
||||
"itemlevel": 117,
|
||||
"itemlvl": 3,
|
||||
"name": "帝江混沌戒",
|
||||
"packageType": 1,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 1, "id": 845, "rate": 100, "type": 0 }],
|
||||
"recoverid": 150017,
|
||||
"shape": 0,
|
||||
"showQuality": 5,
|
||||
"staitcAttrs": [
|
||||
{ "type": 65, "value": 500 },
|
||||
{ "type": 80, "value": 4500 },
|
||||
{ "type": 75, "value": 5000 },
|
||||
{ "type": 19, "value": 1100 },
|
||||
{ "type": 17, "value": 880 },
|
||||
{ "type": 15, "value": 1100 },
|
||||
{ "type": 13, "value": 880 },
|
||||
{ "type": 11, "value": 1100 },
|
||||
{ "type": 9, "value": 880 }
|
||||
],
|
||||
"suggVocation": 0,
|
||||
"suitId": 0,
|
||||
"time": 0,
|
||||
"trade": 1,
|
||||
"type": 7
|
||||
},
|
||||
"1393": {
|
||||
"cdTime": 0,
|
||||
"colGroup": 0,
|
||||
"conds": [{ "cond": 6, "value": 1 }],
|
||||
"dealPrice": 10,
|
||||
"dealType": 0,
|
||||
"desc": "传说级腰带,带有应龙的神兽图案,象征应龙的破天之力,山海经套装之一",
|
||||
"dropBroadcast": -1,
|
||||
"dropEffect": 12,
|
||||
"dup": 0,
|
||||
"existScenes": [-1],
|
||||
"forcetips": 0,
|
||||
"icon": 13355,
|
||||
"id": 1393,
|
||||
"iseffect": 1,
|
||||
"itemEff": 5,
|
||||
"itemlevel": 117,
|
||||
"itemlvl": 3,
|
||||
"name": "应龙破天束",
|
||||
"packageType": 1,
|
||||
"recordLog": 1,
|
||||
"recoverView": [{ "count": 1, "id": 845, "rate": 100, "type": 0 }],
|
||||
"recoverid": 150017,
|
||||
"shape": 0,
|
||||
"showQuality": 5,
|
||||
"staitcAttrs": [
|
||||
{ "type": 80, "value": 4500 },
|
||||
{ "type": 136, "value": 2500 },
|
||||
{ "type": 27, "value": 1200 },
|
||||
{ "type": 25, "value": 900 },
|
||||
{ "type": 23, "value": 1200 },
|
||||
{ "type": 21, "value": 900 },
|
||||
{ "type": 19, "value": 1100 },
|
||||
{ "type": 17, "value": 880 },
|
||||
{ "type": 15, "value": 1100 },
|
||||
{ "type": 13, "value": 880 },
|
||||
{ "type": 11, "value": 1100 },
|
||||
{ "type": 9, "value": 880 },
|
||||
{ "type": 47, "value": 8500 }
|
||||
],
|
||||
"suggVocation": 0,
|
||||
"suitId": 0,
|
||||
"time": 0,
|
||||
"trade": 1,
|
||||
"type": 8
|
||||
},
|
||||
"1394": {
|
||||
"cdTime": 0,
|
||||
"colGroup": 0,
|
||||
"conds": [],
|
||||
"dealPrice": 10,
|
||||
"dealType": 0,
|
||||
"denyDeal": 1,
|
||||
"denyDestroy": 1,
|
||||
"denySell": 1,
|
||||
"desc": "打开后随机获得三阶魔器中的任意一件,获得随机奖励",
|
||||
"dropBroadcast": 0,
|
||||
"dropGroupid": 100881,
|
||||
"dup": 9999,
|
||||
"existScenes": [-1],
|
||||
"icon": 13509,
|
||||
"id": 1394,
|
||||
"isShowUseBtn": 1,
|
||||
"iseffect": 127,
|
||||
"itemlvl": 3,
|
||||
"name": "三阶魔器宝箱",
|
||||
"packageType": 2,
|
||||
"recordLog": 1,
|
||||
"recoverid": 0,
|
||||
"shape": 0,
|
||||
"showQuality": 5,
|
||||
"staitcAttrs": [],
|
||||
"suggVocation": 0,
|
||||
"suitId": 0,
|
||||
"time": 0,
|
||||
"trade": 3,
|
||||
"type": 131
|
||||
}
|
||||
}
|
||||
|
||||
218938
configs/UpstarConfig.json
218938
configs/UpstarConfig.json
File diff suppressed because it is too large
Load Diff
@@ -1 +1,5 @@
|
||||
{"852":{"id":2,"itemid":852,"price":50},"954":{"id":1,"itemid":954,"price":10}}
|
||||
{
|
||||
"852": { "id": 2, "itemid": 852, "price": 50 },
|
||||
"954": { "id": 1, "itemid": 954, "price": 10 },
|
||||
"845": { "id": 1, "itemid": 845, "price": 1000 }
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ const zip = require("./zip.js")
|
||||
const start = () => {
|
||||
zip.start().then(() => {
|
||||
const tar = new JSZip();
|
||||
['config.xml', 'api.php', 'linuxdo.php','login.php'].forEach(e => {
|
||||
['config.xml', 'api.php', 'linuxdo.php','login.php','gameEui.json'].forEach(e => {
|
||||
const file = fs.readFileSync(e)
|
||||
tar.file(e, file);
|
||||
})
|
||||
|
||||
BIN
excels/SpecialRingConfig.xlsx
Normal file
BIN
excels/SpecialRingConfig.xlsx
Normal file
Binary file not shown.
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"jszip": "^3.10.1"
|
||||
"jszip": "^3.10.1",
|
||||
"lua-json": "^1.0.1",
|
||||
"xlsx": "^0.18.5"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "node build.js",
|
||||
|
||||
146
tools/batchSetting.js
Normal file
146
tools/batchSetting.js
Normal file
@@ -0,0 +1,146 @@
|
||||
const fs = require("fs");
|
||||
const ringType = 6;
|
||||
const YBvoucher = {
|
||||
'380': '100',
|
||||
'388': '200',
|
||||
'389': '500',
|
||||
'390': '1000',
|
||||
'391': '2000',
|
||||
'392': '5000',
|
||||
'393': '10000',
|
||||
'394': '1',
|
||||
'395': '5',
|
||||
'396': '10',
|
||||
'397': '15',
|
||||
'398': '30',
|
||||
'399': '50',
|
||||
'400': '80'
|
||||
}
|
||||
const tpls = {
|
||||
SpecialRing: {
|
||||
key: "SpecialRing",
|
||||
desc: "戒指种类,登记,伤害加倍,元宝花费",
|
||||
values: [ringType, 51, 10, 10],
|
||||
interval: [0, 1, 10, 10],
|
||||
num: 150,
|
||||
template: {
|
||||
4: `"S2": {
|
||||
"attr": [
|
||||
{ "value": S3, "type": 75 },
|
||||
{ "value": 428, "type": 76 },
|
||||
{ "value": 536, "type": 77 },
|
||||
{ "value": 55, "type": 21 },
|
||||
{ "value": 55, "type": 23 },
|
||||
{ "value": 55, "type": 25 },
|
||||
{ "value": 55, "type": 27 },
|
||||
{ "value": 5000, "type": 83 }
|
||||
],
|
||||
"lv": S2,
|
||||
"cost": [
|
||||
{ "id": 4, "type": 4, "count": S4 },
|
||||
{ "id": 1018, "type": 0, "count": 1000 }
|
||||
],
|
||||
"pos": S1
|
||||
}`,
|
||||
5: `"S2": {
|
||||
"attr": [
|
||||
{ "value": S3, "type": 75 },
|
||||
{ "value": 585, "type": 76 },
|
||||
{ "value": 1115, "type": 77 },
|
||||
{ "value": 70, "type": 21 },
|
||||
{ "value": 70, "type": 23 },
|
||||
{ "value": 70, "type": 25 },
|
||||
{ "value": 70, "type": 27 },
|
||||
{ "value": 3400, "type": 79 }
|
||||
],
|
||||
"lv": S2,
|
||||
"cost": [
|
||||
{ "id": 1022, "type": 0, "count": 1600 },
|
||||
{ "id": 4, "type": 4, "count": S4 }
|
||||
],
|
||||
"pos": S1
|
||||
}`,
|
||||
6: `"S2": {
|
||||
"attr": [
|
||||
{ "value": 1000, "type": 5 },
|
||||
{ "value": 100, "type": 76 },
|
||||
{ "value": 100, "type": 77 },
|
||||
{ "value": 2500, "type": 64 },
|
||||
{ "value": S3, "type": 75 }
|
||||
],
|
||||
"lv": S2,
|
||||
"cost": [
|
||||
{ "id": 1037, "type": 0, "count": 180 },
|
||||
{ "id": 4, "type": 4, "count": S4 }
|
||||
],
|
||||
"pos": S1
|
||||
}`,
|
||||
}[ringType],
|
||||
},
|
||||
ItemMergeConfig: {
|
||||
key: "ItemMergeConfig",
|
||||
desc: "ID1,ID2,代金券ID,元宝数",
|
||||
values: [7201, 7202,Object.keys(YBvoucher),Object.values(YBvoucher)],
|
||||
interval: [2, 2],
|
||||
num: Object.keys(YBvoucher).length,
|
||||
template: `
|
||||
"S1": {
|
||||
"circle": 0,
|
||||
"compose": { "id": 4, "type": 4, "count": S40 },
|
||||
"index": 7,
|
||||
"buttontxt10": "合成10次",
|
||||
"mergebutton10": 1,
|
||||
"text": "兑换",
|
||||
"clicklimit": 1,
|
||||
"Eid": S1,
|
||||
"second_index": 1,
|
||||
"table": [{ "id": S3, "type": 0, "count": 1 }],
|
||||
"openserverday": 1,
|
||||
"level": 1
|
||||
},
|
||||
"S2": {
|
||||
"circle": 0,
|
||||
"compose": { "id": 4, "type": 4, "count": S4000 },
|
||||
"index": 7,
|
||||
"buttontxt10": "合成10次",
|
||||
"mergebutton10": 1,
|
||||
"text": "兑换",
|
||||
"clicklimit": 1,
|
||||
"Eid": S2,
|
||||
"second_index": 1,
|
||||
"table": [{ "id": S3, "type": 0, "count": 100 }],
|
||||
"openserverday": 1,
|
||||
"level": 1
|
||||
}
|
||||
`,
|
||||
},
|
||||
};
|
||||
|
||||
const scope = [
|
||||
// "UpstarConfig",
|
||||
"ItemMergeConfig",
|
||||
].filter(Boolean);
|
||||
const start = () => {
|
||||
const configs = scope.map((key) => {
|
||||
return tpls[key];
|
||||
});
|
||||
configs.forEach((file) => {
|
||||
const { key, values, interval, num, template } = file;
|
||||
const getStr = (index) => {
|
||||
let str = template;
|
||||
values.forEach((v, i) => {
|
||||
const reg = new RegExp(`S${i + 1}`, "g");
|
||||
if (Array.isArray(v)) {
|
||||
str = str.replace(reg, v[index]);
|
||||
} else str = str.replace(reg, v + index * interval[i]);
|
||||
});
|
||||
return str;
|
||||
};
|
||||
const content = Array(num)
|
||||
.fill(1)
|
||||
.map((e, i) => `${getStr(i)}`)
|
||||
.join(",");
|
||||
fs.writeFileSync(`./dist/${key}.txt`, content);
|
||||
});
|
||||
};
|
||||
start();
|
||||
54
tools/json2excel.js
Normal file
54
tools/json2excel.js
Normal file
@@ -0,0 +1,54 @@
|
||||
const XLSX = require("xlsx");
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
const { json } = require("stream/consumers");
|
||||
const { log } = require("console");
|
||||
const folderPath = "./configs";
|
||||
const scope = [
|
||||
"SpecialRingConfig",
|
||||
// "StdItems",
|
||||
// "Monster",
|
||||
// "ItemMergeConfig",
|
||||
// "MergeConfig",
|
||||
// "NpcTransConf"
|
||||
// "MergeTotal", "RecyclingSettingConfig", "UpstarConfig",
|
||||
].filter(Boolean);
|
||||
|
||||
function handleJson2ArrayJson(jsonData) {
|
||||
const arr = [];
|
||||
const findElement = (obj) => {
|
||||
for (const key in obj) {
|
||||
if (isNaN(key) && Object.hasOwnProperty.call(obj, key)) {
|
||||
if(typeof obj[key] === "object")
|
||||
obj[key] = JSON.stringify(obj[key]);
|
||||
} else if (typeof obj[key] === "object") {
|
||||
findElement(obj[key]);
|
||||
}
|
||||
}
|
||||
arr.push(obj);
|
||||
};
|
||||
findElement(jsonData);
|
||||
return arr;
|
||||
}
|
||||
function json2excel(jsonData, fileName) {
|
||||
if (!Array.isArray(jsonData)) jsonData = Object.values(jsonData);
|
||||
const data = handleJson2ArrayJson(jsonData)?.filter(Boolean);
|
||||
|
||||
const workbook = XLSX.utils.book_new();
|
||||
const worksheet = XLSX.utils.json_to_sheet(data);
|
||||
XLSX.utils.book_append_sheet(workbook, worksheet, fileName);
|
||||
XLSX.writeFile(workbook, `./excels/${fileName}.xlsx`);
|
||||
}
|
||||
|
||||
const start = () => {
|
||||
const files = fs.readdirSync(folderPath);
|
||||
|
||||
// 过滤出所有的 JSON 文件
|
||||
const jsonFiles = files.filter((file) => path.extname(file) === ".json").filter((file) => scope.map((e) => `${e}.json`).includes(file));
|
||||
jsonFiles.forEach((file) => {
|
||||
const json = JSON.parse(fs.readFileSync(path.join(folderPath, file), "utf8"));
|
||||
const filename = path.basename(file, path.extname(file));
|
||||
json2excel(json, filename);
|
||||
});
|
||||
};
|
||||
start();
|
||||
@@ -7,6 +7,14 @@ const scope = [
|
||||
"Monster",
|
||||
"ItemMergeConfig",
|
||||
"MergeConfig",
|
||||
"SpecialRingConfig",
|
||||
"RecyclingSettingConfig",
|
||||
"ActivitiesConf",
|
||||
"UpstarPriceConfig",
|
||||
"UpstarConfig",
|
||||
"MonthCardConfig",
|
||||
// "GuildDonateConfig",
|
||||
"ShopConfig",
|
||||
// "NpcTransConf"
|
||||
// "MergeTotal", "RecyclingSettingConfig", "UpstarConfig",
|
||||
].filter(Boolean);
|
||||
|
||||
@@ -1,107 +1,38 @@
|
||||
const { log } = require('console');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const folderPath = "../luaConfigs"
|
||||
const { log } = require("console");
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
const { parse } = require("lua-json");
|
||||
const folderPath = "./luaConfigs";
|
||||
|
||||
function parseLuaConfig(luaContent) {
|
||||
const config = {};
|
||||
const lines = luaContent.split('\n');
|
||||
let currentPath = config;
|
||||
|
||||
lines.forEach(line => {
|
||||
line = line.trim();
|
||||
if (line.startsWith('--')) return; // 跳过注释行
|
||||
|
||||
// 匹配键值对
|
||||
const keyMatch = line.match(/^\s*(\w+)\s*=\s*(.+?),?$/);
|
||||
if (keyMatch) {
|
||||
const key = keyMatch[1].trim();
|
||||
const value = keyMatch[2].trim();
|
||||
|
||||
// 尝试解析值
|
||||
let parsedValue;
|
||||
if (value === 'true' || value === 'false') {
|
||||
parsedValue = value === 'true';
|
||||
} else if (!isNaN(parseFloat(value))) {
|
||||
parsedValue = parseFloat(value);
|
||||
} else if (value.startsWith('"') && value.endsWith('"')) {
|
||||
parsedValue = value.slice(1, -1);
|
||||
} else if (value.startsWith('{') && value.endsWith('}')) {
|
||||
parsedValue = parseLuaTable(value);
|
||||
} else {
|
||||
parsedValue = value;
|
||||
}
|
||||
|
||||
// 处理嵌套对象
|
||||
const keys = key.split('.');
|
||||
keys.reduce((acc, k, i) => {
|
||||
if (i === keys.length - 1) {
|
||||
acc[k] = parsedValue;
|
||||
} else {
|
||||
acc[k] = acc[k] || {};
|
||||
return acc[k];
|
||||
}
|
||||
}, currentPath);
|
||||
}
|
||||
|
||||
// 匹配表(数组或对象)
|
||||
const tableMatch = line.match(/^\s*(\w+)\s*=\s*{(.+?)},?$/);
|
||||
if (tableMatch) {
|
||||
const key = tableMatch[1].trim();
|
||||
const tableContent = tableMatch[2].trim();
|
||||
const parsedTable = parseLuaTable(tableContent);
|
||||
|
||||
// 处理嵌套对象
|
||||
const keys = key.split('.');
|
||||
keys.reduce((acc, k, i) => {
|
||||
if (i === keys.length - 1) {
|
||||
acc[k] = parsedTable;
|
||||
} else {
|
||||
acc[k] = acc[k] || {};
|
||||
return acc[k];
|
||||
}
|
||||
}, currentPath);
|
||||
}
|
||||
});
|
||||
|
||||
return config;
|
||||
}
|
||||
|
||||
// 解析Lua表(数组或对象)
|
||||
function parseLuaTable(tableContent) {
|
||||
const table = [];
|
||||
const lines = tableContent.split(',').map(line => line.trim());
|
||||
|
||||
lines.forEach(line => {
|
||||
if (line.startsWith('{')) {
|
||||
const nestedTableContent = line.slice(1, -1).trim();
|
||||
table.push(parseLuaTable(nestedTableContent));
|
||||
} else if (line.startsWith('"') && line.endsWith('"')) {
|
||||
table.push(line.slice(1, -1));
|
||||
} else if (!isNaN(parseFloat(line))) {
|
||||
table.push(parseFloat(line));
|
||||
} else if (line === 'true' || line === 'false') {
|
||||
table.push(line === 'true');
|
||||
} else {
|
||||
table.push(line);
|
||||
}
|
||||
});
|
||||
|
||||
return table;
|
||||
}
|
||||
const scope = ["Monster"]
|
||||
const scope = [
|
||||
// "MergeTotal",
|
||||
// "ActivitiesConf",
|
||||
"ShopConfig"
|
||||
].filter(Boolean);
|
||||
|
||||
const start = () => {
|
||||
const files = fs.readdirSync(folderPath);
|
||||
const files = fs.readdirSync(folderPath);
|
||||
|
||||
// 过滤出所有的 JSON 文件
|
||||
const luaFiles = files.filter(file => path.extname(file) === '.config').filter(file => scope.map(e => `${e}.config`).includes(file));
|
||||
luaFiles.forEach(file => {
|
||||
const luaContent = fs.readFileSync(path.join(folderPath, file), 'utf8')
|
||||
const filename = path.basename(file, path.extname(file));
|
||||
const luaConfig = parseLuaConfig(luaContent);
|
||||
log(luaConfig)
|
||||
fs.writeFileSync(`../configs/${filename}.json`, luaConfig);
|
||||
});
|
||||
}
|
||||
start()
|
||||
// 过滤出所有的 JSON 文件
|
||||
const luaFiles = files.filter((file) => path.extname(file) === ".config").filter((file) => scope.map((e) => `${e}.config`).includes(file));
|
||||
luaFiles.forEach((file) => {
|
||||
const luaContent = fs.readFileSync(path.join(folderPath, file), "utf8");
|
||||
const filename = path.basename(file, path.extname(file));
|
||||
const content = luaContent.replace(filename, "").slice(1);
|
||||
const luaConfig = parse(`return ${content}`);
|
||||
for (const key in luaConfig) {
|
||||
const item = luaConfig[key];
|
||||
const arr = [];
|
||||
Object.entries(item).forEach(([k, v]) => {
|
||||
if (!isNaN(k) && typeof v === "object") {
|
||||
arr.push(v);
|
||||
}
|
||||
});
|
||||
if (arr.length > 0) {
|
||||
luaConfig[key] = arr;
|
||||
}
|
||||
}
|
||||
fs.writeFileSync(`./configs/${filename}.json`, JSON.stringify(luaConfig, "utf-8"));
|
||||
});
|
||||
};
|
||||
start();
|
||||
|
||||
Reference in New Issue
Block a user