diff options
author | Daniel Schadt <kingdread@gmx.de> | 2020-07-23 17:26:56 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2020-07-23 17:26:56 +0200 |
commit | c6c2f4fa92dc94d0710586e3ba96b31dcb125f91 (patch) | |
tree | 9dc094fb15336b0192d274ba841a760c0bee16fc /src | |
parent | d290abac857fd88008afcde1d76fc70fe33ca605 (diff) | |
download | evtclib-c6c2f4fa92dc94d0710586e3ba96b31dcb125f91.tar.gz evtclib-c6c2f4fa92dc94d0710586e3ba96b31dcb125f91.tar.bz2 evtclib-c6c2f4fa92dc94d0710586e3ba96b31dcb125f91.zip |
make Log::boss_agents/is_boss work on Largos Twins
Otherwise, this would only return Nikare, and not Kenut.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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] }; |