aboutsummaryrefslogtreecommitdiff
path: root/src/analyzers/mod.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2020-07-23 17:40:42 +0200
committerDaniel Schadt <kingdread@gmx.de>2020-07-23 17:40:42 +0200
commitd2a3a49dc4759ede6cc9f553955eb289477a9d74 (patch)
treeac060c0f88904aea67bd0a005affab51d01e2d82 /src/analyzers/mod.rs
parentd64ead757122e713d2cbb133d5fe683537cfcf6c (diff)
downloadevtclib-d2a3a49dc4759ede6cc9f553955eb289477a9d74.tar.gz
evtclib-d2a3a49dc4759ede6cc9f553955eb289477a9d74.tar.bz2
evtclib-d2a3a49dc4759ede6cc9f553955eb289477a9d74.zip
implement strike Analyzers
Diffstat (limited to 'src/analyzers/mod.rs')
-rw-r--r--src/analyzers/mod.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/analyzers/mod.rs b/src/analyzers/mod.rs
index c440136..f2cd2c7 100644
--- a/src/analyzers/mod.rs
+++ b/src/analyzers/mod.rs
@@ -22,6 +22,7 @@ use crate::{Boss, Log};
pub mod fractals;
pub mod helpers;
pub mod raids;
+pub mod strikes;
/// The outcome of a fight.
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
@@ -104,6 +105,10 @@ pub fn for_log<'l>(log: &'l Log) -> Option<Box<dyn Analyzer + 'l>> {
Some(Box::new(fractals::GenericFractal::new(log)))
}
- _ => None,
+ Boss::IcebroodConstruct
+ | Boss::VoiceOfTheFallen
+ | Boss::FraenirOfJormag
+ | Boss::Boneskinner
+ | Boss::WhisperOfJormag => Some(Box::new(strikes::GenericStrike::new(log))),
}
}