diff options
author | Aaron <51387595+AzureAaron@users.noreply.github.com> | 2023-10-22 16:15:37 -0400 |
---|---|---|
committer | Aaron <51387595+AzureAaron@users.noreply.github.com> | 2023-10-22 16:15:37 -0400 |
commit | 69eb16bb751e0717444189e15efdc2be6cf90f44 (patch) | |
tree | 866eaa77c79df130548504fad4d1ad30cbea3c5b | |
parent | 9cc09de788ce6f1003a92d1bdedabe8f0fd20c4e (diff) | |
download | Skyblocker-69eb16bb751e0717444189e15efdc2be6cf90f44.tar.gz Skyblocker-69eb16bb751e0717444189e15efdc2be6cf90f44.tar.bz2 Skyblocker-69eb16bb751e0717444189e15efdc2be6cf90f44.zip |
Fix waypoints not disappearing in boss
-rw-r--r-- | src/main/java/de/hysky/skyblocker/skyblock/dungeon/secrets/DungeonSecrets.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/dungeon/secrets/DungeonSecrets.java b/src/main/java/de/hysky/skyblocker/skyblock/dungeon/secrets/DungeonSecrets.java index d01305f9..96b4a7c9 100644 --- a/src/main/java/de/hysky/skyblocker/skyblock/dungeon/secrets/DungeonSecrets.java +++ b/src/main/java/de/hysky/skyblocker/skyblock/dungeon/secrets/DungeonSecrets.java @@ -377,6 +377,13 @@ public class DungeonSecrets { if (overlay && isCurrentRoomMatched()) { currentRoom.onChatMessage(text.getString()); } + + String message = text.getString(); + + if (message.equals("[BOSS] Bonzo: Gratz for making it this far, but I'm basically unbeatable.") || message.equals("[BOSS] Scarf: This is where the journey ends for you, Adventurers.") + || message.equals("[BOSS] The Professor: I was burdened with terrible news recently...") || message.equals("[BOSS] Thorn: Welcome Adventurers! I am Thorn, the Spirit! And host of the Vegan Trials!") + || message.equals("[BOSS] Livid: Welcome, you've arrived right on time. I am Livid, the Master of Shadows.") || message.equals("[BOSS] Sadan: So you made it all the way here... Now you wish to defy me? Sadan?!") + || message.equals("[BOSS] Maxor: WELL! WELL! WELL! LOOK WHO'S HERE!")) reset(); } /** @@ -474,7 +481,7 @@ public class DungeonSecrets { } /** - * Resets fields when leaving a dungeon. + * Resets fields when leaving a dungeon or entering boss. */ private static void reset() { mapEntrancePos = null; |