From 4e2deed7816857e5c5b56a0c6b6d59e8504f789d Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sat, 4 Apr 2020 15:26:12 +0200 Subject: also add FromStr for new bosses --- src/statistics/gamedata.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) 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())) } } -- cgit v1.2.3