From 716bd0618308d6100556d1231b0b156f48c64778 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Wed, 20 Mar 2024 06:39:46 +0100 Subject: feat: scale spear damage --- 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 bc0a505..f9fb592 100644 --- a/src/shared/projectile.rs +++ b/src/shared/projectile.rs @@ -40,6 +40,7 @@ pub struct FreeProjectile { pub direction: Vec2, pub starting_position: Vec2, pub max_distance: f32, + pub scale_damage: Option<(f32, f32)>, } #[derive(Component, Message, Serialize, Deserialize, Clone, Debug, PartialEq)] -- cgit v1.2.3