From 0436c10a90db450bdaf75ac43608e094bd9f0e8f Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Sun, 17 Mar 2024 08:14:27 +0100 Subject: feat: meele attack --- src/shared/projectile.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/shared/projectile.rs') diff --git a/src/shared/projectile.rs b/src/shared/projectile.rs index 2e9c6c3..16a064a 100644 --- a/src/shared/projectile.rs +++ b/src/shared/projectile.rs @@ -12,6 +12,7 @@ pub struct Projectile { pub target_player: PlayerId, pub source_player: PlayerId, pub damage: f32, + pub instant: bool, } #[derive(Component, Message, Serialize, Deserialize, Clone, Debug, PartialEq)] -- cgit v1.2.3