mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: migration 2
This commit is contained in:
1 parent
e1c8194beb
commit
6285f33989
305 files changed
+414
-414
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { SkillDefinitions } from '@blitzkit/core/src/blitzkit/skillDefinitions';
|
||||
import { readdir } from 'fs/promises';
|
||||
import { parse as parsePath } from 'path';
|
||||
import { Vector3Tuple } from 'three';
|
||||
@@ -30,7 +31,6 @@ import {
|
||||
ProvisionDefinitions,
|
||||
ProvisionEntry,
|
||||
} from '../../src/core/blitzkit/provisionDefinitions';
|
||||
import { SkillDefinitions } from '../../src/core/blitzkit/skillDefinitions';
|
||||
import { superCompress } from '../../src/core/blitzkit/superCompress';
|
||||
import {
|
||||
Crew,
|
||||
@@ -826,8 +826,8 @@ export async function definitions() {
|
||||
treeType: tankTags.includes('collectible')
|
||||
? 'collector'
|
||||
: (typeof tank.price === 'number' ? false : 'gold' in tank.price)
|
||||
? 'premium'
|
||||
: 'researchable',
|
||||
? 'premium'
|
||||
: 'researchable',
|
||||
tier: tank.level as Tier,
|
||||
class: tankTags[0] as TankClass,
|
||||
testing: tankTags.includes('testTank'),
|
||||
@@ -1122,8 +1122,8 @@ export async function definitions() {
|
||||
gun.armor.gun === undefined
|
||||
? 0
|
||||
: typeof gun.armor.gun === 'number'
|
||||
? gun.armor.gun
|
||||
: gun.armor.gun['#text'],
|
||||
? gun.armor.gun
|
||||
: gun.armor.gun['#text'],
|
||||
pitch: {
|
||||
min: gunPitch[0],
|
||||
max: gunPitch[1],
|
||||
@@ -1173,7 +1173,7 @@ export async function definitions() {
|
||||
type: blitzShellKindToBlitzkit[shell.kind],
|
||||
explosionRadius:
|
||||
shell.kind === 'HIGH_EXPLOSIVE'
|
||||
? (shell.explosionRadius ?? 0)
|
||||
? shell.explosionRadius ?? 0
|
||||
: undefined,
|
||||
icon: shell.icon,
|
||||
penetration:
|
||||
|
||||
Reference in new issue
Block a user