hella-types 0.0.9 → 0.0.10
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 +38144 -14187
- package/dist/index.js +360 -360
- package/package.json +1 -1
- package/src/index.ts +402 -416
package/src/index.ts
CHANGED
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
|
|
3
|
+
const BlackboardZod = z.strictObject({
|
|
4
|
+
key: z.string(),
|
|
5
|
+
value: z.number().nullable(),
|
|
6
|
+
valueStr: z.string().nullable().optional(),
|
|
7
|
+
});
|
|
3
8
|
const DefinedStringZod = z.strictObject({
|
|
4
9
|
m_defined: z.boolean(),
|
|
5
|
-
m_value: z.
|
|
10
|
+
m_value: z.string().nullable(),
|
|
6
11
|
});
|
|
7
12
|
const DefinedStringArrayZod = z.strictObject({
|
|
8
13
|
m_defined: z.boolean(),
|
|
9
|
-
m_value: z.
|
|
14
|
+
m_value: z.array(z.string()).nullable(),
|
|
10
15
|
});
|
|
11
16
|
const DefinedNumberZod = z.strictObject({
|
|
12
17
|
m_defined: z.boolean(),
|
|
13
|
-
m_value: z.
|
|
18
|
+
m_value: z.number().nullable(),
|
|
14
19
|
});
|
|
15
20
|
const DefinedBooleanZod = z.strictObject({
|
|
16
21
|
m_defined: z.boolean(),
|
|
17
|
-
m_value: z.boolean(),
|
|
22
|
+
m_value: z.boolean().nullable(),
|
|
18
23
|
});
|
|
19
24
|
|
|
20
25
|
const AttributesKeyFrameZod = z.strictObject({
|
|
@@ -44,11 +49,6 @@ const AttributesKeyFrameZod = z.strictObject({
|
|
|
44
49
|
levitateImmune: z.boolean(),
|
|
45
50
|
}),
|
|
46
51
|
});
|
|
47
|
-
const BlackboardZod = z.strictObject({
|
|
48
|
-
key: z.string(),
|
|
49
|
-
value: z.union([z.number(), z.null()]),
|
|
50
|
-
valueStr: z.union([z.string(), z.null(), z.undefined()]),
|
|
51
|
-
});
|
|
52
52
|
const EnemyAttributesZod = z.strictObject({
|
|
53
53
|
maxHp: DefinedNumberZod,
|
|
54
54
|
atk: DefinedNumberZod,
|
|
@@ -65,14 +65,14 @@ const EnemyAttributesZod = z.strictObject({
|
|
|
65
65
|
maxDeployCount: DefinedNumberZod,
|
|
66
66
|
massLevel: DefinedNumberZod,
|
|
67
67
|
baseForceLevel: DefinedNumberZod,
|
|
68
|
-
tauntLevel:
|
|
69
|
-
epDamageResistance:
|
|
70
|
-
epResistance:
|
|
68
|
+
tauntLevel: DefinedNumberZod.optional(),
|
|
69
|
+
epDamageResistance: DefinedNumberZod.optional(),
|
|
70
|
+
epResistance: DefinedNumberZod.optional(),
|
|
71
71
|
stunImmune: DefinedBooleanZod,
|
|
72
72
|
silenceImmune: DefinedBooleanZod,
|
|
73
|
-
sleepImmune:
|
|
74
|
-
frozenImmune:
|
|
75
|
-
levitateImmune:
|
|
73
|
+
sleepImmune: DefinedBooleanZod.optional(),
|
|
74
|
+
frozenImmune: DefinedBooleanZod.optional(),
|
|
75
|
+
levitateImmune: DefinedBooleanZod.optional(),
|
|
76
76
|
});
|
|
77
77
|
const EnemySkillsZod = z.strictObject({
|
|
78
78
|
prefabKey: z.string(),
|
|
@@ -80,7 +80,7 @@ const EnemySkillsZod = z.strictObject({
|
|
|
80
80
|
cooldown: z.number(),
|
|
81
81
|
initCooldown: z.number(),
|
|
82
82
|
spCost: z.number(),
|
|
83
|
-
blackboard: z.
|
|
83
|
+
blackboard: z.array(BlackboardZod).nullable(),
|
|
84
84
|
});
|
|
85
85
|
const EnemySpDataZod = z.strictObject({
|
|
86
86
|
spType: z.string(),
|
|
@@ -93,18 +93,18 @@ const EnemyDataZod = z.strictObject({
|
|
|
93
93
|
description: DefinedStringZod,
|
|
94
94
|
prefabKey: DefinedStringZod,
|
|
95
95
|
attributes: EnemyAttributesZod,
|
|
96
|
-
applyWay:
|
|
97
|
-
motion:
|
|
98
|
-
enemyTags:
|
|
96
|
+
applyWay: DefinedStringZod.optional(),
|
|
97
|
+
motion: DefinedStringZod.optional(),
|
|
98
|
+
enemyTags: DefinedStringArrayZod.optional(),
|
|
99
99
|
lifePointReduce: DefinedNumberZod,
|
|
100
|
-
levelType: z.union([DefinedStringZod, DefinedNumberZod
|
|
100
|
+
levelType: z.union([DefinedStringZod, DefinedNumberZod]).optional(),
|
|
101
101
|
rangeRadius: DefinedNumberZod,
|
|
102
|
-
numOfExtraDrops:
|
|
103
|
-
viewRadius:
|
|
104
|
-
notCountInTotal:
|
|
105
|
-
talentBlackboard: z.
|
|
106
|
-
skills: z.
|
|
107
|
-
spData:
|
|
102
|
+
numOfExtraDrops: DefinedNumberZod.optional(),
|
|
103
|
+
viewRadius: DefinedNumberZod.optional(),
|
|
104
|
+
notCountInTotal: DefinedBooleanZod.optional(),
|
|
105
|
+
talentBlackboard: z.array(BlackboardZod).nullable(),
|
|
106
|
+
skills: z.array(EnemySkillsZod).nullable(),
|
|
107
|
+
spData: EnemySpDataZod.nullable(),
|
|
108
108
|
});
|
|
109
109
|
const LevelUpCostZod = z.strictObject({
|
|
110
110
|
id: z.string(),
|
|
@@ -174,44 +174,43 @@ const OperatorUnlockCondZod = z.strictObject({
|
|
|
174
174
|
const LevelUpCostCondZod = z.strictObject({
|
|
175
175
|
unlockCond: OperatorUnlockCondZod,
|
|
176
176
|
lvlUpTime: z.number(),
|
|
177
|
-
levelUpCost: z.
|
|
177
|
+
levelUpCost: z.array(LevelUpCostZod).nullable(),
|
|
178
178
|
});
|
|
179
|
-
const
|
|
180
|
-
|
|
181
|
-
|
|
179
|
+
const StageCardZod = z.strictObject({
|
|
180
|
+
initialCnt: z.number().optional(),
|
|
181
|
+
hidden: z.boolean(),
|
|
182
|
+
alias: z.string().nullable(),
|
|
183
|
+
uniEquipIds: z.array(
|
|
182
184
|
z.strictObject({
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
col: z.number(),
|
|
186
|
-
}),
|
|
187
|
-
direction: z.union([z.string(), z.number()]), // legacy
|
|
188
|
-
hidden: z.boolean(),
|
|
189
|
-
alias: z.union([z.string(), z.null()]),
|
|
190
|
-
uniEquipIds: z.union([
|
|
191
|
-
z.array(
|
|
192
|
-
z.strictObject({
|
|
193
|
-
key: z.string(),
|
|
194
|
-
level: z.number(),
|
|
195
|
-
})
|
|
196
|
-
),
|
|
197
|
-
z.null(), z.undefined()] // legacy
|
|
198
|
-
),
|
|
199
|
-
inst: z.strictObject({
|
|
200
|
-
characterKey: z.string(),
|
|
201
|
-
level: z.number(),
|
|
202
|
-
phase: z.union([z.string(), z.number()]), // legacy
|
|
203
|
-
favorPoint: z.number(),
|
|
204
|
-
potentialRank: z.number(),
|
|
205
|
-
}),
|
|
206
|
-
skillIndex: z.number(),
|
|
207
|
-
mainSkillLvl: z.number(),
|
|
208
|
-
skinId: z.union([z.string(), z.null()]),
|
|
209
|
-
tmplId: z.union([z.string(), z.null(), z.undefined()]),
|
|
210
|
-
overrideSkillBlackboard: z.union([z.array(BlackboardZod), z.null(), z.undefined()]),
|
|
185
|
+
key: z.string(),
|
|
186
|
+
level: z.number(),
|
|
211
187
|
})
|
|
212
|
-
),
|
|
213
|
-
|
|
214
|
-
|
|
188
|
+
).nullable().optional(),
|
|
189
|
+
inst: z.strictObject({
|
|
190
|
+
characterKey: z.string(),
|
|
191
|
+
level: z.number(),
|
|
192
|
+
phase: z.union([z.string(), z.number()]).optional(),
|
|
193
|
+
favorPoint: z.number(),
|
|
194
|
+
potentialRank: z.number(),
|
|
195
|
+
}),
|
|
196
|
+
skillIndex: z.number(),
|
|
197
|
+
mainSkillLvl: z.number(),
|
|
198
|
+
skinId: z.string().nullable(),
|
|
199
|
+
tmplId: z.string().nullable().optional(),
|
|
200
|
+
overrideSkillBlackboard: z.array(BlackboardZod).nullable().optional(),
|
|
201
|
+
});
|
|
202
|
+
const StageInstZod = StageCardZod.extend({
|
|
203
|
+
position: z.strictObject({
|
|
204
|
+
row: z.number(),
|
|
205
|
+
col: z.number(),
|
|
206
|
+
}),
|
|
207
|
+
direction: z.union([z.string(), z.number()]).optional(),
|
|
208
|
+
});
|
|
209
|
+
const StageDefinesZod = z.strictObject({
|
|
210
|
+
characterInsts: z.array(StageInstZod),
|
|
211
|
+
tokenInsts: z.array(StageInstZod),
|
|
212
|
+
characterCards: z.array(StageCardZod),
|
|
213
|
+
tokenCards: z.array(StageCardZod),
|
|
215
214
|
});
|
|
216
215
|
const StageEffectZod = z.strictObject({
|
|
217
216
|
key: z.string(),
|
|
@@ -220,10 +219,10 @@ const StageEffectZod = z.strictObject({
|
|
|
220
219
|
y: z.number(),
|
|
221
220
|
z: z.number(),
|
|
222
221
|
}),
|
|
223
|
-
direction: z.union([z.string(), z.number()]),
|
|
222
|
+
direction: z.union([z.string(), z.number()]),
|
|
224
223
|
});
|
|
225
224
|
const StageActionZod = z.strictObject({
|
|
226
|
-
actionType: z.union([z.string(), z.number()]),
|
|
225
|
+
actionType: z.union([z.string(), z.number()]),
|
|
227
226
|
managedByScheduler: z.boolean(),
|
|
228
227
|
key: z.string(),
|
|
229
228
|
count: z.number(),
|
|
@@ -232,16 +231,55 @@ const StageActionZod = z.strictObject({
|
|
|
232
231
|
routeIndex: z.number(),
|
|
233
232
|
blockFragment: z.boolean(),
|
|
234
233
|
autoPreviewRoute: z.boolean(),
|
|
235
|
-
autoDisplayEnemyInfo: z.
|
|
234
|
+
autoDisplayEnemyInfo: z.boolean().optional(),
|
|
236
235
|
isUnharmfulAndAlwaysCountAsKilled: z.boolean(),
|
|
237
|
-
hiddenGroup: z.
|
|
238
|
-
randomSpawnGroupKey: z.
|
|
239
|
-
randomSpawnGroupPackKey: z.
|
|
240
|
-
randomType: z.union([z.string(), z.number()
|
|
241
|
-
weight: z.
|
|
242
|
-
dontBlockWave: z.
|
|
243
|
-
isValid: z.
|
|
244
|
-
extraMeta: z.
|
|
236
|
+
hiddenGroup: z.string().nullable(),
|
|
237
|
+
randomSpawnGroupKey: z.string().nullable().optional(),
|
|
238
|
+
randomSpawnGroupPackKey: z.string().nullable().optional(),
|
|
239
|
+
randomType: z.union([z.string(), z.number()]).optional(),
|
|
240
|
+
weight: z.number().optional(),
|
|
241
|
+
dontBlockWave: z.boolean().optional(),
|
|
242
|
+
isValid: z.boolean().optional(),
|
|
243
|
+
extraMeta: z.null().optional(),
|
|
244
|
+
});
|
|
245
|
+
const StageRouteZod = z.strictObject({
|
|
246
|
+
motionMode: z.union([z.string(), z.number()]),
|
|
247
|
+
startPosition: z.strictObject({
|
|
248
|
+
row: z.number(),
|
|
249
|
+
col: z.number(),
|
|
250
|
+
}),
|
|
251
|
+
endPosition: z.strictObject({
|
|
252
|
+
row: z.number(),
|
|
253
|
+
col: z.number(),
|
|
254
|
+
}),
|
|
255
|
+
spawnRandomRange: z.strictObject({
|
|
256
|
+
x: z.number(),
|
|
257
|
+
y: z.number(),
|
|
258
|
+
}),
|
|
259
|
+
spawnOffset: z.strictObject({
|
|
260
|
+
x: z.number(),
|
|
261
|
+
y: z.number(),
|
|
262
|
+
}),
|
|
263
|
+
checkpoints: z.array(
|
|
264
|
+
z.strictObject({
|
|
265
|
+
type: z.union([z.string(), z.number()]),
|
|
266
|
+
time: z.number(),
|
|
267
|
+
position: z.strictObject({
|
|
268
|
+
row: z.number(),
|
|
269
|
+
col: z.number(),
|
|
270
|
+
}),
|
|
271
|
+
reachOffset: z.strictObject({
|
|
272
|
+
x: z.number(),
|
|
273
|
+
y: z.number(),
|
|
274
|
+
}),
|
|
275
|
+
randomizeReachOffset: z.boolean(),
|
|
276
|
+
reachDistance: z.number(),
|
|
277
|
+
}),
|
|
278
|
+
).nullable(),
|
|
279
|
+
allowDiagonalMove: z.boolean(),
|
|
280
|
+
visitEveryTileCenter: z.boolean(),
|
|
281
|
+
visitEveryNodeCenter: z.boolean(),
|
|
282
|
+
visitEveryCheckPoint: z.boolean().optional(),
|
|
245
283
|
});
|
|
246
284
|
const StageDataZod = z.strictObject({
|
|
247
285
|
options: z.strictObject({
|
|
@@ -253,117 +291,111 @@ const StageDataZod = z.strictObject({
|
|
|
253
291
|
moveMultiplier: z.number(),
|
|
254
292
|
steeringEnabled: z.boolean(),
|
|
255
293
|
isTrainingLevel: z.boolean(),
|
|
256
|
-
isHardTrainingLevel: z.
|
|
257
|
-
isPredefinedCardsSelectable: z.
|
|
258
|
-
maxPlayTime: z.
|
|
294
|
+
isHardTrainingLevel: z.boolean().optional(),
|
|
295
|
+
isPredefinedCardsSelectable: z.boolean().optional(),
|
|
296
|
+
maxPlayTime: z.number().optional(),
|
|
259
297
|
functionDisableMask: z.union([z.string(), z.number()]),
|
|
260
|
-
configBlackBoard: z.
|
|
298
|
+
configBlackBoard: z.array(BlackboardZod).nullable().optional(),
|
|
261
299
|
}),
|
|
262
|
-
levelId: z.
|
|
263
|
-
mapId: z.
|
|
264
|
-
bgmEvent: z.
|
|
265
|
-
environmentSe: z.
|
|
300
|
+
levelId: z.string().nullable(),
|
|
301
|
+
mapId: z.string().nullable(),
|
|
302
|
+
bgmEvent: z.string().nullable(),
|
|
303
|
+
environmentSe: z.string().nullable(),
|
|
266
304
|
mapData: z.strictObject({
|
|
267
305
|
map: z.array(z.array(z.number())),
|
|
268
306
|
tiles: z.array(
|
|
269
307
|
z.strictObject({
|
|
270
308
|
tileKey: z.string(),
|
|
271
|
-
heightType: z.union([z.string(), z.number()]),
|
|
272
|
-
buildableType: z.union([z.string(), z.number()]),
|
|
273
|
-
passableMask: z.union([z.string(), z.number()]),
|
|
274
|
-
playerSideMask: z.union([z.string(), z.number()
|
|
275
|
-
blackboard: z.
|
|
276
|
-
effects: z.
|
|
309
|
+
heightType: z.union([z.string(), z.number()]),
|
|
310
|
+
buildableType: z.union([z.string(), z.number()]),
|
|
311
|
+
passableMask: z.union([z.string(), z.number()]),
|
|
312
|
+
playerSideMask: z.union([z.string(), z.number()]).optional(),
|
|
313
|
+
blackboard: z.array(BlackboardZod).nullable(),
|
|
314
|
+
effects: z.array(StageEffectZod).nullable(),
|
|
277
315
|
})
|
|
278
316
|
),
|
|
279
|
-
blockEdges: z.
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
317
|
+
blockEdges: z.array(z.strictObject({
|
|
318
|
+
pos: z.strictObject({
|
|
319
|
+
row: z.number(),
|
|
320
|
+
col: z.number(),
|
|
321
|
+
}),
|
|
322
|
+
direction: z.union([z.string(), z.number()]),
|
|
323
|
+
blockMask: z.union([z.string(), z.number()]),
|
|
324
|
+
})).nullable(),
|
|
325
|
+
tags: z.array(z.string()).nullable(),
|
|
326
|
+
effects: z.array(StageEffectZod).nullable(),
|
|
327
|
+
layerRects: z.null().optional(),
|
|
283
328
|
width: z.number().optional(),
|
|
284
329
|
height: z.number().optional(),
|
|
285
330
|
}),
|
|
286
|
-
tilesDisallowToLocate: z.
|
|
287
|
-
runes: z.
|
|
288
|
-
z.
|
|
289
|
-
z.
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
z.
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
z.
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
time: z.number(),
|
|
337
|
-
position: z.strictObject({
|
|
338
|
-
row: z.number(),
|
|
339
|
-
col: z.number(),
|
|
340
|
-
}),
|
|
341
|
-
reachOffset: z.strictObject({
|
|
342
|
-
x: z.number(),
|
|
343
|
-
y: z.number(),
|
|
344
|
-
}),
|
|
345
|
-
randomizeReachOffset: z.boolean(),
|
|
346
|
-
reachDistance: z.number(),
|
|
347
|
-
})
|
|
348
|
-
),
|
|
349
|
-
z.null()
|
|
350
|
-
]),
|
|
351
|
-
allowDiagonalMove: z.boolean(),
|
|
352
|
-
visitEveryTileCenter: z.boolean(),
|
|
353
|
-
visitEveryNodeCenter: z.boolean(),
|
|
354
|
-
visitEveryCheckPoint: z.union([z.boolean(), z.undefined()]), // legacy
|
|
331
|
+
tilesDisallowToLocate: z.tuple([]),
|
|
332
|
+
runes: z.array(
|
|
333
|
+
z.strictObject({
|
|
334
|
+
difficultyMask: z.union([z.string(), z.number()]),
|
|
335
|
+
key: z.string(),
|
|
336
|
+
professionMask: z.union([z.string(), z.number()]).optional(),
|
|
337
|
+
buildableMask: z.union([z.string(), z.number()]),
|
|
338
|
+
blackboard: z.array(BlackboardZod),
|
|
339
|
+
})
|
|
340
|
+
).nullable(),
|
|
341
|
+
globalBuffs: z.array(
|
|
342
|
+
z.strictObject({
|
|
343
|
+
prefabKey: z.string(),
|
|
344
|
+
blackboard: z.array(BlackboardZod).nullable(),
|
|
345
|
+
overrideCameraEffect: z.null(),
|
|
346
|
+
passProfessionMaskFlag: z.boolean().optional(),
|
|
347
|
+
professionMask: z.union([z.string(), z.number()]).optional(),
|
|
348
|
+
useExtraData: z.boolean().optional(),
|
|
349
|
+
})
|
|
350
|
+
).nullable(),
|
|
351
|
+
routes: z.array(StageRouteZod.nullable()),
|
|
352
|
+
extraRoutes: z.array(StageRouteZod.nullable()).optional(),
|
|
353
|
+
enemies: z.array(
|
|
354
|
+
z.strictObject({
|
|
355
|
+
name: z.null(),
|
|
356
|
+
description: z.null(),
|
|
357
|
+
key: z.string(),
|
|
358
|
+
attributes: z.strictObject({
|
|
359
|
+
maxHp: z.number(),
|
|
360
|
+
atk: z.number(),
|
|
361
|
+
def: z.number(),
|
|
362
|
+
magicResistance: z.number(),
|
|
363
|
+
cost: z.number(),
|
|
364
|
+
blockCnt: z.number(),
|
|
365
|
+
moveSpeed: z.number(),
|
|
366
|
+
attackSpeed: z.number(),
|
|
367
|
+
baseAttackTime: z.number(),
|
|
368
|
+
respawnTime: z.number(),
|
|
369
|
+
hpRecoveryPerSec: z.number(),
|
|
370
|
+
spRecoveryPerSec: z.number(),
|
|
371
|
+
maxDeployCount: z.number(),
|
|
372
|
+
maxDeckStackCnt: z.number(),
|
|
373
|
+
tauntLevel: z.number(),
|
|
374
|
+
massLevel: z.number(),
|
|
375
|
+
baseForceLevel: z.number(),
|
|
376
|
+
stunImmune: z.boolean(),
|
|
377
|
+
silenceImmune: z.boolean(),
|
|
378
|
+
sleepImmune: z.boolean(),
|
|
379
|
+
frozenImmune: z.boolean(),
|
|
380
|
+
levitateImmune: z.boolean(),
|
|
355
381
|
}),
|
|
356
|
-
z.null()
|
|
357
|
-
|
|
382
|
+
alias: z.null(),
|
|
383
|
+
lifePointReduce: z.number(),
|
|
384
|
+
rangeRadius: z.number(),
|
|
385
|
+
numOfExtraDrops: z.number(),
|
|
386
|
+
viewRadius: z.number(),
|
|
387
|
+
levelType: z.number(),
|
|
388
|
+
talentBlackboard: z.array(BlackboardZod).nullable(),
|
|
389
|
+
skills: z.array(EnemySkillsZod).nullable(),
|
|
390
|
+
spData: EnemySpDataZod.nullable(),
|
|
391
|
+
})
|
|
358
392
|
),
|
|
359
|
-
extraRoutes: z.union([z.array(z.any()), z.undefined()]),
|
|
360
|
-
enemies: z.array(z.any()),
|
|
361
393
|
enemyDbRefs: z.array(
|
|
362
394
|
z.strictObject({
|
|
363
395
|
useDb: z.boolean(),
|
|
364
396
|
id: z.string(),
|
|
365
397
|
level: z.number(),
|
|
366
|
-
overwrittenData:
|
|
398
|
+
overwrittenData: EnemyDataZod.nullable(),
|
|
367
399
|
})
|
|
368
400
|
),
|
|
369
401
|
waves: z.array(
|
|
@@ -376,36 +408,33 @@ const StageDataZod = z.strictObject({
|
|
|
376
408
|
actions: z.array(StageActionZod),
|
|
377
409
|
name: z.string().nullable().optional(),
|
|
378
410
|
})),
|
|
379
|
-
advancedWaveTag: z.
|
|
411
|
+
advancedWaveTag: z.string().nullable().optional(),
|
|
380
412
|
name: z.string().nullable().optional(),
|
|
381
413
|
})
|
|
382
414
|
),
|
|
383
|
-
branches: z.
|
|
384
|
-
z.
|
|
385
|
-
|
|
386
|
-
z.strictObject({
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
]),
|
|
398
|
-
predefines: z.union([StageDefinesZod, z.null()]),
|
|
399
|
-
hardPredefines: z.union([StageDefinesZod, z.null(), z.undefined()]),
|
|
415
|
+
branches: z.record(
|
|
416
|
+
z.string(),
|
|
417
|
+
z.strictObject({
|
|
418
|
+
phases: z.array(z.strictObject({
|
|
419
|
+
preDelay: z.number(),
|
|
420
|
+
actions: z.array(StageActionZod),
|
|
421
|
+
m_randomActionGroups: z.null().optional(),
|
|
422
|
+
m_actionWithRandomSpawn: z.null().optional(),
|
|
423
|
+
m_validActionPackKeys: z.null().optional(),
|
|
424
|
+
})),
|
|
425
|
+
}),
|
|
426
|
+
).nullable(),
|
|
427
|
+
predefines: StageDefinesZod.nullable(),
|
|
428
|
+
hardPredefines: StageDefinesZod.nullable().optional(),
|
|
400
429
|
excludeCharIdList: z.null(),
|
|
401
430
|
randomSeed: z.number(),
|
|
402
|
-
operaConfig: z.
|
|
403
|
-
runtimeData: z.
|
|
431
|
+
operaConfig: z.string().nullable().optional(),
|
|
432
|
+
runtimeData: z.null().optional(),
|
|
404
433
|
});
|
|
405
434
|
const RogueRelicZod = z.strictObject({
|
|
406
435
|
id: z.string(),
|
|
407
436
|
name: z.string(),
|
|
408
|
-
description: z.
|
|
437
|
+
description: z.string().nullable(),
|
|
409
438
|
usage: z.string(),
|
|
410
439
|
obtainApproach: z.string(),
|
|
411
440
|
iconId: z.string(),
|
|
@@ -415,7 +444,7 @@ const RogueRelicZod = z.strictObject({
|
|
|
415
444
|
value: z.number(),
|
|
416
445
|
sortId: z.number(),
|
|
417
446
|
canSacrifice: z.boolean(),
|
|
418
|
-
unlockCondDesc: z.
|
|
447
|
+
unlockCondDesc: z.string().nullable(),
|
|
419
448
|
});
|
|
420
449
|
const RogueStageZod = z.strictObject({
|
|
421
450
|
excel: z.strictObject({
|
|
@@ -426,11 +455,11 @@ const RogueStageZod = z.strictObject({
|
|
|
426
455
|
name: z.string(),
|
|
427
456
|
loadingPicId: z.string(),
|
|
428
457
|
description: z.string(),
|
|
429
|
-
eliteDesc: z.
|
|
458
|
+
eliteDesc: z.string().nullable(),
|
|
430
459
|
isBoss: z.number(),
|
|
431
460
|
isElite: z.number(),
|
|
432
461
|
difficulty: z.string(),
|
|
433
|
-
capsulePool: z.
|
|
462
|
+
capsulePool: z.string().nullable(),
|
|
434
463
|
capsuleProb: z.number(),
|
|
435
464
|
vutresProb: z.array(z.number()),
|
|
436
465
|
boxProb: z.array(z.number()),
|
|
@@ -445,8 +474,8 @@ const RogueVariationZod = z.strictObject({
|
|
|
445
474
|
innerName: z.string(),
|
|
446
475
|
functionDesc: z.string(),
|
|
447
476
|
desc: z.string(),
|
|
448
|
-
iconId: z.
|
|
449
|
-
sound: z.
|
|
477
|
+
iconId: z.string().nullable(),
|
|
478
|
+
sound: z.string().nullable(),
|
|
450
479
|
});
|
|
451
480
|
const SandboxStageZod = z.strictObject({
|
|
452
481
|
excel: z.strictObject({
|
|
@@ -492,7 +521,7 @@ export const EnemyZod = z.strictObject({
|
|
|
492
521
|
excel: z.strictObject({
|
|
493
522
|
enemyId: z.string(),
|
|
494
523
|
enemyIndex: z.string(),
|
|
495
|
-
enemyTags: z.
|
|
524
|
+
enemyTags: z.array(z.string()).nullable(),
|
|
496
525
|
sortId: z.number(),
|
|
497
526
|
name: z.string(),
|
|
498
527
|
enemyLevel: z.enum(['NORMAL', 'ELITE', 'BOSS']),
|
|
@@ -500,12 +529,14 @@ export const EnemyZod = z.strictObject({
|
|
|
500
529
|
attackType: z.null(),
|
|
501
530
|
ability: z.null(),
|
|
502
531
|
isInvalidKilled: z.boolean(),
|
|
503
|
-
overrideKillCntInfos: z.record(z.string(), z.
|
|
532
|
+
overrideKillCntInfos: z.record(z.string(), z.number()),
|
|
504
533
|
hideInHandbook: z.boolean(),
|
|
505
|
-
abilityList: z.array(
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
534
|
+
abilityList: z.array(
|
|
535
|
+
z.strictObject({
|
|
536
|
+
text: z.string(),
|
|
537
|
+
textFormat: z.enum(['NORMAL', 'SILENCE', 'TITLE'])
|
|
538
|
+
})
|
|
539
|
+
),
|
|
509
540
|
linkEnemies: z.array(z.string()),
|
|
510
541
|
damageType: z.array(z.enum(['PHYSIC', 'MAGIC', 'NO_DAMAGE', 'HEAL'])),
|
|
511
542
|
invisibleDetail: z.boolean(),
|
|
@@ -530,8 +561,8 @@ export const GameEventZod = z.strictObject({
|
|
|
530
561
|
rewardEndTime: z.number(),
|
|
531
562
|
displayOnHome: z.boolean(),
|
|
532
563
|
hasStage: z.boolean(),
|
|
533
|
-
templateShopId: z.
|
|
534
|
-
medalGroupId: z.
|
|
564
|
+
templateShopId: z.string().nullable(),
|
|
565
|
+
medalGroupId: z.string().nullable(),
|
|
535
566
|
ungroupedMedalIds: z.array(z.string()).nullable(),
|
|
536
567
|
isReplicate: z.boolean(),
|
|
537
568
|
needFixedSync: z.boolean(),
|
|
@@ -550,14 +581,14 @@ export const ItemZod = z.strictObject({
|
|
|
550
581
|
data: z.strictObject({
|
|
551
582
|
itemId: z.string(),
|
|
552
583
|
name: z.string(),
|
|
553
|
-
description: z.
|
|
584
|
+
description: z.string().nullable(),
|
|
554
585
|
rarity: z.string(),
|
|
555
586
|
iconId: z.string(),
|
|
556
587
|
overrideBkg: z.null(),
|
|
557
|
-
stackIconId: z.
|
|
588
|
+
stackIconId: z.string().nullable(),
|
|
558
589
|
sortId: z.number(),
|
|
559
|
-
usage: z.
|
|
560
|
-
obtainApproach: z.
|
|
590
|
+
usage: z.string().nullable(),
|
|
591
|
+
obtainApproach: z.string().nullable(),
|
|
561
592
|
hideInItemGet: z.boolean(),
|
|
562
593
|
classifyType: z.string(),
|
|
563
594
|
itemType: z.string(),
|
|
@@ -574,7 +605,7 @@ export const ItemZod = z.strictObject({
|
|
|
574
605
|
})
|
|
575
606
|
),
|
|
576
607
|
}),
|
|
577
|
-
formula: z.union([ManufactFormulaZod, WorkshopFormulaZod
|
|
608
|
+
formula: z.union([ManufactFormulaZod, WorkshopFormulaZod]).nullable(),
|
|
578
609
|
});
|
|
579
610
|
export const ModuleZod = z.strictObject({
|
|
580
611
|
info: z.strictObject({
|
|
@@ -584,76 +615,67 @@ export const ModuleZod = z.strictObject({
|
|
|
584
615
|
uniEquipDesc: z.string(),
|
|
585
616
|
typeIcon: z.string(),
|
|
586
617
|
typeName1: z.string(),
|
|
587
|
-
typeName2: z.
|
|
618
|
+
typeName2: z.string().nullable(),
|
|
588
619
|
equipShiningColor: z.string(),
|
|
589
620
|
showEvolvePhase: z.string(),
|
|
590
621
|
unlockEvolvePhase: z.string(),
|
|
591
622
|
charId: z.string(),
|
|
592
|
-
tmplId: z.
|
|
623
|
+
tmplId: z.string().nullable(),
|
|
593
624
|
showLevel: z.number(),
|
|
594
625
|
unlockLevel: z.number(),
|
|
595
626
|
unlockFavorPoint: z.number(),
|
|
596
627
|
missionList: z.array(z.string()),
|
|
597
|
-
itemCost: z.
|
|
628
|
+
itemCost: z.record(z.string(), z.array(LevelUpCostZod)).nullable(),
|
|
598
629
|
type: z.string(),
|
|
599
630
|
uniEquipGetTime: z.number(),
|
|
600
631
|
charEquipOrder: z.number(),
|
|
601
632
|
}),
|
|
602
|
-
data: z.
|
|
603
|
-
z.
|
|
604
|
-
|
|
605
|
-
z.
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
z.
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
z.
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
z.array(
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
})
|
|
649
|
-
),
|
|
650
|
-
attributeBlackboard: z.array(BlackboardZod),
|
|
651
|
-
tokenAttributeBlackboard: z.record(z.string(), z.array(BlackboardZod)),
|
|
652
|
-
})
|
|
653
|
-
),
|
|
654
|
-
}),
|
|
655
|
-
z.null()
|
|
656
|
-
]),
|
|
633
|
+
data: z.strictObject({
|
|
634
|
+
phases: z.array(
|
|
635
|
+
z.strictObject({
|
|
636
|
+
equipLevel: z.number(),
|
|
637
|
+
parts: z.array(
|
|
638
|
+
z.strictObject({
|
|
639
|
+
resKey: z.string().nullable(),
|
|
640
|
+
target: z.string(),
|
|
641
|
+
isToken: z.boolean(),
|
|
642
|
+
addOrOverrideTalentDataBundle: z.strictObject({
|
|
643
|
+
candidates: z.array(
|
|
644
|
+
z.strictObject({
|
|
645
|
+
displayRangeId: z.boolean(),
|
|
646
|
+
upgradeDescription: z.string(),
|
|
647
|
+
talentIndex: z.number(),
|
|
648
|
+
unlockCondition: OperatorUnlockCondZod,
|
|
649
|
+
requiredPotentialRank: z.number(),
|
|
650
|
+
prefabKey: z.string(),
|
|
651
|
+
name: z.string().nullable(),
|
|
652
|
+
description: z.string().nullable(),
|
|
653
|
+
rangeId: z.string().nullable(),
|
|
654
|
+
blackboard: z.array(BlackboardZod),
|
|
655
|
+
tokenKey: z.string().optional(),
|
|
656
|
+
}),
|
|
657
|
+
).nullable(),
|
|
658
|
+
}),
|
|
659
|
+
overrideTraitDataBundle: z.strictObject({
|
|
660
|
+
candidates: z.array(
|
|
661
|
+
z.strictObject({
|
|
662
|
+
additionalDescription: z.string().nullable(),
|
|
663
|
+
unlockCondition: OperatorUnlockCondZod,
|
|
664
|
+
requiredPotentialRank: z.number(),
|
|
665
|
+
blackboard: z.array(BlackboardZod),
|
|
666
|
+
overrideDescripton: z.string().nullable(),
|
|
667
|
+
prefabKey: z.string().nullable(),
|
|
668
|
+
rangeId: z.string().nullable(),
|
|
669
|
+
})
|
|
670
|
+
).nullable(),
|
|
671
|
+
}),
|
|
672
|
+
})
|
|
673
|
+
),
|
|
674
|
+
attributeBlackboard: z.array(BlackboardZod),
|
|
675
|
+
tokenAttributeBlackboard: z.record(z.string(), z.array(BlackboardZod)),
|
|
676
|
+
})
|
|
677
|
+
),
|
|
678
|
+
}).nullable(),
|
|
657
679
|
});
|
|
658
680
|
export const ParadoxZod = z.strictObject({
|
|
659
681
|
excel: z.strictObject({
|
|
@@ -699,13 +721,13 @@ export const SandboxActZod = z.strictObject({
|
|
|
699
721
|
});
|
|
700
722
|
export const SkillZod = z.strictObject({
|
|
701
723
|
skillId: z.string(),
|
|
702
|
-
iconId: z.
|
|
724
|
+
iconId: z.string().nullable(),
|
|
703
725
|
hidden: z.boolean(),
|
|
704
726
|
levels: z.array(
|
|
705
727
|
z.strictObject({
|
|
706
728
|
name: z.string(),
|
|
707
|
-
rangeId: z.
|
|
708
|
-
description: z.
|
|
729
|
+
rangeId: z.string().nullable(),
|
|
730
|
+
description: z.string().nullable(),
|
|
709
731
|
skillType: z.string(),
|
|
710
732
|
durationType: z.string(),
|
|
711
733
|
spData: z.strictObject({
|
|
@@ -716,7 +738,7 @@ export const SkillZod = z.strictObject({
|
|
|
716
738
|
initSp: z.number(),
|
|
717
739
|
increment: z.number(),
|
|
718
740
|
}),
|
|
719
|
-
prefabId: z.
|
|
741
|
+
prefabId: z.string().nullable(),
|
|
720
742
|
duration: z.number(),
|
|
721
743
|
blackboard: z.array(BlackboardZod),
|
|
722
744
|
})
|
|
@@ -725,47 +747,44 @@ export const SkillZod = z.strictObject({
|
|
|
725
747
|
export const SkinZod = z.strictObject({
|
|
726
748
|
skinId: z.string(),
|
|
727
749
|
charId: z.string(),
|
|
728
|
-
tokenSkinMap: z.
|
|
729
|
-
z.
|
|
730
|
-
z.
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
]),
|
|
737
|
-
illustId: z.union([z.string(), z.null()]),
|
|
738
|
-
dynIllustId: z.union([z.string(), z.null()]),
|
|
750
|
+
tokenSkinMap: z.array(
|
|
751
|
+
z.strictObject({
|
|
752
|
+
tokenId: z.string(),
|
|
753
|
+
tokenSkinId: z.string(),
|
|
754
|
+
})
|
|
755
|
+
).nullable(),
|
|
756
|
+
illustId: z.string().nullable(),
|
|
757
|
+
dynIllustId: z.string().nullable(),
|
|
739
758
|
avatarId: z.string(),
|
|
740
|
-
portraitId: z.
|
|
741
|
-
dynPortraitId: z.
|
|
742
|
-
dynEntranceId: z.
|
|
743
|
-
buildingId: z.
|
|
759
|
+
portraitId: z.string().nullable(),
|
|
760
|
+
dynPortraitId: z.string().nullable(),
|
|
761
|
+
dynEntranceId: z.string().nullable(),
|
|
762
|
+
buildingId: z.string().nullable(),
|
|
744
763
|
battleSkin: z.strictObject({
|
|
745
764
|
overwritePrefab: z.boolean(),
|
|
746
|
-
skinOrPrefabId: z.
|
|
765
|
+
skinOrPrefabId: z.string().nullable(),
|
|
747
766
|
}),
|
|
748
767
|
isBuySkin: z.boolean(),
|
|
749
|
-
tmplId: z.
|
|
750
|
-
voiceId: z.
|
|
768
|
+
tmplId: z.string().nullable(),
|
|
769
|
+
voiceId: z.string().nullable(),
|
|
751
770
|
voiceType: z.string(),
|
|
752
771
|
displaySkin: z.strictObject({
|
|
753
|
-
skinName: z.
|
|
754
|
-
colorList: z.
|
|
772
|
+
skinName: z.string().nullable(),
|
|
773
|
+
colorList: z.array(z.string()).nullable(),
|
|
755
774
|
titleList: z.array(z.string()).nullable(),
|
|
756
|
-
modelName: z.
|
|
757
|
-
drawerList: z.
|
|
775
|
+
modelName: z.string().nullable(),
|
|
776
|
+
drawerList: z.array(z.string()).nullable(),
|
|
758
777
|
designerList: z.array(z.string()).nullable(),
|
|
759
|
-
skinGroupId: z.
|
|
760
|
-
skinGroupName: z.
|
|
778
|
+
skinGroupId: z.string().nullable(),
|
|
779
|
+
skinGroupName: z.string().nullable(),
|
|
761
780
|
skinGroupSortIndex: z.number(),
|
|
762
|
-
content: z.
|
|
763
|
-
dialog: z.
|
|
764
|
-
usage: z.
|
|
765
|
-
description: z.
|
|
766
|
-
obtainApproach: z.
|
|
781
|
+
content: z.string().nullable(),
|
|
782
|
+
dialog: z.string().nullable(),
|
|
783
|
+
usage: z.string().nullable(),
|
|
784
|
+
description: z.string().nullable(),
|
|
785
|
+
obtainApproach: z.string().nullable(),
|
|
767
786
|
sortId: z.number(),
|
|
768
|
-
displayTagId: z.
|
|
787
|
+
displayTagId: z.string().nullable(),
|
|
769
788
|
getTime: z.number(),
|
|
770
789
|
onYear: z.number(),
|
|
771
790
|
onPeriod: z.number(),
|
|
@@ -777,33 +796,28 @@ export const StageZod = z.strictObject({
|
|
|
777
796
|
difficulty: z.string(),
|
|
778
797
|
performanceStageFlag: z.string(),
|
|
779
798
|
diffGroup: z.string(),
|
|
780
|
-
unlockCondition: z.
|
|
781
|
-
z.
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
completeState: z.string(),
|
|
785
|
-
}),
|
|
786
|
-
z.null()
|
|
787
|
-
])
|
|
788
|
-
),
|
|
799
|
+
unlockCondition: z.strictObject({
|
|
800
|
+
stageId: z.string(),
|
|
801
|
+
completeState: z.string(),
|
|
802
|
+
}).nullable(),
|
|
789
803
|
stageId: z.string(),
|
|
790
804
|
levelId: z.string(),
|
|
791
805
|
zoneId: z.string(),
|
|
792
806
|
code: z.string(),
|
|
793
807
|
name: z.string(),
|
|
794
808
|
description: z.string(),
|
|
795
|
-
hardStagedId: z.
|
|
796
|
-
dangerLevel: z.
|
|
809
|
+
hardStagedId: z.string().nullable(),
|
|
810
|
+
dangerLevel: z.string().nullable(),
|
|
797
811
|
dangerPoint: z.number(),
|
|
798
812
|
loadingPicId: z.string(),
|
|
799
813
|
canPractice: z.boolean(),
|
|
800
814
|
canBattleReplay: z.boolean(),
|
|
801
815
|
apCost: z.number(),
|
|
802
816
|
apFailReturn: z.number(),
|
|
803
|
-
etItemId: z.
|
|
817
|
+
etItemId: z.string().nullable(),
|
|
804
818
|
etCost: z.number(),
|
|
805
819
|
etFailReturn: z.number(),
|
|
806
|
-
etButtonStyle: z.
|
|
820
|
+
etButtonStyle: z.string().nullable(),
|
|
807
821
|
apProtectTimes: z.number(),
|
|
808
822
|
diamondOnceDrop: z.number(),
|
|
809
823
|
practiceTicketCost: z.number(),
|
|
@@ -815,7 +829,7 @@ export const StageZod = z.strictObject({
|
|
|
815
829
|
passFavor: z.number(),
|
|
816
830
|
completeFavor: z.number(),
|
|
817
831
|
slProgress: z.number(),
|
|
818
|
-
displayMainItem: z.
|
|
832
|
+
displayMainItem: z.string().nullable(),
|
|
819
833
|
hilightMark: z.boolean(),
|
|
820
834
|
bossMark: z.boolean(),
|
|
821
835
|
isPredefined: z.boolean(),
|
|
@@ -848,38 +862,30 @@ export const StageZod = z.strictObject({
|
|
|
848
862
|
canUseTech: z.boolean(),
|
|
849
863
|
canUseTrapTool: z.boolean(),
|
|
850
864
|
canUseBattlePerformance: z.boolean(),
|
|
851
|
-
startButtonOverrideId: z.
|
|
865
|
+
startButtonOverrideId: z.string().nullable(),
|
|
852
866
|
isStagePatch: z.boolean(),
|
|
853
|
-
mainStageId: z.
|
|
854
|
-
extraCondition: z.
|
|
855
|
-
z.
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
stageId: z.string(),
|
|
868
|
-
rewards: z.array(
|
|
869
|
-
z.strictObject({
|
|
870
|
-
id: z.string(),
|
|
871
|
-
count: z.number(),
|
|
872
|
-
type: z.string(),
|
|
873
|
-
})
|
|
874
|
-
),
|
|
875
|
-
progressInfo: z.strictObject({
|
|
876
|
-
progressType: z.string(),
|
|
877
|
-
descList: z.record(z.string(), z.string()),
|
|
867
|
+
mainStageId: z.string().nullable(),
|
|
868
|
+
extraCondition: z.strictObject({
|
|
869
|
+
index: z.number(),
|
|
870
|
+
template: z.string(),
|
|
871
|
+
unlockParam: z.array(z.string()),
|
|
872
|
+
}).nullable(),
|
|
873
|
+
extraInfo: z.array(
|
|
874
|
+
z.strictObject({
|
|
875
|
+
stageId: z.string(),
|
|
876
|
+
rewards: z.array(
|
|
877
|
+
z.strictObject({
|
|
878
|
+
id: z.string(),
|
|
879
|
+
count: z.number(),
|
|
880
|
+
type: z.string(),
|
|
878
881
|
})
|
|
882
|
+
),
|
|
883
|
+
progressInfo: z.strictObject({
|
|
884
|
+
progressType: z.string(),
|
|
885
|
+
descList: z.record(z.string(), z.string()),
|
|
879
886
|
})
|
|
880
|
-
)
|
|
881
|
-
|
|
882
|
-
])
|
|
887
|
+
})
|
|
888
|
+
).nullable(),
|
|
883
889
|
}),
|
|
884
890
|
levels: StageDataZod,
|
|
885
891
|
});
|
|
@@ -900,46 +906,43 @@ export const OperatorZod = z.strictObject({
|
|
|
900
906
|
skill: BaseZod,
|
|
901
907
|
})
|
|
902
908
|
),
|
|
903
|
-
paradox:
|
|
909
|
+
paradox: ParadoxZod.nullable(),
|
|
904
910
|
data: z.strictObject({
|
|
905
911
|
name: z.string(),
|
|
906
912
|
description: z.string(),
|
|
907
913
|
canUseGeneralPotentialItem: z.boolean(),
|
|
908
914
|
canUseActivityPotentialItem: z.boolean(),
|
|
909
|
-
potentialItemId: z.
|
|
915
|
+
potentialItemId: z.string().nullable(),
|
|
910
916
|
activityPotentialItemId: z.string().nullable(),
|
|
911
917
|
classicPotentialItemId: z.string().nullable(),
|
|
912
|
-
nationId: z.
|
|
913
|
-
groupId: z.
|
|
914
|
-
teamId: z.
|
|
915
|
-
displayNumber: z.
|
|
918
|
+
nationId: z.string().nullable(),
|
|
919
|
+
groupId: z.string().nullable(),
|
|
920
|
+
teamId: z.string().nullable(),
|
|
921
|
+
displayNumber: z.string().nullable(),
|
|
916
922
|
appellation: z.string(),
|
|
917
923
|
position: z.string(),
|
|
918
924
|
tagList: z.array(z.string()),
|
|
919
|
-
itemUsage: z.
|
|
920
|
-
itemDesc: z.
|
|
921
|
-
itemObtainApproach: z.
|
|
925
|
+
itemUsage: z.string().nullable(),
|
|
926
|
+
itemDesc: z.string().nullable(),
|
|
927
|
+
itemObtainApproach: z.string().nullable(),
|
|
922
928
|
isNotObtainable: z.boolean(),
|
|
923
929
|
isSpChar: z.boolean(),
|
|
924
930
|
maxPotentialLevel: z.number(),
|
|
925
931
|
rarity: z.string(),
|
|
926
932
|
profession: z.string(),
|
|
927
933
|
subProfessionId: z.string(),
|
|
928
|
-
trait: z.
|
|
929
|
-
z.
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
}),
|
|
941
|
-
z.null()
|
|
942
|
-
]),
|
|
934
|
+
trait: z.strictObject({
|
|
935
|
+
candidates: z.array(
|
|
936
|
+
z.strictObject({
|
|
937
|
+
unlockCondition: OperatorUnlockCondZod,
|
|
938
|
+
requiredPotentialRank: z.number(),
|
|
939
|
+
blackboard: z.array(BlackboardZod),
|
|
940
|
+
overrideDescripton: z.string().nullable(),
|
|
941
|
+
prefabKey: z.string().nullable(),
|
|
942
|
+
rangeId: z.string().nullable(),
|
|
943
|
+
})
|
|
944
|
+
),
|
|
945
|
+
}).nullable(),
|
|
943
946
|
phases: z.array(
|
|
944
947
|
z.strictObject({
|
|
945
948
|
characterPrefabKey: z.string(),
|
|
@@ -952,57 +955,51 @@ export const OperatorZod = z.strictObject({
|
|
|
952
955
|
skills: z.array(
|
|
953
956
|
z.strictObject({
|
|
954
957
|
skillId: z.string(),
|
|
955
|
-
overridePrefabKey: z.
|
|
956
|
-
overrideTokenKey: z.
|
|
958
|
+
overridePrefabKey: z.string().nullable(),
|
|
959
|
+
overrideTokenKey: z.string().nullable(),
|
|
957
960
|
levelUpCostCond: z.array(LevelUpCostCondZod),
|
|
958
961
|
unlockCond: OperatorUnlockCondZod,
|
|
959
962
|
})
|
|
960
963
|
),
|
|
961
964
|
displayTokenDict: z.record(z.boolean()).nullable(),
|
|
962
|
-
talents: z.
|
|
963
|
-
z.
|
|
964
|
-
z.
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
),
|
|
979
|
-
z.null()
|
|
980
|
-
]),
|
|
965
|
+
talents: z.array(
|
|
966
|
+
z.strictObject({
|
|
967
|
+
candidates: z.array(
|
|
968
|
+
z.strictObject({
|
|
969
|
+
unlockCondition: OperatorUnlockCondZod,
|
|
970
|
+
requiredPotentialRank: z.number(),
|
|
971
|
+
prefabKey: z.string(),
|
|
972
|
+
name: z.string(),
|
|
973
|
+
description: z.string(),
|
|
974
|
+
rangeId: z.string().nullable(),
|
|
975
|
+
blackboard: z.array(BlackboardZod),
|
|
976
|
+
tokenKey: z.string().nullable(),
|
|
977
|
+
})
|
|
978
|
+
),
|
|
979
|
+
})
|
|
980
|
+
).nullable(),
|
|
981
981
|
potentialRanks: z.array(
|
|
982
982
|
z.strictObject({
|
|
983
983
|
type: z.string(),
|
|
984
984
|
description: z.string(),
|
|
985
|
-
buff: z.
|
|
986
|
-
z.strictObject({
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
z.
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
),
|
|
1002
|
-
}),
|
|
985
|
+
buff: z.strictObject({
|
|
986
|
+
attributes: z.strictObject({
|
|
987
|
+
abnormalFlags: z.null(),
|
|
988
|
+
abnormalImmunes: z.null(),
|
|
989
|
+
abnormalAntis: z.null(),
|
|
990
|
+
abnormalCombos: z.null(),
|
|
991
|
+
abnormalComboImmunes: z.null(),
|
|
992
|
+
attributeModifiers: z.array(
|
|
993
|
+
z.strictObject({
|
|
994
|
+
attributeType: z.string(),
|
|
995
|
+
formulaItem: z.string(),
|
|
996
|
+
value: z.number(),
|
|
997
|
+
loadFromBlackboard: z.boolean(),
|
|
998
|
+
fetchBaseValueFromSourceEntity: z.boolean(),
|
|
999
|
+
})
|
|
1000
|
+
),
|
|
1003
1001
|
}),
|
|
1004
|
-
|
|
1005
|
-
]),
|
|
1002
|
+
}).nullable(),
|
|
1006
1003
|
equivalentCost: z.null(),
|
|
1007
1004
|
})
|
|
1008
1005
|
),
|
|
@@ -1010,31 +1007,22 @@ export const OperatorZod = z.strictObject({
|
|
|
1010
1007
|
allSkillLvlup: z.array(
|
|
1011
1008
|
z.strictObject({
|
|
1012
1009
|
unlockCond: OperatorUnlockCondZod,
|
|
1013
|
-
lvlUpCost: z.
|
|
1010
|
+
lvlUpCost: z.array(LevelUpCostZod).nullable(),
|
|
1014
1011
|
})
|
|
1015
1012
|
),
|
|
1016
1013
|
}),
|
|
1017
1014
|
});
|
|
1018
|
-
export type AttributesKeyFrame = z.infer<typeof AttributesKeyFrameZod>;
|
|
1019
1015
|
export type Blackboard = z.infer<typeof BlackboardZod>;
|
|
1020
1016
|
export type Base = z.infer<typeof BaseZod>;
|
|
1021
1017
|
export type CCStage = z.infer<typeof CCStageZod>;
|
|
1022
1018
|
export type Definition = z.infer<typeof DefinitionZod>;
|
|
1023
1019
|
export type Enemy = z.infer<typeof EnemyZod>;
|
|
1024
|
-
export type EnemyAttributes = z.infer<typeof EnemyAttributesZod>;
|
|
1025
|
-
export type EnemyData = z.infer<typeof EnemyDataZod>;
|
|
1026
|
-
export type EnemySkills = z.infer<typeof EnemySkillsZod>;
|
|
1027
|
-
export type EnemySpData = z.infer<typeof EnemySpDataZod>;
|
|
1028
1020
|
export type GameEvent = z.infer<typeof GameEventZod>;
|
|
1029
1021
|
export type GridRange = z.infer<typeof GridRangeZod>;
|
|
1030
|
-
export type ManufactFormula = z.infer<typeof ManufactFormulaZod>;
|
|
1031
|
-
export type WorkshopFormula = z.infer<typeof WorkshopFormulaZod>;
|
|
1032
1022
|
export type Item = z.infer<typeof ItemZod>;
|
|
1033
1023
|
export type LevelUpCost = z.infer<typeof LevelUpCostZod>;
|
|
1034
|
-
export type LevelUpCostCond = z.infer<typeof LevelUpCostCondZod>;
|
|
1035
1024
|
export type Module = z.infer<typeof ModuleZod>;
|
|
1036
1025
|
export type Operator = z.infer<typeof OperatorZod>;
|
|
1037
|
-
export type OperatorUnlockCond = z.infer<typeof OperatorUnlockCondZod>;
|
|
1038
1026
|
export type Paradox = z.infer<typeof ParadoxZod>;
|
|
1039
1027
|
export type RogueTheme = z.infer<typeof RogueThemeZod>;
|
|
1040
1028
|
export type RogueRelic = z.infer<typeof RogueRelicZod>;
|
|
@@ -1045,6 +1033,4 @@ export type SandboxStage = z.infer<typeof SandboxStageZod>;
|
|
|
1045
1033
|
export type Skill = z.infer<typeof SkillZod>;
|
|
1046
1034
|
export type Skin = z.infer<typeof SkinZod>;
|
|
1047
1035
|
export type Stage = z.infer<typeof StageZod>;
|
|
1048
|
-
export type StageData = z.infer<typeof StageDataZod>;
|
|
1049
|
-
export type StageEffect = z.infer<typeof StageEffectZod>;
|
|
1050
|
-
export type StageDefines = z.infer<typeof StageDefinesZod>;
|
|
1036
|
+
export type StageData = z.infer<typeof StageDataZod>;
|