feat: dpm docs

This commit is contained in:
TrèsAbhi committed 2024-02-03 14:50:35 -06:00
1 parent 02f63ee5f0
commit 4433855047
3 files changed
+29 -1

No files matched your search

@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
import { theme } from '../../../../../../../stitches.config';
interface InfoProps {
name: string;
name: ReactNode;
children?: ReactNode;
unit?: string;
indent?: boolean;
@@ -108,6 +108,17 @@ export function Characteristics() {
shell.damage.armor * gun.reload.slice(1).length
).toFixed(0)}
</Info>
<Info
indent
name={
<a
target="_blank"
href="https://tresabhi.github.io/blitzkrieg/guide/dpm.html"
>
What's the difference?
</a>
}
/>
<Info indent name="Optimal shell index">
{gun.reload.at(-1)! < gun.reload.at(-2)! ? gun.reload.length : 1}
</Info>