mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: 2 decimal places camo
This commit is contained in:
1 parent
b95d021144
commit
1ea1b7fa41
2 files changed
+15
-15
No files matched your search
@@ -366,40 +366,40 @@ export function Body({ stats }: BodyProps) {
|
|||||||
stats={stats}
|
stats={stats}
|
||||||
name="Camouflage"
|
name="Camouflage"
|
||||||
value="camouflageStill"
|
value="camouflageStill"
|
||||||
display={(stats) => (stats.camouflageStill * 100).toFixed(0)}
|
display={(stats) => (stats.camouflageStill * 100).toFixed(2)}
|
||||||
deltaNominalDisplay={(delta) => (delta * 100).toFixed(0)}
|
deltaNominalDisplay={(delta) => (delta * 100).toFixed(2)}
|
||||||
/>
|
/>
|
||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
name="moving"
|
name="moving"
|
||||||
indent
|
indent
|
||||||
value="camouflageMoving"
|
value="camouflageMoving"
|
||||||
display={(stats) => (stats.camouflageMoving * 100).toFixed(0)}
|
display={(stats) => (stats.camouflageMoving * 100).toFixed(2)}
|
||||||
deltaNominalDisplay={(delta) => (delta * 100).toFixed(0)}
|
deltaNominalDisplay={(delta) => (delta * 100).toFixed(2)}
|
||||||
/>
|
/>
|
||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
name="shooting"
|
name="shooting"
|
||||||
indent
|
indent
|
||||||
value="camouflageShootingStill"
|
value="camouflageShootingStill"
|
||||||
display={(stats) => (stats.camouflageShootingStill * 100).toFixed(0)}
|
display={(stats) => (stats.camouflageShootingStill * 100).toFixed(2)}
|
||||||
deltaNominalDisplay={(delta) => (delta * 100).toFixed(0)}
|
deltaNominalDisplay={(delta) => (delta * 100).toFixed(2)}
|
||||||
/>
|
/>
|
||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
name="shooting & moving"
|
name="shooting & moving"
|
||||||
indent
|
indent
|
||||||
value="camouflageShootingMoving"
|
value="camouflageShootingMoving"
|
||||||
display={(stats) => (stats.camouflageShootingMoving * 100).toFixed(0)}
|
display={(stats) => (stats.camouflageShootingMoving * 100).toFixed(2)}
|
||||||
deltaNominalDisplay={(delta) => (delta * 100).toFixed(0)}
|
deltaNominalDisplay={(delta) => (delta * 100).toFixed(2)}
|
||||||
/>
|
/>
|
||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
name="caught on fire"
|
name="caught on fire"
|
||||||
indent
|
indent
|
||||||
value="camouflageCaughtOnFire"
|
value="camouflageCaughtOnFire"
|
||||||
display={(stats) => (stats.camouflageCaughtOnFire * 100).toFixed(0)}
|
display={(stats) => (stats.camouflageCaughtOnFire * 100).toFixed(2)}
|
||||||
deltaNominalDisplay={(delta) => (delta * 100).toFixed(0)}
|
deltaNominalDisplay={(delta) => (delta * 100).toFixed(2)}
|
||||||
/>
|
/>
|
||||||
<CompareRow
|
<CompareRow
|
||||||
stats={stats}
|
stats={stats}
|
||||||
|
|||||||
+5
-5
@@ -601,19 +601,19 @@ export function Characteristics() {
|
|||||||
{stats.viewRange}
|
{stats.viewRange}
|
||||||
</InfoWithDelta>
|
</InfoWithDelta>
|
||||||
<Info name="Camouflage" unit="%" />
|
<Info name="Camouflage" unit="%" />
|
||||||
<InfoWithDelta indent name="Still" decimals={0}>
|
<InfoWithDelta indent name="Still" decimals={2}>
|
||||||
{stats.camouflageStill * 100}
|
{stats.camouflageStill * 100}
|
||||||
</InfoWithDelta>
|
</InfoWithDelta>
|
||||||
<InfoWithDelta indent name="Moving" decimals={0}>
|
<InfoWithDelta indent name="Moving" decimals={2}>
|
||||||
{stats.camouflageMoving * 100}
|
{stats.camouflageMoving * 100}
|
||||||
</InfoWithDelta>
|
</InfoWithDelta>
|
||||||
<InfoWithDelta indent name="Shooting still" decimals={0}>
|
<InfoWithDelta indent name="Shooting still" decimals={2}>
|
||||||
{stats.camouflageShootingStill * 100}
|
{stats.camouflageShootingStill * 100}
|
||||||
</InfoWithDelta>
|
</InfoWithDelta>
|
||||||
<InfoWithDelta indent name="Shooting moving" decimals={0}>
|
<InfoWithDelta indent name="Shooting moving" decimals={2}>
|
||||||
{stats.camouflageShootingMoving * 100}
|
{stats.camouflageShootingMoving * 100}
|
||||||
</InfoWithDelta>
|
</InfoWithDelta>
|
||||||
<InfoWithDelta indent name="Caught on fire" decimals={0}>
|
<InfoWithDelta indent name="Caught on fire" decimals={2}>
|
||||||
{stats.camouflageCaughtOnFire * 100}
|
{stats.camouflageCaughtOnFire * 100}
|
||||||
</InfoWithDelta>
|
</InfoWithDelta>
|
||||||
<Info name="Width" unit="m" decimals={0} deltaType="lowerIsBetter">
|
<Info name="Width" unit="m" decimals={0} deltaType="lowerIsBetter">
|
||||||
|
|||||||
Reference in new issue
Block a user