feat: ricochet incapable shells

This commit is contained in:
TrèsAbhi committed 2024-01-11 12:04:01 -06:00
1 parent 28a9f9a849
commit 9ed2b79a4b
5 files changed
+71 -22

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
import { ShellDefinition } from '../blitzkrieg/tankDefinitions';
export function canRicochet(
type: ShellDefinition['type'],
): type is 'ap' | 'ap_cr' {
return type === 'ap' || type === 'ap_cr';
}