aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt
index f8d432613..50a3ff8f6 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt
@@ -68,9 +68,13 @@ object DungeonAPI {
"Time Elapsed: §.(?:(?<minutes>\\d+)m )?(?<seconds>\\d+)s",
)
+ /**
+ * REGEX-TEST: §f §r§cMaster Mode The Catacombs §r§8- §r§eFloor VII
+ * REGEX-TEST: §f §r§cThe Catacombs §r§8- §r§eFloor V
+ */
private val dungeonComplete by patternGroup.pattern(
"complete",
- "§.\\s+§.§.(?:The|Master Mode) Catacombs §.§.- §.§.(?:Floor )?(?<floor>M?[IV]{1,3}|Entrance)",
+ "§.\\s+§.§.(?:Master Mode )?The Catacombs §.§.- §.§.(?:Floor )?(?<floor>M?[IV]{1,3}|Entrance)",
)
private val dungeonRoomPattern by patternGroup.pattern(
"room",
@@ -145,7 +149,6 @@ object DungeonAPI {
group("roomId")
}
-
fun getColor(level: Int): String = when {
level >= 50 -> "§c§l"
level >= 45 -> "§c"