mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
fix: ugh
This commit is contained in:
1 parent
fcac511a28
commit
273ab97d3f
2 files changed
+4
-4
No files matched your search
@@ -29,7 +29,7 @@ export function Characteristics() {
|
||||
|
||||
if (gun.type === 'regular') {
|
||||
dpm = (shell.damage.armor / gun.reload) * 60;
|
||||
} else if (gun.type === 'auto_loader') {
|
||||
} else if (gun.type === 'autoLoader') {
|
||||
dpm =
|
||||
((shell.damage.armor * gun.count) /
|
||||
(gun.reload + (gun.count - 1) * gun.interClip)) *
|
||||
@@ -82,7 +82,7 @@ export function Characteristics() {
|
||||
<Info name="Damage per minute" unit="hp / min">
|
||||
{dpm.toFixed(0)}
|
||||
</Info>
|
||||
{gun.type === 'auto_reloader' && (
|
||||
{gun.type === 'autoReloader' && (
|
||||
<>
|
||||
<Info indent name="Maximum" unit="hp / min">
|
||||
{gun.reload.at(-1)! < gun.reload.at(-2)!
|
||||
@@ -124,7 +124,7 @@ export function Characteristics() {
|
||||
</Info>
|
||||
</>
|
||||
)}
|
||||
{gun.type === 'auto_reloader' ? (
|
||||
{gun.type === 'autoReloader' ? (
|
||||
gun.reload.map((reload, index) => (
|
||||
<Info
|
||||
indent={index > 0}
|
||||
|
||||
@@ -125,7 +125,7 @@ export function TankSearch({ compact, onSelect = () => {} }: TankSearchProps) {
|
||||
go(event.target.value, searchableTanks, {
|
||||
keys: [
|
||||
'name',
|
||||
'name_full',
|
||||
'nameFull',
|
||||
'id',
|
||||
] satisfies (keyof TankDefinition)[],
|
||||
}).map(({ obj }) => obj),
|
||||
|
||||
Reference in new issue
Block a user