From e9dce64b009455163f2a262ed481c37300917c4a Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Tue, 19 Mar 2024 05:50:53 +0100 Subject: chore: tweak champions --- src/shared/stats.rs | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/shared/stats.rs') diff --git a/src/shared/stats.rs b/src/shared/stats.rs index ae449f0..bc9a509 100644 --- a/src/shared/stats.rs +++ b/src/shared/stats.rs @@ -12,20 +12,3 @@ pub struct BaseStats(pub Stats); #[derive(Component, Message, Clone, Copy, Serialize, Deserialize, PartialEq, Debug)] pub struct EffectiveStats(pub Stats); - -impl BaseStats { - pub fn from_champion(champion: Champion) -> Self { - match champion { - 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., - }), - } - } -} -- cgit v1.2.3