feat(config): 更新装备回收配置并调整装备等级

- 在 RecyclingSettingConfig.json 中添加新的装备回收选项,包括天之王者、天之天龙等
- 调整 StdItems.json 中多件装备的等级,以符合游戏内设定
- 更新 json2lua.js 以包含 RecyclingSettingConfig.json 文件的处理
This commit is contained in:
2025-01-14 21:00:05 +08:00
parent 0d610a7435
commit e4aad43ded
3 changed files with 46 additions and 13 deletions

View File

@@ -199,6 +199,17 @@
"18": {
"idx": 18,
"id": 1,
"tips": "回收背包中所有天之王者装备",
"name": "天之王者",
"showQuality": 5,
"optionid": 62,
"itemlevel": 115,
"title": "装备回收",
"value": 0
},
"19": {
"idx": 19,
"id": 1,
"tips": "回收背包中所有天龙装备",
"name": "天龙装备",
"showQuality": 5,
@@ -207,16 +218,38 @@
"title": "装备回收",
"value": 0
},
"19": {
"idx": 19,
"20": {
"idx": 20,
"id": 1,
"tips": "回收背包中所有传奇装备",
"name": "传奇装备",
"tips": "回收背包中所有天之天龙装备",
"name": "天之天龙",
"showQuality": 5,
"optionid": 63,
"itemlevel": 119,
"title": "装备回收",
"value": 0
},
"21": {
"idx": 21,
"id": 1,
"tips": "回收背包中所有金牛装备和传奇装备",
"name": "金牛装备",
"showQuality": 5,
"optionid": 64,
"itemlevel": 116,
"title": "装备回收",
"value": 0
},
"22": {
"idx": 22,
"id": 1,
"tips": "回收背包中所有天之传奇装备和金牛炎装备",
"name": "传奇装备",
"showQuality": 5,
"optionid": 64,
"itemlevel": 117,
"title": "装备回收",
"value": 0
}
},
"2": {

View File

@@ -69872,7 +69872,7 @@
"colGroup": 0,
"forcetips": 0,
"dealPrice": 10,
"itemlevel": 119,
"itemlevel": 116,
"packageType": 1,
"recordLog": 1,
"itemlvl": 3,
@@ -69950,7 +69950,7 @@
"colGroup": 0,
"forcetips": 0,
"dealPrice": 10,
"itemlevel": 119,
"itemlevel": 116,
"packageType": 1,
"recordLog": 1,
"itemlvl": 3,
@@ -70024,7 +70024,7 @@
"colGroup": 0,
"forcetips": 0,
"dealPrice": 10,
"itemlevel": 119,
"itemlevel": 116,
"packageType": 1,
"recordLog": 1,
"itemlvl": 3,
@@ -70098,7 +70098,7 @@
"colGroup": 0,
"forcetips": 0,
"dealPrice": 10,
"itemlevel": 119,
"itemlevel": 116,
"packageType": 1,
"recordLog": 1,
"itemlvl": 3,
@@ -74740,7 +74740,7 @@
"colGroup": 0,
"forcetips": 0,
"dealPrice": 10,
"itemlevel": 119,
"itemlevel": 117,
"packageType": 1,
"recordLog": 1,
"itemlvl": 3,
@@ -74818,7 +74818,7 @@
"colGroup": 0,
"forcetips": 0,
"dealPrice": 10,
"itemlevel": 119,
"itemlevel": 117,
"packageType": 1,
"recordLog": 1,
"itemlvl": 3,
@@ -74896,7 +74896,7 @@
"colGroup": 0,
"forcetips": 0,
"dealPrice": 10,
"itemlevel": 119,
"itemlevel": 117,
"packageType": 1,
"recordLog": 1,
"itemlvl": 3,
@@ -75002,7 +75002,7 @@
"colGroup": 0,
"forcetips": 0,
"dealPrice": 10,
"itemlevel": 119,
"itemlevel": 117,
"packageType": 1,
"recordLog": 1,
"itemlvl": 3,

View File

@@ -42,7 +42,7 @@ const start = () => {
const files = fs.readdirSync(folderPath);
// 过滤出所有的 JSON 文件
const jsonFiles = files.filter(file => path.extname(file) === '.json').filter(file => ["StdItems","ItemMergeConfig","MergeConfig","MergeTotal"].map(e => `${e}.json`).includes(file));
const jsonFiles = files.filter(file => path.extname(file) === '.json').filter(file => ["StdItems","ItemMergeConfig","MergeConfig","MergeTotal","RecyclingSettingConfig"].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));