diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-11-23 22:59:42 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-11-23 22:59:42 +0100 |
commit | d6ba356a7573202709c7b0ec2be3a2857b58bd6b (patch) | |
tree | cb5eb2a290260c470a840c19123b579c70dc90de /src/bt.rs | |
parent | 52c31e29ea9167989caa12161d75916a5661789b (diff) | |
download | kondou-d6ba356a7573202709c7b0ec2be3a2857b58bd6b.tar.gz kondou-d6ba356a7573202709c7b0ec2be3a2857b58bd6b.tar.bz2 kondou-d6ba356a7573202709c7b0ec2be3a2857b58bd6b.zip |
add Legendary Alliance Stance
Diffstat (limited to 'src/bt.rs')
-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(()), } } |