aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/gamedata.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2020-04-04 15:26:12 +0200
committerDaniel Schadt <kingdread@gmx.de>2020-04-04 15:26:12 +0200
commit4e2deed7816857e5c5b56a0c6b6d59e8504f789d (patch)
tree72648a5f2a147303b98619f56185fe01bf928660 /src/statistics/gamedata.rs
parent9dca86f507b7c65a5694369b0dba8a9f76e86c44 (diff)
downloadevtclib-4e2deed7816857e5c5b56a0c6b6d59e8504f789d.tar.gz
evtclib-4e2deed7816857e5c5b56a0c6b6d59e8504f789d.tar.bz2
evtclib-4e2deed7816857e5c5b56a0c6b6d59e8504f789d.zip
also add FromStr for new bosses
Diffstat (limited to 'src/statistics/gamedata.rs')
-rw-r--r--src/statistics/gamedata.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/statistics/gamedata.rs b/src/statistics/gamedata.rs
index 8e59849..d942939 100644
--- a/src/statistics/gamedata.rs
+++ b/src/statistics/gamedata.rs
@@ -104,6 +104,10 @@ impl FromStr for Boss {
"largos" | "twins" => Ok(Boss::LargosTwins),
"qadim" => Ok(Boss::Qadim),
+ "adina" | "cardinal adina" => Ok(Boss::CardinalAdina),
+ "sabir" | "cardinal sabir" => Ok(Boss::CardinalSabir),
+ "qadimp" | "peerless qadim" | "qadim the peerless" => Ok(Boss::QadimThePeerless),
+
"skorvald" => Ok(Boss::Skorvald),
"artsariiv" => Ok(Boss::Artsariiv),
"arkk" => Ok(Boss::Arkk),
@@ -112,6 +116,12 @@ impl FromStr for Boss {
"siax" => Ok(Boss::Siax),
"ensolyss" => Ok(Boss::Ensolyss),
+ "icebrood" | "icebrood construct" => Ok(Boss::IcebroodConstruct),
+ "super kodan brothers" => Ok(Boss::VoiceOfTheFallen),
+ "fraenir" | "fraenir of jormag" => Ok(Boss::FraenirOfJormag),
+ "boneskinner" => Ok(Boss::Boneskinner),
+ "whisper" | "whisper of jormag" => Ok(Boss::WhisperOfJormag),
+
_ => Err(ParseBossError(s.to_owned()))
}
}