diff options
author | Alexander Foremny <aforemny@posteo.de> | 2024-03-24 14:32:01 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-03-24 14:34:41 +0100 |
commit | f7428e317d282856d05ffc37b6ba474c5e9973ce (patch) | |
tree | cf016b07c1145ad4b62c210eb739085c0639f407 /src/shared/stats.rs | |
parent | 1751960338fc7a08fec438a9b53c78118a35063a (diff) |
feat: damage types
Diffstat (limited to 'src/shared/stats.rs')
-rw-r--r-- | src/shared/stats.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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)] |