refactor(configs): 更新 Monster 配置
- 将 Monster 配置中的 id 从 67 修改为 79
This commit is contained in:
@@ -1,15 +1,59 @@
|
||||
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
|
||||
values.forEach((v, i) => {
|
||||
|
||||
@@ -3450,7 +3450,7 @@
|
||||
"autoCD": false
|
||||
},
|
||||
{
|
||||
"id": 67,
|
||||
"id": 79,
|
||||
"level": 1,
|
||||
"event": 0,
|
||||
"autoCD": false
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user