feat(batchSetting): 更新戒指配置模板

- 调整了 values 数组中的登记值和元宝花费
- 修改了 interval 数组中的间隔值
- 更新了 num 变量的值
- 重构了模板字符串,增加了新的属性和成本项
This commit is contained in:
aixianling
2024-12-26 14:18:06 +08:00
parent ab13acd40d
commit b521e2e735
2 changed files with 6553 additions and 9 deletions

View File

@@ -1,14 +1,58 @@
const fs = require('fs')
const key = "SpecialRing.config"
const values = [56, 100, 500] // 登记,伤害加倍,元宝花费
const interval = [1, 100, 50]
const num = 45
const values = [71, 100, 500] // 登记,伤害加倍,元宝花费
const interval = [1, 50, 50]
const num = 130
const start = () => {
const template = `[S1] = {
pos = 4,
lv = S1,
cost = {{type=4,id=4,count=S3},{type=0,id=1018,count=1000}},
attr = {{type=75,value=S2},{type=76,value=428},{type=77,value=536},{type=21,value=55},{type=23,value=55},{type=25,value=55},{type=27,value=55},{type=83,value=5000},},
const template = `"S1": {
"attr": [
{
"value": S2,
"type": 75
},
{
"value": 585,
"type": 76
},
{
"value": 1115,
"type": 77
},
{
"value": 70,
"type": 21
},
{
"value": 70,
"type": 23
},
{
"value": 70,
"type": 25
},
{
"value": 70,
"type": 27
},
{
"value": 3400,
"type": 79
}
],
"lv": S1,
"cost": [
{
"id": 1022,
"type": 0,
"count": 1600
},
{
"id":4,
"type": 4,
"count": S3
}
],
"pos": 5
}`
const getStr = (index) => {
let str = template

File diff suppressed because it is too large Load Diff