mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 03:29: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 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
|
||||
|
||||
|
||||
@@ -1233,10 +1233,21 @@ export default function Page() {
|
||||
<Row name="Shells" value="shells" decimals={0} />
|
||||
</>
|
||||
)}
|
||||
<Row name="Caliber" value="caliber" decimals={0} />
|
||||
<Row name="Penetration" value="penetration" decimals={0} />
|
||||
<Row name="Damage" value="damage" 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="Aim time"
|
||||
|
||||
@@ -155,7 +155,6 @@ export function Characteristics() {
|
||||
})}
|
||||
</Flex>
|
||||
</Flex>
|
||||
|
||||
<Info name="Gun type">{GUN_TYPE_NAMES[gun.type]}</Info>
|
||||
<InfoWithDelta name="DPM" decimals={0} unit="hp / min">
|
||||
{stats.dpm}
|
||||
@@ -189,7 +188,6 @@ export function Characteristics() {
|
||||
{gun.type !== 'regular' && (
|
||||
<InfoWithDelta name="Shells">{stats.shells}</InfoWithDelta>
|
||||
)}
|
||||
|
||||
{gun.type === 'autoReloader' ? (
|
||||
<>
|
||||
<Info indent name="Most optimal">
|
||||
@@ -229,9 +227,6 @@ export function Characteristics() {
|
||||
{stats.intraClip!}
|
||||
</InfoWithDelta>
|
||||
)}
|
||||
<InfoWithDelta name="Caliber" decimals={0} unit="mm">
|
||||
{stats.caliber}
|
||||
</InfoWithDelta>
|
||||
<InfoWithDelta decimals={0} name="Penetration" unit="mm">
|
||||
{stats.penetration}
|
||||
</InfoWithDelta>
|
||||
@@ -295,6 +290,22 @@ export function Characteristics() {
|
||||
{stats.explosionRadius!}
|
||||
</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}>
|
||||
{stats.shellVelocity}
|
||||
</InfoWithDelta>
|
||||
|
||||
@@ -430,8 +430,12 @@ export function tankCharacteristics(
|
||||
const height = size[0];
|
||||
const length = size[1];
|
||||
const volume = width * height * length;
|
||||
const shellNormalization = shell.normalization ?? 0;
|
||||
const shellRicochet = shell.ricochet;
|
||||
|
||||
return {
|
||||
shellNormalization,
|
||||
shellRicochet,
|
||||
dpm,
|
||||
dpmMaximum,
|
||||
dpmEffective,
|
||||
|
||||
Reference in new issue
Block a user