diff options
Diffstat (limited to 'src/analyzers')
| -rw-r--r-- | src/analyzers/raids/w7.rs | 14 | 
1 files changed, 13 insertions, 1 deletions
| diff --git a/src/analyzers/raids/w7.rs b/src/analyzers/raids/w7.rs index a8319a3..54073a3 100644 --- a/src/analyzers/raids/w7.rs +++ b/src/analyzers/raids/w7.rs @@ -1,6 +1,6 @@  //! Boss fight analyzers for Wing 6 (Mythwright Gambit)  use crate::{ -    analyzers::{helpers, Analyzer}, +    analyzers::{helpers, Analyzer, Outcome},      Log,  }; @@ -30,6 +30,10 @@ impl<'log> Analyzer for CardinalAdina<'log> {              .map(|h| h >= ADINA_CM_HEALTH)              .unwrap_or(false)      } + +    fn outcome(&self) -> Option<Outcome> { +        Outcome::from_bool(helpers::boss_is_dead(self.log)) +    }  }  pub const SABIR_CM_HEALTH: u64 = 32_400_000; @@ -58,6 +62,10 @@ impl<'log> Analyzer for CardinalSabir<'log> {              .map(|h| h >= SABIR_CM_HEALTH)              .unwrap_or(false)      } + +    fn outcome(&self) -> Option<Outcome> { +        Outcome::from_bool(helpers::boss_is_dead(self.log)) +    }  }  pub const QADIMP_CM_HEALTH: u64 = 51_000_000; @@ -83,4 +91,8 @@ impl<'log> Analyzer for QadimThePeerless<'log> {              .map(|h| h >= QADIMP_CM_HEALTH)              .unwrap_or(false)      } + +    fn outcome(&self) -> Option<Outcome> { +        Outcome::from_bool(helpers::boss_is_dead(self.log)) +    }  } | 
