aboutsummaryrefslogtreecommitdiff
path: root/src/analyzers/raids
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2020-09-23 15:22:55 +0200
committerDaniel Schadt <kingdread@gmx.de>2020-09-23 15:23:55 +0200
commit39972d54be41bfc7b8b7f38b1f5a4d60e2453da5 (patch)
tree5ef048c306eca6a67005290859a29699d35978b6 /src/analyzers/raids
parent3b79ad8fa9b4a8c9c535b417129e3f70769074e0 (diff)
downloadevtclib-39972d54be41bfc7b8b7f38b1f5a4d60e2453da5.tar.gz
evtclib-39972d54be41bfc7b8b7f38b1f5a4d60e2453da5.tar.bz2
evtclib-39972d54be41bfc7b8b7f38b1f5a4d60e2453da5.zip
rename Boss to Encounter
This is the first step in differentiating between Encounters and Bosses. It sounds a bit weird at first, but there are some events without any bosses (like the River of Souls), and some events which have multiple bosses (like Twin Largos or the kodan strike mission). If we want to support this better, without relying on extra IDs, special casing and constants (like NIKARE_ID), we should differentiate between Encounters and Bosses.
Diffstat (limited to 'src/analyzers/raids')
-rw-r--r--src/analyzers/raids/mod.rs2
-rw-r--r--src/analyzers/raids/w6.rs10
2 files changed, 6 insertions, 6 deletions
diff --git a/src/analyzers/raids/mod.rs b/src/analyzers/raids/mod.rs
index bb3824b..a0602b0 100644
--- a/src/analyzers/raids/mod.rs
+++ b/src/analyzers/raids/mod.rs
@@ -19,7 +19,7 @@ mod w5;
pub use w5::{Dhuum, SoullessHorror};
mod w6;
-pub use w6::{ConjuredAmalgamate, LargosTwins, Qadim};
+pub use w6::{ConjuredAmalgamate, TwinLargos, Qadim};
mod w7;
pub use w7::{CardinalAdina, CardinalSabir, QadimThePeerless};
diff --git a/src/analyzers/raids/w6.rs b/src/analyzers/raids/w6.rs
index 8701a63..11fd02e 100644
--- a/src/analyzers/raids/w6.rs
+++ b/src/analyzers/raids/w6.rs
@@ -59,21 +59,21 @@ pub const LARGOS_CM_HEALTH: u64 = 19_200_000;
///
/// The CM is detected by the boss's health, which is higher in the challenge mote.
#[derive(Debug, Clone, Copy)]
-pub struct LargosTwins<'log> {
+pub struct TwinLargos<'log> {
log: &'log Log,
}
-impl<'log> LargosTwins<'log> {
- /// Create a new [`LargosTwins`] analyzer for the given log.
+impl<'log> TwinLargos<'log> {
+ /// Create a new [`TwinLargos`] analyzer for the given log.
///
/// **Do not** use this method unless you know what you are doing. Instead, rely on
/// [`Log::analyzer`]!
pub fn new(log: &'log Log) -> Self {
- LargosTwins { log }
+ TwinLargos { log }
}
}
-impl<'log> Analyzer for LargosTwins<'log> {
+impl<'log> Analyzer for TwinLargos<'log> {
fn log(&self) -> &Log {
self.log
}