feat: start rewrite on onClick armor

This commit is contained in:
TrèsAbhi committed 2024-05-24 20:32:39 -05:00
1 parent 82933aaf1e
commit 542145467c
10 files changed
+476 -282

No files matched your search

+4 -2
View File
@@ -50,7 +50,6 @@ export interface ShotLayerBase {
index: number;
thickness: number;
point: Vector3;
shellNormal: Vector3;
surfaceNormal: Vector3;
status: 'blocked' | 'penetration' | 'ricochet';
}
@@ -74,8 +73,11 @@ export interface ShotLayerGap {
export type ShotLayer = ShotLayerExternal | ShotLayerNonExternal | ShotLayerGap;
export type Shot = {
status: 'penetration' | 'blocked' | 'ricochet' | 'splash';
damage: number;
point: Vector3;
layers: ShotLayer[];
layersIn: ShotLayer[];
layersOut?: ShotLayer[];
};
export type ArmorPiercingLayer =