hella-types 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +56172 -5498
- package/dist/index.js +831 -802
- package/package.json +5 -2
- package/src/index.ts +903 -874
package/dist/index.js
CHANGED
|
@@ -1,904 +1,933 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
m_defined:
|
|
7
|
-
m_value:
|
|
8
|
-
});
|
|
9
|
-
var
|
|
10
|
-
m_defined:
|
|
11
|
-
m_value:
|
|
12
|
-
});
|
|
13
|
-
var
|
|
14
|
-
m_defined:
|
|
15
|
-
m_value:
|
|
16
|
-
});
|
|
17
|
-
var
|
|
18
|
-
m_defined:
|
|
19
|
-
m_value:
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
level:
|
|
23
|
-
data:
|
|
24
|
-
maxHp:
|
|
25
|
-
atk:
|
|
26
|
-
def:
|
|
27
|
-
magicResistance:
|
|
28
|
-
cost:
|
|
29
|
-
blockCnt:
|
|
30
|
-
moveSpeed:
|
|
31
|
-
attackSpeed:
|
|
32
|
-
baseAttackTime:
|
|
33
|
-
respawnTime:
|
|
34
|
-
hpRecoveryPerSec:
|
|
35
|
-
spRecoveryPerSec:
|
|
36
|
-
maxDeployCount:
|
|
37
|
-
maxDeckStackCnt:
|
|
38
|
-
tauntLevel:
|
|
39
|
-
massLevel:
|
|
40
|
-
baseForceLevel:
|
|
41
|
-
stunImmune:
|
|
42
|
-
silenceImmune:
|
|
43
|
-
sleepImmune:
|
|
44
|
-
frozenImmune:
|
|
45
|
-
levitateImmune:
|
|
3
|
+
exports.OperatorZod = exports.StageZod = exports.SkinZod = exports.SkillZod = exports.SandboxActZod = exports.RogueThemeZod = exports.ParadoxZod = exports.ModuleZod = exports.ItemZod = exports.GridRangeZod = exports.GameEventZod = exports.EnemyZod = exports.DefinitionZod = exports.CCStageZod = exports.BaseZod = void 0;
|
|
4
|
+
var z = require("zod");
|
|
5
|
+
var DefinedStringZod = z.strictObject({
|
|
6
|
+
m_defined: z.boolean(),
|
|
7
|
+
m_value: z.union([z.string(), z.null()]),
|
|
8
|
+
});
|
|
9
|
+
var DefinedStringArrayZod = z.strictObject({
|
|
10
|
+
m_defined: z.boolean(),
|
|
11
|
+
m_value: z.union([z.array(z.string()), z.null()]),
|
|
12
|
+
});
|
|
13
|
+
var DefinedNumberZod = z.strictObject({
|
|
14
|
+
m_defined: z.boolean(),
|
|
15
|
+
m_value: z.union([z.number(), z.null()]),
|
|
16
|
+
});
|
|
17
|
+
var DefinedBooleanZod = z.strictObject({
|
|
18
|
+
m_defined: z.boolean(),
|
|
19
|
+
m_value: z.boolean(),
|
|
20
|
+
});
|
|
21
|
+
var AttributesKeyFrameZod = z.strictObject({
|
|
22
|
+
level: z.number(),
|
|
23
|
+
data: z.strictObject({
|
|
24
|
+
maxHp: z.number(),
|
|
25
|
+
atk: z.number(),
|
|
26
|
+
def: z.number(),
|
|
27
|
+
magicResistance: z.number(),
|
|
28
|
+
cost: z.number(),
|
|
29
|
+
blockCnt: z.number(),
|
|
30
|
+
moveSpeed: z.number(),
|
|
31
|
+
attackSpeed: z.number(),
|
|
32
|
+
baseAttackTime: z.number(),
|
|
33
|
+
respawnTime: z.number(),
|
|
34
|
+
hpRecoveryPerSec: z.number(),
|
|
35
|
+
spRecoveryPerSec: z.number(),
|
|
36
|
+
maxDeployCount: z.number(),
|
|
37
|
+
maxDeckStackCnt: z.number(),
|
|
38
|
+
tauntLevel: z.number(),
|
|
39
|
+
massLevel: z.number(),
|
|
40
|
+
baseForceLevel: z.number(),
|
|
41
|
+
stunImmune: z.boolean(),
|
|
42
|
+
silenceImmune: z.boolean(),
|
|
43
|
+
sleepImmune: z.boolean(),
|
|
44
|
+
frozenImmune: z.boolean(),
|
|
45
|
+
levitateImmune: z.boolean(),
|
|
46
46
|
}),
|
|
47
47
|
});
|
|
48
|
-
|
|
49
|
-
key:
|
|
50
|
-
value:
|
|
51
|
-
valueStr:
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
maxHp:
|
|
55
|
-
atk:
|
|
56
|
-
def:
|
|
57
|
-
magicResistance:
|
|
58
|
-
cost:
|
|
59
|
-
blockCnt:
|
|
60
|
-
moveSpeed:
|
|
61
|
-
attackSpeed:
|
|
62
|
-
baseAttackTime:
|
|
63
|
-
respawnTime:
|
|
64
|
-
hpRecoveryPerSec:
|
|
65
|
-
spRecoveryPerSec:
|
|
66
|
-
maxDeployCount:
|
|
67
|
-
massLevel:
|
|
68
|
-
baseForceLevel:
|
|
69
|
-
tauntLevel:
|
|
70
|
-
epDamageResistance:
|
|
71
|
-
epResistance:
|
|
72
|
-
stunImmune:
|
|
73
|
-
silenceImmune:
|
|
74
|
-
sleepImmune:
|
|
75
|
-
frozenImmune:
|
|
76
|
-
levitateImmune:
|
|
77
|
-
});
|
|
78
|
-
|
|
79
|
-
prefabKey:
|
|
80
|
-
priority:
|
|
81
|
-
cooldown:
|
|
82
|
-
initCooldown:
|
|
83
|
-
spCost:
|
|
84
|
-
blackboard:
|
|
85
|
-
});
|
|
86
|
-
|
|
87
|
-
spType:
|
|
88
|
-
maxSp:
|
|
89
|
-
initSp:
|
|
90
|
-
increment:
|
|
91
|
-
});
|
|
92
|
-
|
|
93
|
-
name:
|
|
94
|
-
description:
|
|
95
|
-
prefabKey:
|
|
96
|
-
attributes:
|
|
97
|
-
applyWay:
|
|
98
|
-
motion:
|
|
99
|
-
enemyTags:
|
|
100
|
-
lifePointReduce:
|
|
101
|
-
levelType:
|
|
102
|
-
rangeRadius:
|
|
103
|
-
numOfExtraDrops:
|
|
104
|
-
viewRadius:
|
|
105
|
-
notCountInTotal:
|
|
106
|
-
talentBlackboard:
|
|
107
|
-
skills:
|
|
108
|
-
spData:
|
|
109
|
-
});
|
|
110
|
-
|
|
111
|
-
id:
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
48
|
+
var BlackboardZod = z.strictObject({
|
|
49
|
+
key: z.string(),
|
|
50
|
+
value: z.union([z.number(), z.null()]),
|
|
51
|
+
valueStr: z.union([z.string(), z.null(), z.undefined()]),
|
|
52
|
+
});
|
|
53
|
+
var EnemyAttributesZod = z.strictObject({
|
|
54
|
+
maxHp: DefinedNumberZod,
|
|
55
|
+
atk: DefinedNumberZod,
|
|
56
|
+
def: DefinedNumberZod,
|
|
57
|
+
magicResistance: DefinedNumberZod,
|
|
58
|
+
cost: DefinedNumberZod,
|
|
59
|
+
blockCnt: DefinedNumberZod,
|
|
60
|
+
moveSpeed: DefinedNumberZod,
|
|
61
|
+
attackSpeed: DefinedNumberZod,
|
|
62
|
+
baseAttackTime: DefinedNumberZod,
|
|
63
|
+
respawnTime: DefinedNumberZod,
|
|
64
|
+
hpRecoveryPerSec: DefinedNumberZod,
|
|
65
|
+
spRecoveryPerSec: DefinedNumberZod,
|
|
66
|
+
maxDeployCount: DefinedNumberZod,
|
|
67
|
+
massLevel: DefinedNumberZod,
|
|
68
|
+
baseForceLevel: DefinedNumberZod,
|
|
69
|
+
tauntLevel: z.union([DefinedNumberZod, z.undefined()]), // legacy
|
|
70
|
+
epDamageResistance: z.union([DefinedNumberZod, z.undefined()]), // legacy
|
|
71
|
+
epResistance: z.union([DefinedNumberZod, z.undefined()]), // ~
|
|
72
|
+
stunImmune: DefinedBooleanZod,
|
|
73
|
+
silenceImmune: DefinedBooleanZod,
|
|
74
|
+
sleepImmune: z.union([DefinedBooleanZod, z.undefined()]),
|
|
75
|
+
frozenImmune: z.union([DefinedBooleanZod, z.undefined()]), // legacy
|
|
76
|
+
levitateImmune: z.union([DefinedBooleanZod, z.undefined()]), // legacy
|
|
77
|
+
});
|
|
78
|
+
var EnemySkillsZod = z.strictObject({
|
|
79
|
+
prefabKey: z.string(),
|
|
80
|
+
priority: z.number(),
|
|
81
|
+
cooldown: z.number(),
|
|
82
|
+
initCooldown: z.number(),
|
|
83
|
+
spCost: z.number(),
|
|
84
|
+
blackboard: z.union([z.array(BlackboardZod), z.null()]),
|
|
85
|
+
});
|
|
86
|
+
var EnemySpDataZod = z.strictObject({
|
|
87
|
+
spType: z.string(),
|
|
88
|
+
maxSp: z.number(),
|
|
89
|
+
initSp: z.number(),
|
|
90
|
+
increment: z.number(),
|
|
91
|
+
});
|
|
92
|
+
var EnemyDataZod = z.strictObject({
|
|
93
|
+
name: DefinedStringZod,
|
|
94
|
+
description: DefinedStringZod,
|
|
95
|
+
prefabKey: DefinedStringZod,
|
|
96
|
+
attributes: EnemyAttributesZod,
|
|
97
|
+
applyWay: z.union([DefinedStringZod, z.undefined()]), // legacy
|
|
98
|
+
motion: z.union([DefinedStringZod, z.undefined()]), // legacy
|
|
99
|
+
enemyTags: z.union([DefinedStringArrayZod, z.undefined()]), // legacy
|
|
100
|
+
lifePointReduce: DefinedNumberZod,
|
|
101
|
+
levelType: z.union([DefinedStringZod, DefinedNumberZod, z.undefined()]), // legacy
|
|
102
|
+
rangeRadius: DefinedNumberZod,
|
|
103
|
+
numOfExtraDrops: z.union([DefinedNumberZod, z.undefined()]), // legacy
|
|
104
|
+
viewRadius: z.union([DefinedNumberZod, z.undefined()]), // legacy
|
|
105
|
+
notCountInTotal: z.union([DefinedBooleanZod, z.undefined()]), // legacy
|
|
106
|
+
talentBlackboard: z.union([z.array(BlackboardZod), z.null()]),
|
|
107
|
+
skills: z.union([z.array(EnemySkillsZod), z.null()]),
|
|
108
|
+
spData: z.union([EnemySpDataZod, z.null()]),
|
|
109
|
+
});
|
|
110
|
+
var LevelUpCostZod = z.strictObject({
|
|
111
|
+
id: z.string(),
|
|
112
|
+
count: z.number(),
|
|
113
|
+
type: z.string(),
|
|
114
|
+
});
|
|
115
|
+
var ManufactFormulaZod = z.strictObject({
|
|
116
|
+
formulaId: z.string(),
|
|
117
|
+
itemId: z.string(),
|
|
118
|
+
count: z.number(),
|
|
119
|
+
weight: z.number(),
|
|
120
|
+
costPoint: z.number(),
|
|
121
|
+
formulaType: z.string(),
|
|
122
|
+
buffType: z.string(),
|
|
123
|
+
costs: z.array(LevelUpCostZod),
|
|
124
|
+
requireRooms: z.array(z.strictObject({
|
|
125
|
+
roomId: z.string(),
|
|
126
|
+
roomLevel: z.number(),
|
|
127
|
+
roomCount: z.number(),
|
|
116
128
|
})),
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
count: t.number,
|
|
121
|
-
type: t.string,
|
|
122
|
-
});
|
|
123
|
-
exports.ManufactFormulaIO = t.type({
|
|
124
|
-
formulaId: t.string,
|
|
125
|
-
itemId: t.string,
|
|
126
|
-
count: t.number,
|
|
127
|
-
weight: t.number,
|
|
128
|
-
costPoint: t.number,
|
|
129
|
-
formulaType: t.string,
|
|
130
|
-
buffType: t.string,
|
|
131
|
-
costs: t.array(exports.LevelUpCostIO),
|
|
132
|
-
requireRooms: t.array(t.type({
|
|
133
|
-
roomId: t.string,
|
|
134
|
-
roomLevel: t.number,
|
|
135
|
-
roomCount: t.number,
|
|
136
|
-
})),
|
|
137
|
-
requireStages: t.array(t.type({
|
|
138
|
-
stageId: t.string,
|
|
139
|
-
rank: t.number,
|
|
129
|
+
requireStages: z.array(z.strictObject({
|
|
130
|
+
stageId: z.string(),
|
|
131
|
+
rank: z.number(),
|
|
140
132
|
})),
|
|
141
133
|
});
|
|
142
|
-
|
|
143
|
-
sortId:
|
|
144
|
-
formulaId:
|
|
145
|
-
rarity:
|
|
146
|
-
itemId:
|
|
147
|
-
count:
|
|
148
|
-
goldCost:
|
|
149
|
-
apCost:
|
|
150
|
-
formulaType:
|
|
151
|
-
buffType:
|
|
152
|
-
extraOutcomeRate:
|
|
153
|
-
extraOutcomeGroup:
|
|
154
|
-
weight:
|
|
155
|
-
itemId:
|
|
156
|
-
itemCount:
|
|
134
|
+
var WorkshopFormulaZod = z.strictObject({
|
|
135
|
+
sortId: z.number(),
|
|
136
|
+
formulaId: z.string(),
|
|
137
|
+
rarity: z.number(),
|
|
138
|
+
itemId: z.string(),
|
|
139
|
+
count: z.number(),
|
|
140
|
+
goldCost: z.number(),
|
|
141
|
+
apCost: z.number(),
|
|
142
|
+
formulaType: z.string(),
|
|
143
|
+
buffType: z.string(),
|
|
144
|
+
extraOutcomeRate: z.number(),
|
|
145
|
+
extraOutcomeGroup: z.array(z.strictObject({
|
|
146
|
+
weight: z.number(),
|
|
147
|
+
itemId: z.string(),
|
|
148
|
+
itemCount: z.number(),
|
|
157
149
|
})),
|
|
158
|
-
costs:
|
|
159
|
-
requireRooms:
|
|
160
|
-
roomId:
|
|
161
|
-
roomLevel:
|
|
162
|
-
roomCount:
|
|
150
|
+
costs: z.array(LevelUpCostZod),
|
|
151
|
+
requireRooms: z.array(z.strictObject({
|
|
152
|
+
roomId: z.string(),
|
|
153
|
+
roomLevel: z.number(),
|
|
154
|
+
roomCount: z.number(),
|
|
163
155
|
})),
|
|
164
|
-
requireStages:
|
|
165
|
-
stageId:
|
|
166
|
-
rank:
|
|
156
|
+
requireStages: z.array(z.strictObject({
|
|
157
|
+
stageId: z.string(),
|
|
158
|
+
rank: z.number(),
|
|
167
159
|
})),
|
|
168
160
|
});
|
|
169
|
-
|
|
170
|
-
phase:
|
|
171
|
-
level:
|
|
172
|
-
});
|
|
173
|
-
|
|
174
|
-
unlockCond:
|
|
175
|
-
lvlUpTime:
|
|
176
|
-
levelUpCost:
|
|
177
|
-
});
|
|
178
|
-
|
|
179
|
-
characterInsts:
|
|
180
|
-
tokenInsts:
|
|
181
|
-
position:
|
|
182
|
-
row:
|
|
183
|
-
col:
|
|
161
|
+
var OperatorUnlockCondZod = z.strictObject({
|
|
162
|
+
phase: z.union([z.string(), z.number()]),
|
|
163
|
+
level: z.number(),
|
|
164
|
+
});
|
|
165
|
+
var LevelUpCostCondZod = z.strictObject({
|
|
166
|
+
unlockCond: OperatorUnlockCondZod,
|
|
167
|
+
lvlUpTime: z.number(),
|
|
168
|
+
levelUpCost: z.union([z.array(LevelUpCostZod), z.null()]),
|
|
169
|
+
});
|
|
170
|
+
var StageDefinesZod = z.strictObject({
|
|
171
|
+
characterInsts: z.array(z.any()),
|
|
172
|
+
tokenInsts: z.array(z.strictObject({
|
|
173
|
+
position: z.strictObject({
|
|
174
|
+
row: z.number(),
|
|
175
|
+
col: z.number(),
|
|
184
176
|
}),
|
|
185
|
-
direction:
|
|
186
|
-
hidden:
|
|
187
|
-
alias:
|
|
188
|
-
uniEquipIds:
|
|
189
|
-
|
|
190
|
-
key:
|
|
191
|
-
level:
|
|
177
|
+
direction: z.union([z.string(), z.number()]), // legacy
|
|
178
|
+
hidden: z.boolean(),
|
|
179
|
+
alias: z.union([z.string(), z.null()]),
|
|
180
|
+
uniEquipIds: z.union([
|
|
181
|
+
z.array(z.strictObject({
|
|
182
|
+
key: z.string(),
|
|
183
|
+
level: z.number(),
|
|
192
184
|
})),
|
|
193
|
-
|
|
185
|
+
z.null(), z.undefined()
|
|
194
186
|
] // legacy
|
|
195
187
|
),
|
|
196
|
-
inst:
|
|
197
|
-
characterKey:
|
|
198
|
-
level:
|
|
199
|
-
phase:
|
|
200
|
-
favorPoint:
|
|
201
|
-
potentialRank:
|
|
188
|
+
inst: z.strictObject({
|
|
189
|
+
characterKey: z.string(),
|
|
190
|
+
level: z.number(),
|
|
191
|
+
phase: z.union([z.string(), z.number()]), // legacy
|
|
192
|
+
favorPoint: z.number(),
|
|
193
|
+
potentialRank: z.number(),
|
|
202
194
|
}),
|
|
203
|
-
skillIndex:
|
|
204
|
-
mainSkillLvl:
|
|
205
|
-
skinId:
|
|
206
|
-
tmplId:
|
|
207
|
-
overrideSkillBlackboard:
|
|
195
|
+
skillIndex: z.number(),
|
|
196
|
+
mainSkillLvl: z.number(),
|
|
197
|
+
skinId: z.union([z.string(), z.null()]),
|
|
198
|
+
tmplId: z.union([z.string(), z.null(), z.undefined()]),
|
|
199
|
+
overrideSkillBlackboard: z.union([z.array(BlackboardZod), z.null(), z.undefined()]),
|
|
208
200
|
})),
|
|
209
|
-
characterCards:
|
|
210
|
-
tokenCards:
|
|
211
|
-
});
|
|
212
|
-
|
|
213
|
-
key:
|
|
214
|
-
offset:
|
|
215
|
-
x:
|
|
216
|
-
y:
|
|
217
|
-
z:
|
|
201
|
+
characterCards: z.array(z.any()),
|
|
202
|
+
tokenCards: z.array(z.any()),
|
|
203
|
+
});
|
|
204
|
+
var StageEffectZod = z.strictObject({
|
|
205
|
+
key: z.string(),
|
|
206
|
+
offset: z.strictObject({
|
|
207
|
+
x: z.number(),
|
|
208
|
+
y: z.number(),
|
|
209
|
+
z: z.number(),
|
|
218
210
|
}),
|
|
219
|
-
direction:
|
|
220
|
-
});
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
maxPlayTime: t.union([t.number, t.undefined]), // legacy
|
|
258
|
-
functionDisableMask: t.union([t.string, t.number]),
|
|
259
|
-
configBlackBoard: t.union([t.array(exports.BlackboardIO), t.null, t.undefined]), // legacy
|
|
211
|
+
direction: z.union([z.string(), z.number()]), // legacy
|
|
212
|
+
});
|
|
213
|
+
var StageActionZod = z.strictObject({
|
|
214
|
+
actionType: z.union([z.string(), z.number()]), // legacy
|
|
215
|
+
managedByScheduler: z.boolean(),
|
|
216
|
+
key: z.string(),
|
|
217
|
+
count: z.number(),
|
|
218
|
+
preDelay: z.number(),
|
|
219
|
+
interval: z.number(),
|
|
220
|
+
routeIndex: z.number(),
|
|
221
|
+
blockFragment: z.boolean(),
|
|
222
|
+
autoPreviewRoute: z.boolean(),
|
|
223
|
+
autoDisplayEnemyInfo: z.union([z.boolean(), z.undefined()]), // legacy
|
|
224
|
+
isUnharmfulAndAlwaysCountAsKilled: z.boolean(),
|
|
225
|
+
hiddenGroup: z.union([z.string(), z.null()]),
|
|
226
|
+
randomSpawnGroupKey: z.union([z.string(), z.null(), z.undefined()]), // legacy
|
|
227
|
+
randomSpawnGroupPackKey: z.union([z.string(), z.null(), z.undefined()]), // ~
|
|
228
|
+
randomType: z.union([z.string(), z.number(), z.undefined()]), // ~
|
|
229
|
+
weight: z.union([z.number(), z.undefined()]), // ~
|
|
230
|
+
dontBlockWave: z.union([z.boolean(), z.undefined()]), // ~
|
|
231
|
+
isValid: z.union([z.boolean(), z.undefined()]), // ~
|
|
232
|
+
extraMeta: z.union([z.null(), z.undefined()]), // ~
|
|
233
|
+
});
|
|
234
|
+
var StageDataZod = z.strictObject({
|
|
235
|
+
options: z.strictObject({
|
|
236
|
+
characterLimit: z.number(),
|
|
237
|
+
maxLifePoint: z.number(),
|
|
238
|
+
initialCost: z.number(),
|
|
239
|
+
maxCost: z.number(),
|
|
240
|
+
costIncreaseTime: z.number(),
|
|
241
|
+
moveMultiplier: z.number(),
|
|
242
|
+
steeringEnabled: z.boolean(),
|
|
243
|
+
isTrainingLevel: z.boolean(),
|
|
244
|
+
isHardTrainingLevel: z.union([z.boolean(), z.undefined()]), // legacy
|
|
245
|
+
isPredefinedCardsSelectable: z.union([z.boolean(), z.undefined()]), // legacy
|
|
246
|
+
maxPlayTime: z.union([z.number(), z.undefined()]), // legacy
|
|
247
|
+
functionDisableMask: z.union([z.string(), z.number()]),
|
|
248
|
+
configBlackBoard: z.union([z.array(BlackboardZod), z.null(), z.undefined()]), // legacy
|
|
260
249
|
}),
|
|
261
|
-
levelId:
|
|
262
|
-
mapId:
|
|
263
|
-
bgmEvent:
|
|
264
|
-
environmentSe:
|
|
265
|
-
mapData:
|
|
266
|
-
map:
|
|
267
|
-
tiles:
|
|
268
|
-
tileKey:
|
|
269
|
-
heightType:
|
|
270
|
-
buildableType:
|
|
271
|
-
passableMask:
|
|
272
|
-
playerSideMask:
|
|
273
|
-
blackboard:
|
|
274
|
-
effects:
|
|
250
|
+
levelId: z.union([z.string(), z.null()]),
|
|
251
|
+
mapId: z.union([z.string(), z.null()]),
|
|
252
|
+
bgmEvent: z.union([z.string(), z.null()]),
|
|
253
|
+
environmentSe: z.union([z.string(), z.null()]),
|
|
254
|
+
mapData: z.strictObject({
|
|
255
|
+
map: z.array(z.array(z.number())),
|
|
256
|
+
tiles: z.array(z.strictObject({
|
|
257
|
+
tileKey: z.string(),
|
|
258
|
+
heightType: z.union([z.string(), z.number()]), // keep number for legacy stages (monster hunter, vignettes, etc.)
|
|
259
|
+
buildableType: z.union([z.string(), z.number()]), // ~
|
|
260
|
+
passableMask: z.union([z.string(), z.number()]), // ~
|
|
261
|
+
playerSideMask: z.union([z.string(), z.number(), z.undefined()]), // ~
|
|
262
|
+
blackboard: z.union([z.array(BlackboardZod), z.null()]),
|
|
263
|
+
effects: z.union([z.array(StageEffectZod), z.null()]),
|
|
275
264
|
})),
|
|
276
|
-
blockEdges:
|
|
277
|
-
tags:
|
|
278
|
-
effects:
|
|
279
|
-
layerRects:
|
|
265
|
+
blockEdges: z.union([z.array(z.any()), z.null()]),
|
|
266
|
+
tags: z.union([z.array(z.string()), z.null()]),
|
|
267
|
+
effects: z.union([z.array(StageEffectZod), z.null()]),
|
|
268
|
+
layerRects: z.union([z.null(), z.undefined()]),
|
|
269
|
+
width: z.number().optional(),
|
|
270
|
+
height: z.number().optional(),
|
|
280
271
|
}),
|
|
281
|
-
tilesDisallowToLocate:
|
|
282
|
-
runes:
|
|
283
|
-
|
|
284
|
-
difficultyMask:
|
|
285
|
-
key:
|
|
286
|
-
professionMask:
|
|
287
|
-
buildableMask:
|
|
288
|
-
blackboard:
|
|
272
|
+
tilesDisallowToLocate: z.array(z.any()),
|
|
273
|
+
runes: z.union([
|
|
274
|
+
z.array(z.strictObject({
|
|
275
|
+
difficultyMask: z.union([z.string(), z.number()]), // legacy
|
|
276
|
+
key: z.string(),
|
|
277
|
+
professionMask: z.union([z.string(), z.number(), z.undefined()]), // legacy
|
|
278
|
+
buildableMask: z.union([z.string(), z.number()]), // legacy
|
|
279
|
+
blackboard: z.array(BlackboardZod),
|
|
289
280
|
})),
|
|
290
|
-
|
|
281
|
+
z.null()
|
|
291
282
|
]),
|
|
292
|
-
globalBuffs:
|
|
293
|
-
|
|
294
|
-
prefabKey:
|
|
295
|
-
blackboard:
|
|
296
|
-
overrideCameraEffect:
|
|
297
|
-
passProfessionMaskFlag:
|
|
298
|
-
professionMask:
|
|
283
|
+
globalBuffs: z.union([
|
|
284
|
+
z.array(z.strictObject({
|
|
285
|
+
prefabKey: z.string(),
|
|
286
|
+
blackboard: z.union([z.array(BlackboardZod), z.null()]),
|
|
287
|
+
overrideCameraEffect: z.null(),
|
|
288
|
+
passProfessionMaskFlag: z.union([z.boolean(), z.undefined()]),
|
|
289
|
+
professionMask: z.union([z.string(), z.number(), z.undefined()]),
|
|
290
|
+
useExtraData: z.boolean().optional(),
|
|
299
291
|
})),
|
|
300
|
-
|
|
292
|
+
z.null()
|
|
301
293
|
]),
|
|
302
|
-
routes:
|
|
303
|
-
|
|
304
|
-
motionMode:
|
|
305
|
-
startPosition:
|
|
306
|
-
row:
|
|
307
|
-
col:
|
|
294
|
+
routes: z.array(z.union([
|
|
295
|
+
z.strictObject({
|
|
296
|
+
motionMode: z.union([z.string(), z.number()]), // keep number for legacy
|
|
297
|
+
startPosition: z.strictObject({
|
|
298
|
+
row: z.number(),
|
|
299
|
+
col: z.number(),
|
|
308
300
|
}),
|
|
309
|
-
endPosition:
|
|
310
|
-
row:
|
|
311
|
-
col:
|
|
301
|
+
endPosition: z.strictObject({
|
|
302
|
+
row: z.number(),
|
|
303
|
+
col: z.number(),
|
|
312
304
|
}),
|
|
313
|
-
spawnRandomRange:
|
|
314
|
-
x:
|
|
315
|
-
y:
|
|
305
|
+
spawnRandomRange: z.strictObject({
|
|
306
|
+
x: z.number(),
|
|
307
|
+
y: z.number(),
|
|
316
308
|
}),
|
|
317
|
-
spawnOffset:
|
|
318
|
-
x:
|
|
319
|
-
y:
|
|
309
|
+
spawnOffset: z.strictObject({
|
|
310
|
+
x: z.number(),
|
|
311
|
+
y: z.number(),
|
|
320
312
|
}),
|
|
321
|
-
checkpoints:
|
|
322
|
-
|
|
323
|
-
type:
|
|
324
|
-
time:
|
|
325
|
-
position:
|
|
326
|
-
row:
|
|
327
|
-
col:
|
|
313
|
+
checkpoints: z.union([
|
|
314
|
+
z.array(z.strictObject({
|
|
315
|
+
type: z.union([z.string(), z.number()]), // keep number for legacy
|
|
316
|
+
time: z.number(),
|
|
317
|
+
position: z.strictObject({
|
|
318
|
+
row: z.number(),
|
|
319
|
+
col: z.number(),
|
|
328
320
|
}),
|
|
329
|
-
reachOffset:
|
|
330
|
-
x:
|
|
331
|
-
y:
|
|
321
|
+
reachOffset: z.strictObject({
|
|
322
|
+
x: z.number(),
|
|
323
|
+
y: z.number(),
|
|
332
324
|
}),
|
|
333
|
-
randomizeReachOffset:
|
|
334
|
-
reachDistance:
|
|
325
|
+
randomizeReachOffset: z.boolean(),
|
|
326
|
+
reachDistance: z.number(),
|
|
335
327
|
})),
|
|
336
|
-
|
|
328
|
+
z.null()
|
|
337
329
|
]),
|
|
338
|
-
allowDiagonalMove:
|
|
339
|
-
visitEveryTileCenter:
|
|
340
|
-
visitEveryNodeCenter:
|
|
341
|
-
visitEveryCheckPoint:
|
|
330
|
+
allowDiagonalMove: z.boolean(),
|
|
331
|
+
visitEveryTileCenter: z.boolean(),
|
|
332
|
+
visitEveryNodeCenter: z.boolean(),
|
|
333
|
+
visitEveryCheckPoint: z.union([z.boolean(), z.undefined()]), // legacy
|
|
342
334
|
}),
|
|
343
|
-
|
|
335
|
+
z.null() // legacy
|
|
344
336
|
])),
|
|
345
|
-
extraRoutes:
|
|
346
|
-
enemies:
|
|
347
|
-
enemyDbRefs:
|
|
348
|
-
useDb:
|
|
349
|
-
id:
|
|
350
|
-
level:
|
|
351
|
-
overwrittenData:
|
|
337
|
+
extraRoutes: z.union([z.array(z.any()), z.undefined()]),
|
|
338
|
+
enemies: z.array(z.any()),
|
|
339
|
+
enemyDbRefs: z.array(z.strictObject({
|
|
340
|
+
useDb: z.boolean(),
|
|
341
|
+
id: z.string(),
|
|
342
|
+
level: z.number(),
|
|
343
|
+
overwrittenData: z.union([EnemyDataZod, z.null()]),
|
|
352
344
|
})),
|
|
353
|
-
waves:
|
|
354
|
-
preDelay:
|
|
355
|
-
postDelay:
|
|
356
|
-
maxTimeWaitingForNextWave:
|
|
357
|
-
fragments:
|
|
358
|
-
|
|
345
|
+
waves: z.array(z.strictObject({
|
|
346
|
+
preDelay: z.number(),
|
|
347
|
+
postDelay: z.number(),
|
|
348
|
+
maxTimeWaitingForNextWave: z.number(),
|
|
349
|
+
fragments: z.array(z.strictObject({
|
|
350
|
+
preDelay: z.number(),
|
|
351
|
+
actions: z.array(StageActionZod),
|
|
352
|
+
name: z.string().nullable().optional(),
|
|
353
|
+
})),
|
|
354
|
+
advancedWaveTag: z.union([z.string(), z.null(), z.undefined()]), // legacy
|
|
355
|
+
name: z.string().nullable().optional(),
|
|
359
356
|
})),
|
|
360
|
-
branches:
|
|
361
|
-
|
|
362
|
-
phases:
|
|
357
|
+
branches: z.union([
|
|
358
|
+
z.record(z.string(), z.strictObject({
|
|
359
|
+
phases: z.array(z.strictObject({
|
|
360
|
+
preDelay: z.number(),
|
|
361
|
+
actions: z.array(StageActionZod),
|
|
362
|
+
m_randomActionGroups: z.null().optional(),
|
|
363
|
+
m_actionWithRandomSpawn: z.null().optional(),
|
|
364
|
+
m_validActionPackKeys: z.null().optional(),
|
|
365
|
+
})),
|
|
363
366
|
})),
|
|
364
|
-
|
|
367
|
+
z.null()
|
|
365
368
|
]),
|
|
366
|
-
predefines:
|
|
367
|
-
hardPredefines:
|
|
368
|
-
excludeCharIdList:
|
|
369
|
-
randomSeed:
|
|
370
|
-
operaConfig:
|
|
371
|
-
runtimeData:
|
|
372
|
-
});
|
|
373
|
-
|
|
374
|
-
id:
|
|
375
|
-
name:
|
|
376
|
-
description:
|
|
377
|
-
usage:
|
|
378
|
-
obtainApproach:
|
|
379
|
-
iconId:
|
|
380
|
-
type:
|
|
381
|
-
subType:
|
|
382
|
-
rarity:
|
|
383
|
-
value:
|
|
384
|
-
sortId:
|
|
385
|
-
canSacrifice:
|
|
386
|
-
unlockCondDesc:
|
|
387
|
-
});
|
|
388
|
-
|
|
389
|
-
excel:
|
|
390
|
-
id:
|
|
391
|
-
linkedStageId:
|
|
392
|
-
levelId:
|
|
393
|
-
code:
|
|
394
|
-
name:
|
|
395
|
-
loadingPicId:
|
|
396
|
-
description:
|
|
397
|
-
eliteDesc:
|
|
398
|
-
isBoss:
|
|
399
|
-
isElite:
|
|
400
|
-
difficulty:
|
|
401
|
-
capsulePool:
|
|
402
|
-
capsuleProb:
|
|
403
|
-
vutresProb:
|
|
404
|
-
boxProb:
|
|
369
|
+
predefines: z.union([StageDefinesZod, z.null()]),
|
|
370
|
+
hardPredefines: z.union([StageDefinesZod, z.null(), z.undefined()]),
|
|
371
|
+
excludeCharIdList: z.null(),
|
|
372
|
+
randomSeed: z.number(),
|
|
373
|
+
operaConfig: z.union([z.string(), z.null(), z.undefined()]),
|
|
374
|
+
runtimeData: z.union([z.null(), z.undefined()]), // legacy
|
|
375
|
+
});
|
|
376
|
+
var RogueRelicZod = z.strictObject({
|
|
377
|
+
id: z.string(),
|
|
378
|
+
name: z.string(),
|
|
379
|
+
description: z.union([z.string(), z.null()]),
|
|
380
|
+
usage: z.string(),
|
|
381
|
+
obtainApproach: z.string(),
|
|
382
|
+
iconId: z.string(),
|
|
383
|
+
type: z.string(),
|
|
384
|
+
subType: z.string(),
|
|
385
|
+
rarity: z.string(),
|
|
386
|
+
value: z.number(),
|
|
387
|
+
sortId: z.number(),
|
|
388
|
+
canSacrifice: z.boolean(),
|
|
389
|
+
unlockCondDesc: z.union([z.string(), z.null()]),
|
|
390
|
+
});
|
|
391
|
+
var RogueStageZod = z.strictObject({
|
|
392
|
+
excel: z.strictObject({
|
|
393
|
+
id: z.string(),
|
|
394
|
+
linkedStageId: z.string(),
|
|
395
|
+
levelId: z.string(),
|
|
396
|
+
code: z.string(),
|
|
397
|
+
name: z.string(),
|
|
398
|
+
loadingPicId: z.string(),
|
|
399
|
+
description: z.string(),
|
|
400
|
+
eliteDesc: z.union([z.string(), z.null()]),
|
|
401
|
+
isBoss: z.number(),
|
|
402
|
+
isElite: z.number(),
|
|
403
|
+
difficulty: z.string(),
|
|
404
|
+
capsulePool: z.union([z.string(), z.null()]),
|
|
405
|
+
capsuleProb: z.number(),
|
|
406
|
+
vutresProb: z.array(z.number()),
|
|
407
|
+
boxProb: z.array(z.number()),
|
|
408
|
+
specialNodeId: z.string().nullable(),
|
|
405
409
|
}),
|
|
406
|
-
levels:
|
|
407
|
-
});
|
|
408
|
-
|
|
409
|
-
id:
|
|
410
|
-
type:
|
|
411
|
-
outerName:
|
|
412
|
-
innerName:
|
|
413
|
-
functionDesc:
|
|
414
|
-
desc:
|
|
415
|
-
iconId:
|
|
416
|
-
sound:
|
|
417
|
-
});
|
|
418
|
-
|
|
419
|
-
excel:
|
|
420
|
-
stageId:
|
|
421
|
-
levelId:
|
|
422
|
-
code:
|
|
423
|
-
name:
|
|
424
|
-
loadingPicId:
|
|
425
|
-
description:
|
|
426
|
-
actionCost:
|
|
427
|
-
powerCost:
|
|
410
|
+
levels: StageDataZod,
|
|
411
|
+
});
|
|
412
|
+
var RogueVariationZod = z.strictObject({
|
|
413
|
+
id: z.string(),
|
|
414
|
+
type: z.string(),
|
|
415
|
+
outerName: z.string(),
|
|
416
|
+
innerName: z.string(),
|
|
417
|
+
functionDesc: z.string(),
|
|
418
|
+
desc: z.string(),
|
|
419
|
+
iconId: z.union([z.string(), z.null()]),
|
|
420
|
+
sound: z.union([z.string(), z.null()]),
|
|
421
|
+
});
|
|
422
|
+
var SandboxStageZod = z.strictObject({
|
|
423
|
+
excel: z.strictObject({
|
|
424
|
+
stageId: z.string(),
|
|
425
|
+
levelId: z.string(),
|
|
426
|
+
code: z.string(),
|
|
427
|
+
name: z.string(),
|
|
428
|
+
loadingPicId: z.string(),
|
|
429
|
+
description: z.string(),
|
|
430
|
+
actionCost: z.number(),
|
|
431
|
+
powerCost: z.number(),
|
|
428
432
|
}),
|
|
429
|
-
levels:
|
|
430
|
-
});
|
|
431
|
-
exports.
|
|
432
|
-
buffId:
|
|
433
|
-
buffName:
|
|
434
|
-
buffIcon:
|
|
435
|
-
skillIcon:
|
|
436
|
-
sortId:
|
|
437
|
-
buffColor:
|
|
438
|
-
textColor:
|
|
439
|
-
buffCategory:
|
|
440
|
-
roomType:
|
|
441
|
-
description:
|
|
442
|
-
});
|
|
443
|
-
exports.
|
|
444
|
-
const:
|
|
445
|
-
levelId:
|
|
446
|
-
location:
|
|
447
|
-
name:
|
|
448
|
-
description:
|
|
433
|
+
levels: StageDataZod,
|
|
434
|
+
});
|
|
435
|
+
exports.BaseZod = z.strictObject({
|
|
436
|
+
buffId: z.string(),
|
|
437
|
+
buffName: z.string(),
|
|
438
|
+
buffIcon: z.string(),
|
|
439
|
+
skillIcon: z.string(),
|
|
440
|
+
sortId: z.number(),
|
|
441
|
+
buffColor: z.string(),
|
|
442
|
+
textColor: z.string(),
|
|
443
|
+
buffCategory: z.string(),
|
|
444
|
+
roomType: z.string(),
|
|
445
|
+
description: z.string(),
|
|
446
|
+
});
|
|
447
|
+
exports.CCStageZod = z.strictObject({
|
|
448
|
+
const: z.strictObject({
|
|
449
|
+
levelId: z.string(),
|
|
450
|
+
location: z.string(),
|
|
451
|
+
name: z.string(),
|
|
452
|
+
description: z.string(),
|
|
449
453
|
}),
|
|
450
|
-
levels:
|
|
451
|
-
});
|
|
452
|
-
exports.
|
|
453
|
-
termId:
|
|
454
|
-
termName:
|
|
455
|
-
description:
|
|
456
|
-
});
|
|
457
|
-
exports.
|
|
458
|
-
excel:
|
|
459
|
-
enemyId:
|
|
460
|
-
enemyIndex:
|
|
461
|
-
enemyTags:
|
|
462
|
-
sortId:
|
|
463
|
-
name:
|
|
464
|
-
enemyLevel:
|
|
465
|
-
description:
|
|
466
|
-
attackType:
|
|
467
|
-
ability:
|
|
468
|
-
isInvalidKilled:
|
|
469
|
-
overrideKillCntInfos:
|
|
470
|
-
hideInHandbook:
|
|
454
|
+
levels: StageDataZod,
|
|
455
|
+
});
|
|
456
|
+
exports.DefinitionZod = z.strictObject({
|
|
457
|
+
termId: z.string(),
|
|
458
|
+
termName: z.string(),
|
|
459
|
+
description: z.string(),
|
|
460
|
+
});
|
|
461
|
+
exports.EnemyZod = z.strictObject({
|
|
462
|
+
excel: z.strictObject({
|
|
463
|
+
enemyId: z.string(),
|
|
464
|
+
enemyIndex: z.string(),
|
|
465
|
+
enemyTags: z.union([z.array(z.string()), z.null()]),
|
|
466
|
+
sortId: z.number(),
|
|
467
|
+
name: z.string(),
|
|
468
|
+
enemyLevel: z.enum(['NORMAL', 'ELITE', 'BOSS']),
|
|
469
|
+
description: z.string(),
|
|
470
|
+
attackType: z.null(),
|
|
471
|
+
ability: z.null(),
|
|
472
|
+
isInvalidKilled: z.boolean(),
|
|
473
|
+
overrideKillCntInfos: z.record(z.string(), z.any()),
|
|
474
|
+
hideInHandbook: z.boolean(),
|
|
475
|
+
abilityList: z.array(z.strictObject({
|
|
476
|
+
text: z.string(),
|
|
477
|
+
textFormat: z.enum(['NORMAL', 'SILENCE', 'TITLE'])
|
|
478
|
+
})),
|
|
479
|
+
linkEnemies: z.array(z.string()),
|
|
480
|
+
damageType: z.array(z.enum(['PHYSIC', 'MAGIC', 'NO_DAMAGE', 'HEAL'])),
|
|
481
|
+
invisibleDetail: z.boolean(),
|
|
471
482
|
}),
|
|
472
|
-
levels:
|
|
473
|
-
Key:
|
|
474
|
-
Value:
|
|
475
|
-
level:
|
|
476
|
-
enemyData:
|
|
483
|
+
levels: z.strictObject({
|
|
484
|
+
Key: z.string(),
|
|
485
|
+
Value: z.array(z.strictObject({
|
|
486
|
+
level: z.number(),
|
|
487
|
+
enemyData: EnemyDataZod,
|
|
477
488
|
})),
|
|
478
489
|
}),
|
|
479
490
|
});
|
|
480
|
-
exports.
|
|
481
|
-
id:
|
|
482
|
-
type:
|
|
483
|
-
displayType:
|
|
484
|
-
name:
|
|
485
|
-
startTime:
|
|
486
|
-
endTime:
|
|
487
|
-
rewardEndTime:
|
|
488
|
-
displayOnHome:
|
|
489
|
-
hasStage:
|
|
490
|
-
templateShopId:
|
|
491
|
-
medalGroupId:
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
491
|
+
exports.GameEventZod = z.strictObject({
|
|
492
|
+
id: z.string(),
|
|
493
|
+
type: z.string(),
|
|
494
|
+
displayType: z.string(),
|
|
495
|
+
name: z.string(),
|
|
496
|
+
startTime: z.number(),
|
|
497
|
+
endTime: z.number(),
|
|
498
|
+
rewardEndTime: z.number(),
|
|
499
|
+
displayOnHome: z.boolean(),
|
|
500
|
+
hasStage: z.boolean(),
|
|
501
|
+
templateShopId: z.union([z.string(), z.null()]),
|
|
502
|
+
medalGroupId: z.union([z.string(), z.null()]),
|
|
503
|
+
ungroupedMedalIds: z.array(z.string()).nullable(),
|
|
504
|
+
isReplicate: z.boolean(),
|
|
505
|
+
needFixedSync: z.boolean(),
|
|
506
|
+
});
|
|
507
|
+
exports.GridRangeZod = z.strictObject({
|
|
508
|
+
id: z.string(),
|
|
509
|
+
direction: z.number(),
|
|
510
|
+
grids: z.array(z.strictObject({
|
|
511
|
+
row: z.number(),
|
|
512
|
+
col: z.number(),
|
|
513
|
+
})),
|
|
514
|
+
});
|
|
515
|
+
exports.ItemZod = z.strictObject({
|
|
516
|
+
data: z.strictObject({
|
|
517
|
+
itemId: z.string(),
|
|
518
|
+
name: z.string(),
|
|
519
|
+
description: z.union([z.string(), z.null()]),
|
|
520
|
+
rarity: z.string(),
|
|
521
|
+
iconId: z.string(),
|
|
522
|
+
overrideBkg: z.null(),
|
|
523
|
+
stackIconId: z.union([z.string(), z.null()]),
|
|
524
|
+
sortId: z.number(),
|
|
525
|
+
usage: z.union([z.string(), z.null()]),
|
|
526
|
+
obtainApproach: z.union([z.string(), z.null()]),
|
|
527
|
+
hideInItemGet: z.boolean(),
|
|
528
|
+
classifyType: z.string(),
|
|
529
|
+
itemType: z.string(),
|
|
530
|
+
stageDropList: z.array(z.strictObject({
|
|
531
|
+
stageId: z.string(),
|
|
532
|
+
occPer: z.string(),
|
|
511
533
|
})),
|
|
512
|
-
buildingProductList:
|
|
513
|
-
roomType:
|
|
514
|
-
formulaId:
|
|
534
|
+
buildingProductList: z.array(z.strictObject({
|
|
535
|
+
roomType: z.string(),
|
|
536
|
+
formulaId: z.string(),
|
|
515
537
|
})),
|
|
516
538
|
}),
|
|
517
|
-
formula:
|
|
518
|
-
});
|
|
519
|
-
exports.
|
|
520
|
-
info:
|
|
521
|
-
uniEquipId:
|
|
522
|
-
uniEquipName:
|
|
523
|
-
uniEquipIcon:
|
|
524
|
-
uniEquipDesc:
|
|
525
|
-
typeIcon:
|
|
526
|
-
typeName1:
|
|
527
|
-
typeName2:
|
|
528
|
-
equipShiningColor:
|
|
529
|
-
showEvolvePhase:
|
|
530
|
-
unlockEvolvePhase:
|
|
531
|
-
charId:
|
|
532
|
-
tmplId:
|
|
533
|
-
showLevel:
|
|
534
|
-
unlockLevel:
|
|
535
|
-
unlockFavorPoint:
|
|
536
|
-
missionList:
|
|
537
|
-
itemCost:
|
|
538
|
-
type:
|
|
539
|
-
uniEquipGetTime:
|
|
540
|
-
charEquipOrder:
|
|
539
|
+
formula: z.union([ManufactFormulaZod, WorkshopFormulaZod, z.null()]),
|
|
540
|
+
});
|
|
541
|
+
exports.ModuleZod = z.strictObject({
|
|
542
|
+
info: z.strictObject({
|
|
543
|
+
uniEquipId: z.string(),
|
|
544
|
+
uniEquipName: z.string(),
|
|
545
|
+
uniEquipIcon: z.string(),
|
|
546
|
+
uniEquipDesc: z.string(),
|
|
547
|
+
typeIcon: z.string(),
|
|
548
|
+
typeName1: z.string(),
|
|
549
|
+
typeName2: z.union([z.string(), z.null()]),
|
|
550
|
+
equipShiningColor: z.string(),
|
|
551
|
+
showEvolvePhase: z.string(),
|
|
552
|
+
unlockEvolvePhase: z.string(),
|
|
553
|
+
charId: z.string(),
|
|
554
|
+
tmplId: z.union([z.string(), z.null()]),
|
|
555
|
+
showLevel: z.number(),
|
|
556
|
+
unlockLevel: z.number(),
|
|
557
|
+
unlockFavorPoint: z.number(),
|
|
558
|
+
missionList: z.array(z.string()),
|
|
559
|
+
itemCost: z.union([z.record(z.string(), z.array(LevelUpCostZod)), z.null()]),
|
|
560
|
+
type: z.string(),
|
|
561
|
+
uniEquipGetTime: z.number(),
|
|
562
|
+
charEquipOrder: z.number(),
|
|
541
563
|
}),
|
|
542
|
-
data:
|
|
543
|
-
|
|
544
|
-
phases:
|
|
545
|
-
equipLevel:
|
|
546
|
-
parts:
|
|
547
|
-
resKey:
|
|
548
|
-
target:
|
|
549
|
-
isToken:
|
|
550
|
-
addOrOverrideTalentDataBundle:
|
|
551
|
-
candidates:
|
|
552
|
-
|
|
553
|
-
displayRangeId:
|
|
554
|
-
upgradeDescription:
|
|
555
|
-
talentIndex:
|
|
556
|
-
unlockCondition:
|
|
557
|
-
requiredPotentialRank:
|
|
558
|
-
prefabKey:
|
|
559
|
-
name:
|
|
560
|
-
description:
|
|
561
|
-
rangeId:
|
|
562
|
-
blackboard:
|
|
564
|
+
data: z.union([
|
|
565
|
+
z.strictObject({
|
|
566
|
+
phases: z.array(z.strictObject({
|
|
567
|
+
equipLevel: z.number(),
|
|
568
|
+
parts: z.array(z.strictObject({
|
|
569
|
+
resKey: z.union([z.string(), z.null()]),
|
|
570
|
+
target: z.string(),
|
|
571
|
+
isToken: z.boolean(),
|
|
572
|
+
addOrOverrideTalentDataBundle: z.strictObject({
|
|
573
|
+
candidates: z.union([
|
|
574
|
+
z.array(z.strictObject({
|
|
575
|
+
displayRangeId: z.boolean(),
|
|
576
|
+
upgradeDescription: z.string(),
|
|
577
|
+
talentIndex: z.number(),
|
|
578
|
+
unlockCondition: OperatorUnlockCondZod,
|
|
579
|
+
requiredPotentialRank: z.number(),
|
|
580
|
+
prefabKey: z.string(),
|
|
581
|
+
name: z.union([z.string(), z.null()]),
|
|
582
|
+
description: z.union([z.string(), z.null()]),
|
|
583
|
+
rangeId: z.union([z.string(), z.null()]),
|
|
584
|
+
blackboard: z.array(BlackboardZod),
|
|
585
|
+
tokenKey: z.string().optional(),
|
|
563
586
|
})),
|
|
564
|
-
|
|
587
|
+
z.null()
|
|
565
588
|
]),
|
|
566
589
|
}),
|
|
567
|
-
overrideTraitDataBundle:
|
|
568
|
-
candidates:
|
|
569
|
-
|
|
570
|
-
additionalDescription:
|
|
571
|
-
unlockCondition:
|
|
572
|
-
requiredPotentialRank:
|
|
573
|
-
blackboard:
|
|
574
|
-
overrideDescripton:
|
|
575
|
-
prefabKey:
|
|
576
|
-
rangeId:
|
|
590
|
+
overrideTraitDataBundle: z.strictObject({
|
|
591
|
+
candidates: z.union([
|
|
592
|
+
z.array(z.strictObject({
|
|
593
|
+
additionalDescription: z.union([z.string(), z.null()]),
|
|
594
|
+
unlockCondition: OperatorUnlockCondZod,
|
|
595
|
+
requiredPotentialRank: z.number(),
|
|
596
|
+
blackboard: z.array(BlackboardZod),
|
|
597
|
+
overrideDescripton: z.union([z.string(), z.null()]),
|
|
598
|
+
prefabKey: z.union([z.string(), z.null()]),
|
|
599
|
+
rangeId: z.union([z.string(), z.null()]),
|
|
577
600
|
})),
|
|
578
|
-
|
|
601
|
+
z.null()
|
|
579
602
|
]),
|
|
580
603
|
}),
|
|
581
604
|
})),
|
|
582
|
-
attributeBlackboard:
|
|
583
|
-
tokenAttributeBlackboard:
|
|
605
|
+
attributeBlackboard: z.array(BlackboardZod),
|
|
606
|
+
tokenAttributeBlackboard: z.record(z.string(), z.array(BlackboardZod)),
|
|
584
607
|
})),
|
|
585
608
|
}),
|
|
586
|
-
|
|
609
|
+
z.null()
|
|
587
610
|
]),
|
|
588
611
|
});
|
|
589
|
-
exports.
|
|
590
|
-
excel:
|
|
591
|
-
charId:
|
|
592
|
-
stageId:
|
|
593
|
-
levelId:
|
|
594
|
-
zoneId:
|
|
595
|
-
code:
|
|
596
|
-
name:
|
|
597
|
-
loadingPicId:
|
|
598
|
-
description:
|
|
599
|
-
unlockParam:
|
|
600
|
-
unlockType:
|
|
601
|
-
unlockParam1:
|
|
602
|
-
unlockParam2:
|
|
603
|
-
unlockParam3:
|
|
612
|
+
exports.ParadoxZod = z.strictObject({
|
|
613
|
+
excel: z.strictObject({
|
|
614
|
+
charId: z.string(),
|
|
615
|
+
stageId: z.string(),
|
|
616
|
+
levelId: z.string(),
|
|
617
|
+
zoneId: z.string(),
|
|
618
|
+
code: z.string(),
|
|
619
|
+
name: z.string(),
|
|
620
|
+
loadingPicId: z.string(),
|
|
621
|
+
description: z.string(),
|
|
622
|
+
unlockParam: z.array(z.strictObject({
|
|
623
|
+
unlockType: z.string(),
|
|
624
|
+
unlockParam1: z.string(),
|
|
625
|
+
unlockParam2: z.string(),
|
|
626
|
+
unlockParam3: z.null(),
|
|
604
627
|
})),
|
|
605
|
-
rewardItem:
|
|
606
|
-
id:
|
|
607
|
-
count:
|
|
608
|
-
type:
|
|
628
|
+
rewardItem: z.array(z.strictObject({
|
|
629
|
+
id: z.string(),
|
|
630
|
+
count: z.number(),
|
|
631
|
+
type: z.string(),
|
|
609
632
|
})),
|
|
610
|
-
stageNameForShow:
|
|
611
|
-
zoneNameForShow:
|
|
612
|
-
picId:
|
|
613
|
-
stageGetTime:
|
|
633
|
+
stageNameForShow: z.string(),
|
|
634
|
+
zoneNameForShow: z.string(),
|
|
635
|
+
picId: z.string(),
|
|
636
|
+
stageGetTime: z.number(),
|
|
614
637
|
}),
|
|
615
|
-
levels:
|
|
616
|
-
});
|
|
617
|
-
exports.
|
|
618
|
-
name:
|
|
619
|
-
stageDict:
|
|
620
|
-
toughStageDict:
|
|
621
|
-
relicDict:
|
|
622
|
-
variationDict:
|
|
623
|
-
});
|
|
624
|
-
exports.
|
|
625
|
-
stageDict:
|
|
626
|
-
});
|
|
627
|
-
exports.
|
|
628
|
-
skillId:
|
|
629
|
-
iconId:
|
|
630
|
-
hidden:
|
|
631
|
-
levels:
|
|
632
|
-
name:
|
|
633
|
-
rangeId:
|
|
634
|
-
description:
|
|
635
|
-
skillType:
|
|
636
|
-
durationType:
|
|
637
|
-
spData:
|
|
638
|
-
spType:
|
|
639
|
-
levelUpCost:
|
|
640
|
-
maxChargeTime:
|
|
641
|
-
spCost:
|
|
642
|
-
initSp:
|
|
643
|
-
increment:
|
|
638
|
+
levels: StageDataZod,
|
|
639
|
+
});
|
|
640
|
+
exports.RogueThemeZod = z.strictObject({
|
|
641
|
+
name: z.string(),
|
|
642
|
+
stageDict: z.record(z.string(), RogueStageZod),
|
|
643
|
+
toughStageDict: z.record(z.string(), RogueStageZod),
|
|
644
|
+
relicDict: z.record(z.string(), RogueRelicZod),
|
|
645
|
+
variationDict: z.record(z.string(), RogueVariationZod),
|
|
646
|
+
});
|
|
647
|
+
exports.SandboxActZod = z.strictObject({
|
|
648
|
+
stageDict: z.record(z.string(), SandboxStageZod),
|
|
649
|
+
});
|
|
650
|
+
exports.SkillZod = z.strictObject({
|
|
651
|
+
skillId: z.string(),
|
|
652
|
+
iconId: z.union([z.string(), z.null()]),
|
|
653
|
+
hidden: z.boolean(),
|
|
654
|
+
levels: z.array(z.strictObject({
|
|
655
|
+
name: z.string(),
|
|
656
|
+
rangeId: z.union([z.string(), z.null()]),
|
|
657
|
+
description: z.union([z.string(), z.null()]),
|
|
658
|
+
skillType: z.string(),
|
|
659
|
+
durationType: z.string(),
|
|
660
|
+
spData: z.strictObject({
|
|
661
|
+
spType: z.union([z.string(), z.number()]),
|
|
662
|
+
levelUpCost: z.null(),
|
|
663
|
+
maxChargeTime: z.number(),
|
|
664
|
+
spCost: z.number(),
|
|
665
|
+
initSp: z.number(),
|
|
666
|
+
increment: z.number(),
|
|
644
667
|
}),
|
|
645
|
-
prefabId:
|
|
646
|
-
duration:
|
|
647
|
-
blackboard:
|
|
668
|
+
prefabId: z.union([z.string(), z.null()]),
|
|
669
|
+
duration: z.number(),
|
|
670
|
+
blackboard: z.array(BlackboardZod),
|
|
648
671
|
})),
|
|
649
672
|
});
|
|
650
|
-
exports.
|
|
651
|
-
skinId:
|
|
652
|
-
charId:
|
|
653
|
-
tokenSkinMap:
|
|
654
|
-
|
|
655
|
-
tokenId:
|
|
656
|
-
tokenSkinId:
|
|
673
|
+
exports.SkinZod = z.strictObject({
|
|
674
|
+
skinId: z.string(),
|
|
675
|
+
charId: z.string(),
|
|
676
|
+
tokenSkinMap: z.union([
|
|
677
|
+
z.array(z.strictObject({
|
|
678
|
+
tokenId: z.string(),
|
|
679
|
+
tokenSkinId: z.string(),
|
|
657
680
|
})),
|
|
658
|
-
|
|
681
|
+
z.null()
|
|
659
682
|
]),
|
|
660
|
-
illustId:
|
|
661
|
-
dynIllustId:
|
|
662
|
-
avatarId:
|
|
663
|
-
portraitId:
|
|
664
|
-
dynPortraitId:
|
|
665
|
-
dynEntranceId:
|
|
666
|
-
buildingId:
|
|
667
|
-
battleSkin:
|
|
668
|
-
overwritePrefab:
|
|
669
|
-
skinOrPrefabId:
|
|
683
|
+
illustId: z.union([z.string(), z.null()]),
|
|
684
|
+
dynIllustId: z.union([z.string(), z.null()]),
|
|
685
|
+
avatarId: z.string(),
|
|
686
|
+
portraitId: z.union([z.string(), z.null()]),
|
|
687
|
+
dynPortraitId: z.union([z.string(), z.null()]),
|
|
688
|
+
dynEntranceId: z.union([z.string(), z.null()]),
|
|
689
|
+
buildingId: z.union([z.string(), z.null()]),
|
|
690
|
+
battleSkin: z.strictObject({
|
|
691
|
+
overwritePrefab: z.boolean(),
|
|
692
|
+
skinOrPrefabId: z.union([z.string(), z.null()]),
|
|
670
693
|
}),
|
|
671
|
-
isBuySkin:
|
|
672
|
-
tmplId:
|
|
673
|
-
voiceId:
|
|
674
|
-
voiceType:
|
|
675
|
-
displaySkin:
|
|
676
|
-
skinName:
|
|
677
|
-
colorList:
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
694
|
+
isBuySkin: z.boolean(),
|
|
695
|
+
tmplId: z.union([z.string(), z.null()]),
|
|
696
|
+
voiceId: z.union([z.string(), z.null()]),
|
|
697
|
+
voiceType: z.string(),
|
|
698
|
+
displaySkin: z.strictObject({
|
|
699
|
+
skinName: z.union([z.string(), z.null()]),
|
|
700
|
+
colorList: z.union([z.array(z.string()), z.null()]),
|
|
701
|
+
titleList: z.array(z.string()).nullable(),
|
|
702
|
+
modelName: z.union([z.string(), z.null()]),
|
|
703
|
+
drawerList: z.union([z.array(z.string()), z.null()]),
|
|
704
|
+
designerList: z.array(z.string()).nullable(),
|
|
705
|
+
skinGroupId: z.union([z.string(), z.null()]),
|
|
706
|
+
skinGroupName: z.union([z.string(), z.null()]),
|
|
707
|
+
skinGroupSortIndex: z.number(),
|
|
708
|
+
content: z.union([z.string(), z.null()]),
|
|
709
|
+
dialog: z.union([z.string(), z.null()]),
|
|
710
|
+
usage: z.union([z.string(), z.null()]),
|
|
711
|
+
description: z.union([z.string(), z.null()]),
|
|
712
|
+
obtainApproach: z.union([z.string(), z.null()]),
|
|
713
|
+
sortId: z.number(),
|
|
714
|
+
displayTagId: z.union([z.string(), z.null()]),
|
|
715
|
+
getTime: z.number(),
|
|
716
|
+
onYear: z.number(),
|
|
717
|
+
onPeriod: z.number(),
|
|
693
718
|
}),
|
|
694
719
|
});
|
|
695
|
-
exports.
|
|
696
|
-
excel:
|
|
697
|
-
stageType:
|
|
698
|
-
difficulty:
|
|
699
|
-
performanceStageFlag:
|
|
700
|
-
diffGroup:
|
|
701
|
-
unlockCondition:
|
|
702
|
-
|
|
703
|
-
stageId:
|
|
704
|
-
completeState:
|
|
720
|
+
exports.StageZod = z.strictObject({
|
|
721
|
+
excel: z.strictObject({
|
|
722
|
+
stageType: z.string(),
|
|
723
|
+
difficulty: z.string(),
|
|
724
|
+
performanceStageFlag: z.string(),
|
|
725
|
+
diffGroup: z.string(),
|
|
726
|
+
unlockCondition: z.array(z.union([
|
|
727
|
+
z.strictObject({
|
|
728
|
+
stageId: z.string(),
|
|
729
|
+
completeState: z.string(),
|
|
705
730
|
}),
|
|
706
|
-
|
|
731
|
+
z.null()
|
|
707
732
|
])),
|
|
708
|
-
stageId:
|
|
709
|
-
levelId:
|
|
710
|
-
zoneId:
|
|
711
|
-
code:
|
|
712
|
-
name:
|
|
713
|
-
description:
|
|
714
|
-
hardStagedId:
|
|
715
|
-
dangerLevel:
|
|
716
|
-
dangerPoint:
|
|
717
|
-
loadingPicId:
|
|
718
|
-
canPractice:
|
|
719
|
-
canBattleReplay:
|
|
720
|
-
apCost:
|
|
721
|
-
apFailReturn:
|
|
722
|
-
etItemId:
|
|
723
|
-
etCost:
|
|
724
|
-
etFailReturn:
|
|
725
|
-
etButtonStyle:
|
|
726
|
-
apProtectTimes:
|
|
727
|
-
diamondOnceDrop:
|
|
728
|
-
practiceTicketCost:
|
|
729
|
-
dailyStageDifficulty:
|
|
730
|
-
expGain:
|
|
731
|
-
goldGain:
|
|
732
|
-
loseExpGain:
|
|
733
|
-
loseGoldGain:
|
|
734
|
-
passFavor:
|
|
735
|
-
completeFavor:
|
|
736
|
-
slProgress:
|
|
737
|
-
displayMainItem:
|
|
738
|
-
hilightMark:
|
|
739
|
-
bossMark:
|
|
740
|
-
isPredefined:
|
|
741
|
-
isHardPredefined:
|
|
742
|
-
isSkillSelectablePredefined:
|
|
743
|
-
isStoryOnly:
|
|
744
|
-
appearanceStyle:
|
|
745
|
-
stageDropInfo:
|
|
746
|
-
firstPassRewards:
|
|
747
|
-
firstCompleteRewards:
|
|
748
|
-
passRewards:
|
|
749
|
-
completeRewards:
|
|
750
|
-
displayRewards:
|
|
751
|
-
type:
|
|
752
|
-
id:
|
|
753
|
-
dropType:
|
|
733
|
+
stageId: z.string(),
|
|
734
|
+
levelId: z.string(),
|
|
735
|
+
zoneId: z.string(),
|
|
736
|
+
code: z.string(),
|
|
737
|
+
name: z.string(),
|
|
738
|
+
description: z.string(),
|
|
739
|
+
hardStagedId: z.union([z.string(), z.null()]),
|
|
740
|
+
dangerLevel: z.union([z.string(), z.null()]),
|
|
741
|
+
dangerPoint: z.number(),
|
|
742
|
+
loadingPicId: z.string(),
|
|
743
|
+
canPractice: z.boolean(),
|
|
744
|
+
canBattleReplay: z.boolean(),
|
|
745
|
+
apCost: z.number(),
|
|
746
|
+
apFailReturn: z.number(),
|
|
747
|
+
etItemId: z.union([z.string(), z.null()]),
|
|
748
|
+
etCost: z.number(),
|
|
749
|
+
etFailReturn: z.number(),
|
|
750
|
+
etButtonStyle: z.union([z.string(), z.null()]),
|
|
751
|
+
apProtectTimes: z.number(),
|
|
752
|
+
diamondOnceDrop: z.number(),
|
|
753
|
+
practiceTicketCost: z.number(),
|
|
754
|
+
dailyStageDifficulty: z.number(),
|
|
755
|
+
expGain: z.number(),
|
|
756
|
+
goldGain: z.number(),
|
|
757
|
+
loseExpGain: z.number(),
|
|
758
|
+
loseGoldGain: z.number(),
|
|
759
|
+
passFavor: z.number(),
|
|
760
|
+
completeFavor: z.number(),
|
|
761
|
+
slProgress: z.number(),
|
|
762
|
+
displayMainItem: z.union([z.string(), z.null()]),
|
|
763
|
+
hilightMark: z.boolean(),
|
|
764
|
+
bossMark: z.boolean(),
|
|
765
|
+
isPredefined: z.boolean(),
|
|
766
|
+
isHardPredefined: z.boolean(),
|
|
767
|
+
isSkillSelectablePredefined: z.boolean(),
|
|
768
|
+
isStoryOnly: z.boolean(),
|
|
769
|
+
appearanceStyle: z.string(),
|
|
770
|
+
stageDropInfo: z.strictObject({
|
|
771
|
+
firstPassRewards: z.null(),
|
|
772
|
+
firstCompleteRewards: z.null(),
|
|
773
|
+
passRewards: z.null(),
|
|
774
|
+
completeRewards: z.null(),
|
|
775
|
+
displayRewards: z.array(z.strictObject({
|
|
776
|
+
type: z.string(),
|
|
777
|
+
id: z.string(),
|
|
778
|
+
dropType: z.string(),
|
|
754
779
|
})),
|
|
755
|
-
displayDetailRewards:
|
|
756
|
-
occPercent:
|
|
757
|
-
type:
|
|
758
|
-
id:
|
|
759
|
-
dropType:
|
|
780
|
+
displayDetailRewards: z.array(z.strictObject({
|
|
781
|
+
occPercent: z.string(),
|
|
782
|
+
type: z.string(),
|
|
783
|
+
id: z.string(),
|
|
784
|
+
dropType: z.string(),
|
|
760
785
|
})),
|
|
761
786
|
}),
|
|
762
|
-
canUseCharm:
|
|
763
|
-
canUseTech:
|
|
764
|
-
canUseTrapTool:
|
|
765
|
-
canUseBattlePerformance:
|
|
766
|
-
startButtonOverrideId:
|
|
767
|
-
isStagePatch:
|
|
768
|
-
mainStageId:
|
|
769
|
-
extraCondition:
|
|
770
|
-
|
|
771
|
-
index:
|
|
772
|
-
template:
|
|
773
|
-
unlockParam:
|
|
787
|
+
canUseCharm: z.boolean(),
|
|
788
|
+
canUseTech: z.boolean(),
|
|
789
|
+
canUseTrapTool: z.boolean(),
|
|
790
|
+
canUseBattlePerformance: z.boolean(),
|
|
791
|
+
startButtonOverrideId: z.union([z.string(), z.null()]),
|
|
792
|
+
isStagePatch: z.boolean(),
|
|
793
|
+
mainStageId: z.union([z.string(), z.null()]),
|
|
794
|
+
extraCondition: z.union([
|
|
795
|
+
z.array(z.strictObject({
|
|
796
|
+
index: z.number(),
|
|
797
|
+
template: z.string(),
|
|
798
|
+
unlockParam: z.array(z.string()),
|
|
774
799
|
})),
|
|
775
|
-
|
|
800
|
+
z.null()
|
|
776
801
|
]),
|
|
777
|
-
extraInfo:
|
|
778
|
-
|
|
779
|
-
stageId:
|
|
780
|
-
rewards:
|
|
781
|
-
id:
|
|
782
|
-
count:
|
|
783
|
-
type:
|
|
802
|
+
extraInfo: z.union([
|
|
803
|
+
z.array(z.strictObject({
|
|
804
|
+
stageId: z.string(),
|
|
805
|
+
rewards: z.array(z.strictObject({
|
|
806
|
+
id: z.string(),
|
|
807
|
+
count: z.number(),
|
|
808
|
+
type: z.string(),
|
|
784
809
|
})),
|
|
785
|
-
progressInfo:
|
|
786
|
-
progressType:
|
|
787
|
-
descList:
|
|
810
|
+
progressInfo: z.strictObject({
|
|
811
|
+
progressType: z.string(),
|
|
812
|
+
descList: z.record(z.string(), z.string()),
|
|
788
813
|
})
|
|
789
814
|
})),
|
|
790
|
-
|
|
815
|
+
z.null()
|
|
791
816
|
])
|
|
792
817
|
}),
|
|
793
|
-
levels:
|
|
794
|
-
});
|
|
795
|
-
exports.
|
|
796
|
-
id:
|
|
797
|
-
recruit:
|
|
798
|
-
archetype:
|
|
799
|
-
range: exports.
|
|
800
|
-
skills:
|
|
801
|
-
modules:
|
|
802
|
-
skins:
|
|
803
|
-
bases:
|
|
804
|
-
condition:
|
|
805
|
-
buffId:
|
|
806
|
-
cond:
|
|
818
|
+
levels: StageDataZod,
|
|
819
|
+
});
|
|
820
|
+
exports.OperatorZod = z.strictObject({
|
|
821
|
+
id: z.string(),
|
|
822
|
+
recruit: z.number(),
|
|
823
|
+
archetype: z.string(),
|
|
824
|
+
range: exports.GridRangeZod,
|
|
825
|
+
skills: z.array(exports.SkillZod),
|
|
826
|
+
modules: z.array(exports.ModuleZod),
|
|
827
|
+
skins: z.array(exports.SkinZod),
|
|
828
|
+
bases: z.array(z.strictObject({
|
|
829
|
+
condition: z.strictObject({
|
|
830
|
+
buffId: z.string(),
|
|
831
|
+
cond: OperatorUnlockCondZod,
|
|
807
832
|
}),
|
|
808
|
-
skill: exports.
|
|
833
|
+
skill: exports.BaseZod,
|
|
809
834
|
})),
|
|
810
|
-
paradox:
|
|
811
|
-
data:
|
|
812
|
-
name:
|
|
813
|
-
description:
|
|
814
|
-
canUseGeneralPotentialItem:
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
835
|
+
paradox: z.union([exports.ParadoxZod, z.null()]),
|
|
836
|
+
data: z.strictObject({
|
|
837
|
+
name: z.string(),
|
|
838
|
+
description: z.string(),
|
|
839
|
+
canUseGeneralPotentialItem: z.boolean(),
|
|
840
|
+
canUseActivityPotentialItem: z.boolean(),
|
|
841
|
+
potentialItemId: z.union([z.string(), z.null()]),
|
|
842
|
+
activityPotentialItemId: z.string().nullable(),
|
|
843
|
+
classicPotentialItemId: z.string().nullable(),
|
|
844
|
+
nationId: z.union([z.string(), z.null()]),
|
|
845
|
+
groupId: z.union([z.string(), z.null()]),
|
|
846
|
+
teamId: z.union([z.string(), z.null()]),
|
|
847
|
+
displayNumber: z.union([z.string(), z.null()]),
|
|
848
|
+
appellation: z.string(),
|
|
849
|
+
position: z.string(),
|
|
850
|
+
tagList: z.array(z.string()),
|
|
851
|
+
itemUsage: z.union([z.string(), z.null()]),
|
|
852
|
+
itemDesc: z.union([z.string(), z.null()]),
|
|
853
|
+
itemObtainApproach: z.union([z.string(), z.null()]),
|
|
854
|
+
isNotObtainable: z.boolean(),
|
|
855
|
+
isSpChar: z.boolean(),
|
|
856
|
+
maxPotentialLevel: z.number(),
|
|
857
|
+
rarity: z.string(),
|
|
858
|
+
profession: z.string(),
|
|
859
|
+
subProfessionId: z.string(),
|
|
860
|
+
trait: z.union([
|
|
861
|
+
z.strictObject({
|
|
862
|
+
candidates: z.array(z.strictObject({
|
|
863
|
+
unlockCondition: OperatorUnlockCondZod,
|
|
864
|
+
requiredPotentialRank: z.number(),
|
|
865
|
+
blackboard: z.array(BlackboardZod),
|
|
866
|
+
overrideDescripton: z.union([z.string(), z.null()]),
|
|
867
|
+
prefabKey: z.union([z.string(), z.null()]),
|
|
868
|
+
rangeId: z.union([z.string(), z.null()]),
|
|
842
869
|
})),
|
|
843
870
|
}),
|
|
844
|
-
|
|
871
|
+
z.null()
|
|
845
872
|
]),
|
|
846
|
-
phases:
|
|
847
|
-
characterPrefabKey:
|
|
848
|
-
rangeId:
|
|
849
|
-
maxLevel:
|
|
850
|
-
attributesKeyFrames:
|
|
851
|
-
evolveCost:
|
|
873
|
+
phases: z.array(z.strictObject({
|
|
874
|
+
characterPrefabKey: z.string(),
|
|
875
|
+
rangeId: z.string(),
|
|
876
|
+
maxLevel: z.number(),
|
|
877
|
+
attributesKeyFrames: z.array(AttributesKeyFrameZod),
|
|
878
|
+
evolveCost: z.union([z.array(LevelUpCostZod), z.null()]),
|
|
852
879
|
})),
|
|
853
|
-
skills:
|
|
854
|
-
skillId:
|
|
855
|
-
overridePrefabKey:
|
|
856
|
-
overrideTokenKey:
|
|
857
|
-
levelUpCostCond:
|
|
858
|
-
unlockCond:
|
|
880
|
+
skills: z.array(z.strictObject({
|
|
881
|
+
skillId: z.string(),
|
|
882
|
+
overridePrefabKey: z.union([z.string(), z.null()]),
|
|
883
|
+
overrideTokenKey: z.union([z.string(), z.null()]),
|
|
884
|
+
levelUpCostCond: z.array(LevelUpCostCondZod),
|
|
885
|
+
unlockCond: OperatorUnlockCondZod,
|
|
859
886
|
})),
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
887
|
+
displayTokenDict: z.record(z.boolean()).nullable(),
|
|
888
|
+
talents: z.union([
|
|
889
|
+
z.array(z.strictObject({
|
|
890
|
+
candidates: z.array(z.strictObject({
|
|
891
|
+
unlockCondition: OperatorUnlockCondZod,
|
|
892
|
+
requiredPotentialRank: z.number(),
|
|
893
|
+
prefabKey: z.string(),
|
|
894
|
+
name: z.string(),
|
|
895
|
+
description: z.string(),
|
|
896
|
+
rangeId: z.union([z.string(), z.null()]),
|
|
897
|
+
blackboard: z.array(BlackboardZod),
|
|
898
|
+
tokenKey: z.string().nullable(),
|
|
870
899
|
})),
|
|
871
900
|
})),
|
|
872
|
-
|
|
901
|
+
z.null()
|
|
873
902
|
]),
|
|
874
|
-
potentialRanks:
|
|
875
|
-
type:
|
|
876
|
-
description:
|
|
877
|
-
buff:
|
|
878
|
-
|
|
879
|
-
attributes:
|
|
880
|
-
abnormalFlags:
|
|
881
|
-
abnormalImmunes:
|
|
882
|
-
abnormalAntis:
|
|
883
|
-
abnormalCombos:
|
|
884
|
-
abnormalComboImmunes:
|
|
885
|
-
attributeModifiers:
|
|
886
|
-
attributeType:
|
|
887
|
-
formulaItem:
|
|
888
|
-
value:
|
|
889
|
-
loadFromBlackboard:
|
|
890
|
-
fetchBaseValueFromSourceEntity:
|
|
903
|
+
potentialRanks: z.array(z.strictObject({
|
|
904
|
+
type: z.string(),
|
|
905
|
+
description: z.string(),
|
|
906
|
+
buff: z.union([
|
|
907
|
+
z.strictObject({
|
|
908
|
+
attributes: z.strictObject({
|
|
909
|
+
abnormalFlags: z.null(),
|
|
910
|
+
abnormalImmunes: z.null(),
|
|
911
|
+
abnormalAntis: z.null(),
|
|
912
|
+
abnormalCombos: z.null(),
|
|
913
|
+
abnormalComboImmunes: z.null(),
|
|
914
|
+
attributeModifiers: z.array(z.strictObject({
|
|
915
|
+
attributeType: z.string(),
|
|
916
|
+
formulaItem: z.string(),
|
|
917
|
+
value: z.number(),
|
|
918
|
+
loadFromBlackboard: z.boolean(),
|
|
919
|
+
fetchBaseValueFromSourceEntity: z.boolean(),
|
|
891
920
|
})),
|
|
892
921
|
}),
|
|
893
922
|
}),
|
|
894
|
-
|
|
923
|
+
z.null()
|
|
895
924
|
]),
|
|
896
|
-
equivalentCost:
|
|
925
|
+
equivalentCost: z.null(),
|
|
897
926
|
})),
|
|
898
|
-
favorKeyFrames:
|
|
899
|
-
allSkillLvlup:
|
|
900
|
-
unlockCond:
|
|
901
|
-
lvlUpCost:
|
|
927
|
+
favorKeyFrames: z.array(AttributesKeyFrameZod),
|
|
928
|
+
allSkillLvlup: z.array(z.strictObject({
|
|
929
|
+
unlockCond: OperatorUnlockCondZod,
|
|
930
|
+
lvlUpCost: z.union([z.array(LevelUpCostZod), z.null()]),
|
|
902
931
|
})),
|
|
903
932
|
}),
|
|
904
933
|
});
|