diff options
author | Alexander Foremny <aforemny@posteo.de> | 2024-03-20 06:39:46 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-03-20 06:45:22 +0100 |
commit | 716bd0618308d6100556d1231b0b156f48c64778 (patch) | |
tree | 9ba09552391330c9bcee2b71d42928234b3ec6ea /src/shared/projectile.rs | |
parent | 0165c47ea6c002c4eb177289ced5412b73273a25 (diff) |
feat: scale spear damage
Diffstat (limited to 'src/shared/projectile.rs')
-rw-r--r-- | src/shared/projectile.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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)] |