feat(batchSetting): 更新批量设置脚本并调整装备属性

- 修改了 batchSetting.js 脚本,更新了配置参数和生成逻辑
- 调整了 StdItems.json 中多件装备的属性,包括法师、道士和战士的传说级武器
- 优化了装备描述和效果,提高了部分装备的攻击力和防御力
This commit is contained in:
aixianling
2025-01-16 14:31:15 +08:00
parent 2f42b9bb1a
commit fa671eb284
4 changed files with 4120 additions and 85 deletions

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","RecyclingSettingConfig","OfficeConfig"].map(e => `${e}.json`).includes(file));
const jsonFiles = files.filter(file => path.extname(file) === '.json').filter(file => ["StdItems","ItemMergeConfig","MergeConfig","MergeTotal","RecyclingSettingConfig","UpstarConfig"].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));