fix: lower raw terrain coefficients are actually better

This commit is contained in:
TrèsAbhi committed 2024-10-24 15:22:51 -05:00
1 parent c51065e512
commit a2685394fd
2 files changed
+18 -3

No files matched your search

@@ -266,6 +266,7 @@ export function Body({ stats }: BodyProps) {
stats={stats}
name="Raw terrain coefficient"
value="hardTerrainCoefficientRaw"
deltaType="lowerIsBetter"
decimals={2}
/>
<CompareRow
@@ -273,6 +274,7 @@ export function Body({ stats }: BodyProps) {
name="medium terrain"
indent
value="mediumTerrainCoefficientRaw"
deltaType="lowerIsBetter"
decimals={2}
/>
<CompareRow
@@ -280,6 +282,7 @@ export function Body({ stats }: BodyProps) {
name="soft terrain"
indent
value="softTerrainCoefficientRaw"
deltaType="lowerIsBetter"
decimals={2}
/>
<CompareRow
@@ -532,14 +532,26 @@ export function Characteristics() {
<InfoWithDelta decimals={0} unit="%" indent name="Soft">
{stats.softTerrainCoefficient}
</InfoWithDelta>
<Info name="Raw terrain coefficients" />
<Info name="Raw terrain coefficients" deltaType="lowerIsBetter" />
<InfoWithDelta decimals={2} unit="%" indent name="Hard">
{stats.hardTerrainCoefficientRaw}
</InfoWithDelta>
<InfoWithDelta decimals={2} unit="%" indent name="Medium">
<InfoWithDelta
decimals={2}
unit="%"
indent
name="Medium"
deltaType="lowerIsBetter"
>
{stats.mediumTerrainCoefficientRaw}
</InfoWithDelta>
<InfoWithDelta decimals={2} unit="%" indent name="Soft">
<InfoWithDelta
decimals={2}
unit="%"
indent
name="Soft"
deltaType="lowerIsBetter"
>
{stats.softTerrainCoefficientRaw}
</InfoWithDelta>
<Info name="Power to weight ratio" unit="hp/tn" />