feat(config): 更新装备回收配置并调整装备等级
- 在 RecyclingSettingConfig.json 中添加新的装备回收选项,包括天之王者、天之天龙等 - 调整 StdItems.json 中多件装备的等级,以符合游戏内设定 - 更新 json2lua.js 以包含 RecyclingSettingConfig.json 文件的处理
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user