mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: penetration listing
This commit is contained in:
1 parent
a70100c835
commit
efd1a80ee1
1 file changed
+7
-2
@@ -21,6 +21,7 @@ import { debounce } from 'lodash';
|
||||
import { Dispatch, SetStateAction, use, useRef, useState } from 'react';
|
||||
import { ModuleButton } from '../../../../../../components/ModuleButton';
|
||||
import { SmallTankIcon } from '../../../../../../components/SmallTankIcon';
|
||||
import { resolveNearPenetration } from '../../../../../../core/blitz/resolveNearPenetration';
|
||||
import {
|
||||
SHELL_NAMES,
|
||||
tankNamesDiacritics,
|
||||
@@ -230,8 +231,12 @@ export function AntagonistBar({
|
||||
<ul>
|
||||
{antagonist.gun.shells.map((shell) => (
|
||||
<li key={shell.id}>
|
||||
{SHELL_NAMES[shell.type]}:
|
||||
<b>{shell.damage.armor} HP</b>
|
||||
{SHELL_NAMES[shell.type]}:{' '}
|
||||
<b>
|
||||
{resolveNearPenetration(shell.penetration)}
|
||||
mm
|
||||
</b>
|
||||
, {shell.damage.armor}HP
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
|
||||
Reference in new issue
Block a user