diff options
Diffstat (limited to 'src/shared/stats.rs')
-rw-r--r-- | src/shared/stats.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/stats.rs b/src/shared/stats.rs index 8513a3c..ae449f0 100644 --- a/src/shared/stats.rs +++ b/src/shared/stats.rs @@ -4,6 +4,7 @@ use crate::shared::*; pub struct Stats { pub attack_range: f32, pub movement_speed: f32, + pub max_health: f32, } #[derive(Component, Message, Clone, Copy, Serialize, Deserialize, PartialEq, Debug)] @@ -18,10 +19,12 @@ impl BaseStats { Champion::Meele => BaseStats(Stats { attack_range: 25., movement_speed: 75., + max_health: 150., }), Champion::Ranged => BaseStats(Stats { attack_range: 60., movement_speed: 85., + max_health: 100., }), } } |