fix: 修改文件名大小写
This commit is contained in:
@@ -4715,7 +4715,7 @@
|
|||||||
"2": {
|
"2": {
|
||||||
"7201": {
|
"7201": {
|
||||||
"circle": 0,
|
"circle": 0,
|
||||||
"compose": { "id": 4, "type": 4, "count": 1500 },
|
"compose": { "id": 4, "type": 4, "count": 1000 },
|
||||||
"index": 7,
|
"index": 7,
|
||||||
"buttontxt10": "合成10次",
|
"buttontxt10": "合成10次",
|
||||||
"mergebutton10": 1,
|
"mergebutton10": 1,
|
||||||
@@ -4723,13 +4723,13 @@
|
|||||||
"clicklimit": 1,
|
"clicklimit": 1,
|
||||||
"Eid": 7201,
|
"Eid": 7201,
|
||||||
"second_index": 1,
|
"second_index": 1,
|
||||||
"table": [{ "id": 397, "type": 0, "count": 10 }],
|
"table": [{ "id": 389, "type": 0, "count": 1 }],
|
||||||
"openserverday": 1,
|
"openserverday": 1,
|
||||||
"level": 1
|
"level": 1
|
||||||
},
|
},
|
||||||
"7202": {
|
"7202": {
|
||||||
"circle": 0,
|
"circle": 0,
|
||||||
"compose": { "id": 4, "type": 4, "count": 150000 },
|
"compose": { "id": 4, "type": 4, "count": 100000 },
|
||||||
"index": 7,
|
"index": 7,
|
||||||
"buttontxt10": "合成10次",
|
"buttontxt10": "合成10次",
|
||||||
"mergebutton10": 1,
|
"mergebutton10": 1,
|
||||||
@@ -4737,13 +4737,13 @@
|
|||||||
"clicklimit": 1,
|
"clicklimit": 1,
|
||||||
"Eid": 7202,
|
"Eid": 7202,
|
||||||
"second_index": 1,
|
"second_index": 1,
|
||||||
"table": [{ "id": 397, "type": 0, "count": 1000 }],
|
"table": [{ "id": 389, "type": 0, "count": 100 }],
|
||||||
"openserverday": 1,
|
"openserverday": 1,
|
||||||
"level": 1
|
"level": 1
|
||||||
},
|
},
|
||||||
"7203": {
|
"7203": {
|
||||||
"circle": 0,
|
"circle": 0,
|
||||||
"compose": { "id": 4, "type": 4, "count": 3000 },
|
"compose": { "id": 4, "type": 4, "count": 1000 },
|
||||||
"index": 7,
|
"index": 7,
|
||||||
"buttontxt10": "合成10次",
|
"buttontxt10": "合成10次",
|
||||||
"mergebutton10": 1,
|
"mergebutton10": 1,
|
||||||
@@ -4751,27 +4751,27 @@
|
|||||||
"clicklimit": 1,
|
"clicklimit": 1,
|
||||||
"Eid": 7203,
|
"Eid": 7203,
|
||||||
"second_index": 1,
|
"second_index": 1,
|
||||||
"table": [{ "id": 398, "type": 0, "count": 10 }],
|
"table": [{ "id": 389, "type": 0, "count": 1 }],
|
||||||
"openserverday": 1,
|
"openserverday": 1,
|
||||||
"level": 1
|
"level": 1
|
||||||
},
|
},
|
||||||
"7204": {
|
"7204": {
|
||||||
"circle": 0,
|
"circle": 0,
|
||||||
"compose": { "id": 4, "type": 4, "count": 300000 },
|
"compose": { "id": 4, "type": 4, "count": 100000 },
|
||||||
"index": 7,
|
"index": 7,
|
||||||
"buttontxt10": "合成10次",
|
"buttontxt10": "合成10次",
|
||||||
"mergebutton10": 1,
|
"mergebutton10": 1,
|
||||||
"text": "兑换",
|
"text": "兑换",
|
||||||
"clicklimit": 1,
|
"clicklimit": 1,
|
||||||
"Eid": 7203,
|
"Eid": 7204,
|
||||||
"second_index": 1,
|
"second_index": 1,
|
||||||
"table": [{ "id": 398, "type": 0, "count": 1000 }],
|
"table": [{ "id": 389, "type": 0, "count": 100 }],
|
||||||
"openserverday": 1,
|
"openserverday": 1,
|
||||||
"level": 1
|
"level": 1
|
||||||
},
|
},
|
||||||
"7205": {
|
"7205": {
|
||||||
"circle": 0,
|
"circle": 0,
|
||||||
"compose": { "id": 4, "type": 4, "count": 5000 },
|
"compose": { "id": 4, "type": 4, "count": 1000 },
|
||||||
"index": 7,
|
"index": 7,
|
||||||
"buttontxt10": "合成10次",
|
"buttontxt10": "合成10次",
|
||||||
"mergebutton10": 1,
|
"mergebutton10": 1,
|
||||||
@@ -4779,7 +4779,329 @@
|
|||||||
"clicklimit": 1,
|
"clicklimit": 1,
|
||||||
"Eid": 7205,
|
"Eid": 7205,
|
||||||
"second_index": 1,
|
"second_index": 1,
|
||||||
"table": [{ "id": 399, "type": 0, "count": 10 }],
|
"table": [{ "id": 389, "type": 0, "count": 1 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7206": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 100000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7206,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 100 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7207": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 1000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7207,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 1 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7208": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 100000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7208,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 100 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7209": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 1000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7209,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 1 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7210": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 100000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7210,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 100 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7211": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 1000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7211,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 1 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7212": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 100000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7212,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 100 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7213": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 1000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7213,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 1 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7214": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 100000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7214,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 100 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7215": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 1000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7215,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 1 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7216": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 100000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7216,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 100 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7217": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 1000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7217,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 1 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7218": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 100000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7218,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 100 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7219": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 1000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7219,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 1 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7220": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 100000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7220,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 100 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7221": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 1000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7221,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 1 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7222": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 100000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7222,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 100 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7223": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 1000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7223,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 1 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7224": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 100000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7224,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 100 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7225": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 1000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7225,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 1 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7226": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 100000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7226,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 100 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7227": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 1000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7227,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 1 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"7228": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": 100000 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": 7228,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": 389, "type": 0, "count": 100 }],
|
||||||
"openserverday": 1,
|
"openserverday": 1,
|
||||||
"level": 1
|
"level": 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,21 @@
|
|||||||
const fs = require("fs");
|
const fs = require("fs");
|
||||||
const ringType = 6;
|
const ringType = 6;
|
||||||
|
const YBvoucher = {
|
||||||
|
'380': '100',
|
||||||
|
'388': '200',
|
||||||
|
'389': '500',
|
||||||
|
'390': '1000',
|
||||||
|
'391': '2000',
|
||||||
|
'392': '5000',
|
||||||
|
'393': '10000',
|
||||||
|
'394': '1',
|
||||||
|
'395': '5',
|
||||||
|
'396': '10',
|
||||||
|
'397': '15',
|
||||||
|
'398': '30',
|
||||||
|
'399': '50',
|
||||||
|
'400': '80'
|
||||||
|
}
|
||||||
const tpls = {
|
const tpls = {
|
||||||
SpecialRing: {
|
SpecialRing: {
|
||||||
key: "SpecialRing",
|
key: "SpecialRing",
|
||||||
@@ -61,11 +77,48 @@ const tpls = {
|
|||||||
}`,
|
}`,
|
||||||
}[ringType],
|
}[ringType],
|
||||||
},
|
},
|
||||||
|
ItemMergeConfig: {
|
||||||
|
key: "ItemMergeConfig",
|
||||||
|
desc: "ID1,ID2,代金券ID,元宝数",
|
||||||
|
values: [7201, 7202,Object.keys(YBvoucher),Object.values(YBvoucher)],
|
||||||
|
interval: [2, 2],
|
||||||
|
num: Object.keys(YBvoucher).length,
|
||||||
|
template: `
|
||||||
|
"S1": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": S4 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": S1,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": S3, "type": 0, "count": 1 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
"S2": {
|
||||||
|
"circle": 0,
|
||||||
|
"compose": { "id": 4, "type": 4, "count": S400 },
|
||||||
|
"index": 7,
|
||||||
|
"buttontxt10": "合成10次",
|
||||||
|
"mergebutton10": 1,
|
||||||
|
"text": "兑换",
|
||||||
|
"clicklimit": 1,
|
||||||
|
"Eid": S2,
|
||||||
|
"second_index": 1,
|
||||||
|
"table": [{ "id": S3, "type": 0, "count": 100 }],
|
||||||
|
"openserverday": 1,
|
||||||
|
"level": 1
|
||||||
|
}
|
||||||
|
`,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const scope = [
|
const scope = [
|
||||||
// "UpstarConfig",
|
// "UpstarConfig",
|
||||||
"SpecialRing",
|
"ItemMergeConfig",
|
||||||
].filter(Boolean);
|
].filter(Boolean);
|
||||||
const start = () => {
|
const start = () => {
|
||||||
const configs = scope.map((key) => {
|
const configs = scope.map((key) => {
|
||||||
@@ -77,7 +130,9 @@ const start = () => {
|
|||||||
let str = template;
|
let str = template;
|
||||||
values.forEach((v, i) => {
|
values.forEach((v, i) => {
|
||||||
const reg = new RegExp(`S${i + 1}`, "g");
|
const reg = new RegExp(`S${i + 1}`, "g");
|
||||||
str = str.replace(reg, v + index * interval[i]);
|
if (Array.isArray(v)) {
|
||||||
|
str = str.replace(reg, v[i]);
|
||||||
|
} else str = str.replace(reg, v + index * interval[i]);
|
||||||
});
|
});
|
||||||
return str;
|
return str;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user