aboutsummaryrefslogtreecommitdiff
path: root/src/bt.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2022-11-23 22:59:42 +0100
committerDaniel Schadt <kingdread@gmx.de>2022-11-23 22:59:42 +0100
commitd6ba356a7573202709c7b0ec2be3a2857b58bd6b (patch)
treecb5eb2a290260c470a840c19123b579c70dc90de /src/bt.rs
parent52c31e29ea9167989caa12161d75916a5661789b (diff)
downloadkondou-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.rs15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/bt.rs b/src/bt.rs
index 3c1b604..f2e1fad 100644
--- a/src/bt.rs
+++ b/src/bt.rs
@@ -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(()),
}
}