From f7428e317d282856d05ffc37b6ba474c5e9973ce Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Sun, 24 Mar 2024 14:32:01 +0100 Subject: feat: damage types --- src/shared/stats.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shared/stats.rs') diff --git a/src/shared/stats.rs b/src/shared/stats.rs index 239405e..98c26aa 100644 --- a/src/shared/stats.rs +++ b/src/shared/stats.rs @@ -6,6 +6,8 @@ pub struct Stats { pub attack_speed: f32, pub max_health: f32, pub movement_speed: f32, + pub armor: f32, + pub magic_resist: f32, } #[derive(Component, Message, Clone, Copy, Serialize, Deserialize, PartialEq, Debug)] -- cgit v1.2.3