mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: more shell properties
This commit is contained in:
1 parent
730d6f2bb8
commit
2f48dbc25c
4 files changed
+33
-6
No files matched your search
@@ -6,6 +6,7 @@ The tankopedia, now more helpful than ever!
|
|||||||
|
|
||||||
- The Tankopedia pages for tanks now include videos from YouTubers
|
- The Tankopedia pages for tanks now include videos from YouTubers
|
||||||
- The selection of tanks that have videos is very small currently but you can help expand it by dropping suggestions on [the official Discord server](https://discord.gg/nDt7AjGJQH)
|
- The selection of tanks that have videos is very small currently but you can help expand it by dropping suggestions on [the official Discord server](https://discord.gg/nDt7AjGJQH)
|
||||||
|
- Added shell normalization and ricochet angles to the Tankopedia and Compare
|
||||||
|
|
||||||
## Fixes
|
## Fixes
|
||||||
|
|
||||||
|
|||||||
@@ -1233,10 +1233,21 @@ export default function Page() {
|
|||||||
<Row name="Shells" value="shells" decimals={0} />
|
<Row name="Shells" value="shells" decimals={0} />
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
<Row name="Caliber" value="caliber" decimals={0} />
|
|
||||||
<Row name="Penetration" value="penetration" decimals={0} />
|
<Row name="Penetration" value="penetration" decimals={0} />
|
||||||
<Row name="Damage" value="damage" decimals={0} />
|
<Row name="Damage" value="damage" decimals={0} />
|
||||||
<Row name="Module damage" value="moduleDamage" decimals={0} />
|
<Row name="Module damage" value="moduleDamage" decimals={0} />
|
||||||
|
<Row name="Caliber" value="caliber" decimals={0} />
|
||||||
|
<Row
|
||||||
|
name="Normalization"
|
||||||
|
value="shellNormalization"
|
||||||
|
decimals={0}
|
||||||
|
/>
|
||||||
|
<Row
|
||||||
|
name="Ricochet"
|
||||||
|
value="shellRicochet"
|
||||||
|
deltaType="lowerIsBetter"
|
||||||
|
decimals={0}
|
||||||
|
/>
|
||||||
<Row name="Shell velocity" value="shellVelocity" decimals={0} />
|
<Row name="Shell velocity" value="shellVelocity" decimals={0} />
|
||||||
<Row
|
<Row
|
||||||
name="Aim time"
|
name="Aim time"
|
||||||
|
|||||||
@@ -155,7 +155,6 @@ export function Characteristics() {
|
|||||||
})}
|
})}
|
||||||
</Flex>
|
</Flex>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
<Info name="Gun type">{GUN_TYPE_NAMES[gun.type]}</Info>
|
<Info name="Gun type">{GUN_TYPE_NAMES[gun.type]}</Info>
|
||||||
<InfoWithDelta name="DPM" decimals={0} unit="hp / min">
|
<InfoWithDelta name="DPM" decimals={0} unit="hp / min">
|
||||||
{stats.dpm}
|
{stats.dpm}
|
||||||
@@ -189,7 +188,6 @@ export function Characteristics() {
|
|||||||
{gun.type !== 'regular' && (
|
{gun.type !== 'regular' && (
|
||||||
<InfoWithDelta name="Shells">{stats.shells}</InfoWithDelta>
|
<InfoWithDelta name="Shells">{stats.shells}</InfoWithDelta>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{gun.type === 'autoReloader' ? (
|
{gun.type === 'autoReloader' ? (
|
||||||
<>
|
<>
|
||||||
<Info indent name="Most optimal">
|
<Info indent name="Most optimal">
|
||||||
@@ -229,9 +227,6 @@ export function Characteristics() {
|
|||||||
{stats.intraClip!}
|
{stats.intraClip!}
|
||||||
</InfoWithDelta>
|
</InfoWithDelta>
|
||||||
)}
|
)}
|
||||||
<InfoWithDelta name="Caliber" decimals={0} unit="mm">
|
|
||||||
{stats.caliber}
|
|
||||||
</InfoWithDelta>
|
|
||||||
<InfoWithDelta decimals={0} name="Penetration" unit="mm">
|
<InfoWithDelta decimals={0} name="Penetration" unit="mm">
|
||||||
{stats.penetration}
|
{stats.penetration}
|
||||||
</InfoWithDelta>
|
</InfoWithDelta>
|
||||||
@@ -295,6 +290,22 @@ export function Characteristics() {
|
|||||||
{stats.explosionRadius!}
|
{stats.explosionRadius!}
|
||||||
</InfoWithDelta>
|
</InfoWithDelta>
|
||||||
)}
|
)}
|
||||||
|
<InfoWithDelta name="Caliber" decimals={0} unit="mm">
|
||||||
|
{stats.caliber}
|
||||||
|
</InfoWithDelta>
|
||||||
|
<InfoWithDelta name="Normalization" decimals={0} unit="°">
|
||||||
|
{stats.shellNormalization}
|
||||||
|
</InfoWithDelta>
|
||||||
|
{shell.type !== 'he' && (
|
||||||
|
<InfoWithDelta
|
||||||
|
name="Ricochet"
|
||||||
|
decimals={0}
|
||||||
|
deltaType="lowerIsBetter"
|
||||||
|
unit="°"
|
||||||
|
>
|
||||||
|
{stats.shellRicochet!}
|
||||||
|
</InfoWithDelta>
|
||||||
|
)}
|
||||||
<InfoWithDelta name="Shell velocity" unit="m/s" decimals={0}>
|
<InfoWithDelta name="Shell velocity" unit="m/s" decimals={0}>
|
||||||
{stats.shellVelocity}
|
{stats.shellVelocity}
|
||||||
</InfoWithDelta>
|
</InfoWithDelta>
|
||||||
|
|||||||
@@ -430,8 +430,12 @@ export function tankCharacteristics(
|
|||||||
const height = size[0];
|
const height = size[0];
|
||||||
const length = size[1];
|
const length = size[1];
|
||||||
const volume = width * height * length;
|
const volume = width * height * length;
|
||||||
|
const shellNormalization = shell.normalization ?? 0;
|
||||||
|
const shellRicochet = shell.ricochet;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
shellNormalization,
|
||||||
|
shellRicochet,
|
||||||
dpm,
|
dpm,
|
||||||
dpmMaximum,
|
dpmMaximum,
|
||||||
dpmEffective,
|
dpmEffective,
|
||||||
|
|||||||
Reference in new issue
Block a user