poke_engine/
base_stats.rs

1use crate::pokemon::PokemonName;
2
3impl PokemonName {
4    /*
5    Base Stats are only required to re-calculate stats when a pokemon changes forme
6    so not every pokemon will be here
7    */
8    pub fn base_stats(&self) -> (i16, i16, i16, i16, i16, i16) {
9        match self {
10            PokemonName::MINIOR => (60, 100, 60, 100, 60, 120),
11            PokemonName::MINIORMETEOR => (60, 60, 100, 60, 100, 60),
12            PokemonName::WISHIWASHI => (45, 20, 20, 25, 25, 40),
13            PokemonName::WISHIWASHISCHOOL => (45, 140, 130, 140, 135, 30),
14            PokemonName::PALAFIN => (100, 70, 72, 53, 62, 100),
15            PokemonName::PALAFINHERO => (100, 160, 97, 106, 87, 100),
16            PokemonName::EISCUE => (75, 80, 110, 65, 90, 50),
17            PokemonName::EISCUENOICE => (75, 80, 70, 65, 50, 130),
18            _ => panic!("Base stats not implemented for {}", self),
19        }
20    }
21}