aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/stats.rs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-19 05:50:53 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-19 05:50:53 +0100
commite9dce64b009455163f2a262ed481c37300917c4a (patch)
treeca747f68d8e46e1de938ff3d54fe009249836cd4 /src/shared/stats.rs
parent6805c6db39c1a9409b39aaf601f78db92b684c0d (diff)
chore: tweak champions
Diffstat (limited to 'src/shared/stats.rs')
-rw-r--r--src/shared/stats.rs17
1 files changed, 0 insertions, 17 deletions
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.,
- }),
- }
- }
-}