diff --git a/configs/ItemMergeConfig.json b/configs/ItemMergeConfig.json index dd91494..989904f 100644 --- a/configs/ItemMergeConfig.json +++ b/configs/ItemMergeConfig.json @@ -4134,7 +4134,7 @@ "index": 3, "text": "兑换", "Eid": 3301, - "second_index": 1, + "second_index": 3, "buttontxt10": "合成10次", "mergebutton10": 1, "table": [ diff --git a/json2lua.js b/json2lua.js index fc0ff85..558d00e 100644 --- a/json2lua.js +++ b/json2lua.js @@ -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"].map(e => `${e}.json`).includes(file)); + const jsonFiles = files.filter(file => path.extname(file) === '.json').filter(file => ["StdItems","ItemMergeConfig","MergeConfig","MergeTotal"].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));