aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2020-07-23 17:26:56 +0200
committerDaniel Schadt <kingdread@gmx.de>2020-07-23 17:26:56 +0200
commitc6c2f4fa92dc94d0710586e3ba96b31dcb125f91 (patch)
tree9dc094fb15336b0192d274ba841a760c0bee16fc /src/lib.rs
parentd290abac857fd88008afcde1d76fc70fe33ca605 (diff)
downloadevtclib-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/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
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]
};