feat: gun rotation speed

This commit is contained in:
TrèsAbhi committed 2024-02-03 16:28:33 -06:00
1 parent b811be4284
commit fcac511a28
2 files changed
+3

No files matched your search

+2
View File
@@ -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: [],
+1
View File
@@ -63,6 +63,7 @@ export type GunDefinition =
| GunDefinitionAutoLoader
| GunDefinitionAutoReloader;
interface GunDefinitionBase {
rotationSpeed: number;
id: number;
name: string;
tier: Tier;