feat: clipping potential

This commit is contained in:
TrèsAbhi committed 2024-06-29 12:08:42 -05:00
1 parent 9f89903a6e
commit 6ef0610331
3 files changed
+15

No files matched your search

+2
View File
@@ -359,6 +359,7 @@ export function tankCharacteristics(
const penetration =
resolveNearPenetration(shell.penetration) * penetrationCoefficient;
const damage = shell.damage.armor * damageCoefficient;
const clipDamage = gun.type === 'regular' ? undefined : gun.count * damage;
const moduleDamage = shell.damage.module * damageCoefficient;
const explosionRadius = shell.explosionRadius;
const shellVelocity = shell.speed * shellVelocityCoefficient;
@@ -477,6 +478,7 @@ export function tankCharacteristics(
caliber,
penetration,
damage,
clipDamage,
moduleDamage,
explosionRadius,
shellVelocity,