fix: more accurate HE

This commit is contained in:
TrèsAbhi committed 2024-03-30 12:38:53 -05:00
1 parent dea7f34ca3
commit 47b3c3029e
3 files changed
+36 -22

No files matched your search

@@ -419,6 +419,11 @@ export function Characteristics() {
<InfoWithDelta name="Module damage" unit="hp" decimals={0}>
{shell.damage.module * damageCoefficient}
</InfoWithDelta>
{isExplosive(shell.type) && (
<InfoWithDelta name="Splash radius" unit="m" decimals={0}>
{shell.explosionRadius!}
</InfoWithDelta>
)}
<InfoWithDelta name="Shell velocity" unit="m/s" decimals={0}>
{shell.speed * shellVelocityCoefficient}
</InfoWithDelta>