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

+8
View File
@@ -1261,6 +1261,14 @@ export default function Page() {
)}
<Row name="Penetration" value="penetration" decimals={0} />
<Row name="Damage" value="damage" decimals={0} />
{hasNonRegularGun && (
<Row
name="clipping potential"
indent
value="clipDamage"
decimals={0}
/>
)}
<Row name="Module damage" value="moduleDamage" decimals={0} />
<Row name="Caliber" value="caliber" decimals={0} />
<Row
@@ -297,6 +297,11 @@ export function Characteristics() {
<InfoWithDelta name="Damage" unit="hp" decimals={0}>
{stats.damage}
</InfoWithDelta>
{gun.type !== 'regular' && (
<InfoWithDelta name="Clipping potential" indent>
{stats.clipDamage!}
</InfoWithDelta>
)}
<InfoWithDelta name="Module damage" unit="hp" decimals={0}>
{stats.moduleDamage}
</InfoWithDelta>