From c6c2f4fa92dc94d0710586e3ba96b31dcb125f91 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 23 Jul 2020 17:26:56 +0200 Subject: make Log::boss_agents/is_boss work on Largos Twins Otherwise, this would only return Nikare, and not Kenut. --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index a0bb741..a343cfe 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -760,6 +760,8 @@ impl Log { pub fn boss_agents(&self) -> Vec<&Agent> { let boss_ids = if self.boss_id == Boss::Xera as u16 { vec![self.boss_id, gamedata::XERA_PHASE2_ID] + } else if self.boss_id == Boss::LargosTwins as u16 { + vec![gamedata::NIKARE_ID, gamedata::KENUT_ID] } else { vec![self.boss_id] }; -- cgit v1.2.3