mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: start rewrite on onClick armor
This commit is contained in:
1 parent
82933aaf1e
commit
542145467c
10 files changed
+476
-282
No files matched your search
@@ -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 =
|
||||
|
||||
Reference in new issue
Block a user