diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bt.rs | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -78,12 +78,13 @@ impl fmt::Display for TraitChoice { #[derive(Debug, PartialEq, Eq, Hash, Copy, Clone, IntoPrimitive, TryFromPrimitive)] pub enum Legend { None = 0, - Dragon = 13, - Assassin = 14, - Dwarf = 15, - Demon = 16, - Renegade = 17, - Centaur = 18, + Dragon = 1, + Assassin = 2, + Dwarf = 3, + Demon = 4, + Renegade = 5, + Centaur = 6, + Alliance = 7, } impl Legend { @@ -97,6 +98,7 @@ impl Legend { Legend::Demon => "Legend4", Legend::Renegade => "Legend5", Legend::Centaur => "Legend6", + Legend::Alliance => "Legend7", } .to_owned(), ) @@ -116,6 +118,7 @@ impl FromStr for Legend { "demon" | "mallyx" => Ok(Legend::Demon), "renegade" | "kalla" => Ok(Legend::Renegade), "centaur" | "ventari" => Ok(Legend::Centaur), + "alliance" | "archemorus" => Ok(Legend::Alliance), _ => Err(()), } } |