feat: shell capacity

This commit is contained in:
tresabhi committed 2024-11-09 19:16:06 -06:00
1 parent c4fa6cebfa
commit 3da154b75d
9 files changed
+52 -1

No files matched your search

@@ -311,6 +311,7 @@ interface GunDefinitionsList {
afterShot: number;
whileGunDamaged: number;
};
maxAmmo: number;
aimingTime: number;
shotDispersionRadius: number;
userString: string;
@@ -1174,6 +1175,7 @@ export async function definitions() {
dispersion_shot: shotDispersionFactors.afterShot,
dispersion_traverse: shotDispersionFactors.turretRotation,
unlocks: resolveUnlocks(gun.unlocks),
shell_capacity: gun.maxAmmo ?? gunListEntry.maxAmmo,
} satisfies GunDefinitionBase;
tankDefinitions.tanks[tankId].turrets[turretIndex].guns.push({