mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
feat: crew count
This commit is contained in:
1 parent
cd69023dff
commit
98797a6cf5
2 files changed
+5
No files matched your search
+3
@@ -579,6 +579,9 @@ export function Characteristics() {
|
||||
<InfoWithDelta name="Health" unit="hp" decimals={0}>
|
||||
{stats.health}
|
||||
</InfoWithDelta>
|
||||
<InfoWithDelta name="Crew count" decimals={0}>
|
||||
{stats.crewCount}
|
||||
</InfoWithDelta>
|
||||
<InfoWithDelta
|
||||
name="Fire chance"
|
||||
unit="%"
|
||||
|
||||
@@ -504,8 +504,10 @@ export function tankCharacteristics(
|
||||
const volume = width * height * length;
|
||||
const shellNormalization = shell.normalization ?? 0;
|
||||
const shellRicochet = isExplosive(shell.type) ? undefined : shell.ricochet;
|
||||
const crewCount = tank.crew.length;
|
||||
|
||||
return {
|
||||
crewCount,
|
||||
shellNormalization,
|
||||
shellRicochet,
|
||||
dpm,
|
||||
|
||||
Reference in new issue
Block a user