mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: gun rotation speed
This commit is contained in:
1 parent
b811be4284
commit
fcac511a28
2 files changed
+3
No files matched your search
@@ -190,6 +190,7 @@ interface GunDefinitionsList {
|
||||
ids: Record<string, number>;
|
||||
shared: {
|
||||
[key: string]: {
|
||||
rotationSpeed: number;
|
||||
shotDispersionFactors: {
|
||||
turretRotation: number;
|
||||
afterShot: number;
|
||||
@@ -614,6 +615,7 @@ export async function definitions(production: boolean) {
|
||||
|
||||
tankDefinitions[tankId].turrets[turretIndex].guns.push({
|
||||
id: gunId,
|
||||
rotationSpeed: gunListEntry.rotationSpeed,
|
||||
name: gunName,
|
||||
tier: gunListEntry.level as Tier,
|
||||
shells: [],
|
||||
|
||||
@@ -63,6 +63,7 @@ export type GunDefinition =
|
||||
| GunDefinitionAutoLoader
|
||||
| GunDefinitionAutoReloader;
|
||||
interface GunDefinitionBase {
|
||||
rotationSpeed: number;
|
||||
id: number;
|
||||
name: string;
|
||||
tier: Tier;
|
||||
|
||||
Reference in new issue
Block a user