mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 03:29:51 +02:00
feat: ricochet repenetration
This commit is contained in:
1 parent
8bb5032ee4
commit
901f1bfe42
8 files changed
+163
-33
No files matched your search
@@ -36,6 +36,7 @@ export function Consumables() {
|
||||
|
||||
return (
|
||||
<ModuleButton
|
||||
key={consumable.id}
|
||||
first={index === 0}
|
||||
last={index === consumablesList.length - 1}
|
||||
rowChild
|
||||
|
||||
@@ -35,6 +35,7 @@ export function Provisions() {
|
||||
|
||||
return (
|
||||
<ModuleButton
|
||||
key={provision.id}
|
||||
first={index === 0}
|
||||
last={index === provisionsList.length - 1}
|
||||
rowChild
|
||||
|
||||
@@ -127,6 +127,7 @@ export function Characteristics() {
|
||||
{gun.type === 'autoReloader' ? (
|
||||
gun.reload.map((reload, index) => (
|
||||
<Info
|
||||
key={index}
|
||||
indent={index > 0}
|
||||
name={index > 0 ? `Shell ${index + 1}` : 'Reload on shell 1'}
|
||||
unit="s"
|
||||
@@ -144,25 +145,25 @@ export function Characteristics() {
|
||||
</Info>
|
||||
<Info name="Penetration" unit="mm" />
|
||||
{gun.shells.map((shell) => (
|
||||
<Info indent name={SHELL_NAMES[shell.type]}>
|
||||
<Info key={shell.type} indent name={SHELL_NAMES[shell.type]}>
|
||||
{resolveNearPenetration(shell.penetration)}
|
||||
</Info>
|
||||
))}
|
||||
<Info name="Damage" unit="hp" />
|
||||
{gun.shells.map((shell) => (
|
||||
<Info indent name={SHELL_NAMES[shell.type]}>
|
||||
<Info key={shell.type} indent name={SHELL_NAMES[shell.type]}>
|
||||
{shell.damage.armor}
|
||||
</Info>
|
||||
))}
|
||||
<Info name="Module damage" unit="hp" />
|
||||
{gun.shells.map((shell, index) => (
|
||||
<Info indent name={SHELL_NAMES[shell.type]}>
|
||||
<Info key={shell.type} indent name={SHELL_NAMES[shell.type]}>
|
||||
{shell.damage.module}
|
||||
</Info>
|
||||
))}
|
||||
<Info name="Shell velocity" unit="m/s" />
|
||||
{gun.shells.map((shell, index) => (
|
||||
<Info indent name={SHELL_NAMES[shell.type]}>
|
||||
<Info key={shell.type} indent name={SHELL_NAMES[shell.type]}>
|
||||
{shell.speed}
|
||||
</Info>
|
||||
))}
|
||||
|
||||
Reference in new issue
Block a user