mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: split tutorial bots
This commit is contained in:
1 parent
a362301515
commit
417858f21a
6 files changed
+16
-5
No files matched your search
@@ -45,6 +45,7 @@ type ShellDefinitionsList = Record<
|
||||
damage: { armor: number; devices: number };
|
||||
normalizationAngle: number;
|
||||
ricochetAngle: number;
|
||||
explosionRadius?: number;
|
||||
}
|
||||
> & {
|
||||
icons: Record<string, string>;
|
||||
@@ -285,6 +286,8 @@ export async function buildDefinitions() {
|
||||
);
|
||||
|
||||
for (const tankKey in tankList.root) {
|
||||
if (tankKey.includes('tutorial_bot')) return;
|
||||
|
||||
const tank = tankList.root[tankKey];
|
||||
const tankPrice: TankDefinitionPrice =
|
||||
typeof tank.price === 'number'
|
||||
@@ -567,6 +570,7 @@ export async function buildDefinitions() {
|
||||
normalization: shell.normalizationAngle,
|
||||
ricochet: shell.ricochetAngle,
|
||||
type: blitzShellKindToBLitzkrieg[shell.kind],
|
||||
explosionRadius: shell.explosionRadius,
|
||||
icon: shell.icon,
|
||||
penetration:
|
||||
penetrationRaw[0] === penetrationRaw[1]
|
||||
|
||||
Reference in new issue
Block a user