feat(config): 添加物品合成十次功能并调整合并配置
- 在 ItemMergeConfig.json 中添加合成十次相关配置 - 修改 MergeConfig.json 中的 Uitype 属性值 - 更新 json2lua.js 中的配置处理列表
This commit is contained in:
@@ -3943,6 +3943,8 @@
|
|||||||
},
|
},
|
||||||
"index": 3,
|
"index": 3,
|
||||||
"text": "兑换",
|
"text": "兑换",
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
"Eid": 72,
|
"Eid": 72,
|
||||||
"second_index": 2,
|
"second_index": 2,
|
||||||
"table": [
|
"table": [
|
||||||
@@ -3964,6 +3966,8 @@
|
|||||||
},
|
},
|
||||||
"index": 3,
|
"index": 3,
|
||||||
"text": "兑换",
|
"text": "兑换",
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
"Eid": 73,
|
"Eid": 73,
|
||||||
"second_index": 2,
|
"second_index": 2,
|
||||||
"table": [
|
"table": [
|
||||||
@@ -3985,6 +3989,8 @@
|
|||||||
},
|
},
|
||||||
"index": 3,
|
"index": 3,
|
||||||
"text": "兑换",
|
"text": "兑换",
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
"Eid": 78,
|
"Eid": 78,
|
||||||
"second_index": 2,
|
"second_index": 2,
|
||||||
"table": [
|
"table": [
|
||||||
@@ -4006,6 +4012,8 @@
|
|||||||
},
|
},
|
||||||
"index": 3,
|
"index": 3,
|
||||||
"text": "兑换",
|
"text": "兑换",
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
"Eid": 132,
|
"Eid": 132,
|
||||||
"second_index": 2,
|
"second_index": 2,
|
||||||
"table": [
|
"table": [
|
||||||
@@ -4032,6 +4040,8 @@
|
|||||||
},
|
},
|
||||||
"index": 3,
|
"index": 3,
|
||||||
"text": "兑换",
|
"text": "兑换",
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
"Eid": 238,
|
"Eid": 238,
|
||||||
"second_index": 2,
|
"second_index": 2,
|
||||||
"table": [
|
"table": [
|
||||||
|
|||||||
@@ -151,7 +151,7 @@
|
|||||||
"2": {
|
"2": {
|
||||||
"rebornconds": 0,
|
"rebornconds": 0,
|
||||||
"index": 2,
|
"index": 2,
|
||||||
"Uitype": 2,
|
"Uitype": 1,
|
||||||
"id": 3,
|
"id": 3,
|
||||||
"levelconds": 1,
|
"levelconds": 1,
|
||||||
"dayconds": 1,
|
"dayconds": 1,
|
||||||
|
|||||||
@@ -3,8 +3,11 @@ const fs = require("fs");
|
|||||||
const path = require("path");
|
const path = require("path");
|
||||||
const folderPath = "./configs";
|
const folderPath = "./configs";
|
||||||
const scope = [
|
const scope = [
|
||||||
"StdItems", "Monster"
|
"StdItems",
|
||||||
// "ItemMergeConfig", "MergeConfig", "MergeTotal", "RecyclingSettingConfig", "UpstarConfig",
|
"Monster",
|
||||||
|
"ItemMergeConfig",
|
||||||
|
"MergeConfig",
|
||||||
|
// "MergeTotal", "RecyclingSettingConfig", "UpstarConfig",
|
||||||
];
|
];
|
||||||
const strKey = (key) => (isNaN(key) ? `${key}` : `[${key}]`);
|
const strKey = (key) => (isNaN(key) ? `${key}` : `[${key}]`);
|
||||||
function jsonToLua(jsonObj, indent = "", linefeed = "\n") {
|
function jsonToLua(jsonObj, indent = "", linefeed = "\n") {
|
||||||
|
|||||||
Reference in New Issue
Block a user