From 200dc233058a97d67103ce4d6fc35521b9fcd58c Mon Sep 17 00:00:00 2001 From: Kubbo <390378816@qq.com> Date: Fri, 24 Jan 2025 19:02:39 +0800 Subject: [PATCH] =?UTF-8?q?feat(config):=20=E6=9B=B4=E6=96=B0=E5=85=AC?= =?UTF-8?q?=E4=BC=9A=E6=8D=90=E8=B5=A0=E9=85=8D=E7=BD=AE=E5=B9=B6=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E8=BD=AC=E6=8D=A2=E6=AC=A1=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改 GuildDonateConfig.json 中的 limittimes 字段,从 5 调整为 50 - 在 json2lua.js 中添加 GuildDonateConfig 到处理列表,以便进行 JSON 到 Lua 的转换 --- configs/GuildDonateConfig.json | 5 ++++- tools/json2lua.js | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/configs/GuildDonateConfig.json b/configs/GuildDonateConfig.json index de5c6d1..3126d99 100644 --- a/configs/GuildDonateConfig.json +++ b/configs/GuildDonateConfig.json @@ -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}} \ No newline at end of file +{ + "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 } +} diff --git a/tools/json2lua.js b/tools/json2lua.js index 9be9af7..c7f2db2 100644 --- a/tools/json2lua.js +++ b/tools/json2lua.js @@ -12,6 +12,7 @@ const scope = [ "ActivitiesConf", "UpstarPriceConfig", "UpstarConfig", + "GuildDonateConfig", // "NpcTransConf" // "MergeTotal", "RecyclingSettingConfig", "UpstarConfig", ].filter(Boolean);