aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data
diff options
context:
space:
mode:
authorThunderblade73 <85900443+Thunderblade73@users.noreply.github.com>2024-05-24 13:42:43 +0200
committerGitHub <noreply@github.com>2024-05-24 13:42:43 +0200
commitcb6869cb79cb4f5679eb90f9120c716b77a9078e (patch)
tree2bd3e0633bb4296f39b5f09dc6468f8a0652f9b9 /src/main/java/at/hannibal2/skyhanni/data
parenta425f95998893cf2dbeca4deb80df3a9dfb1c466 (diff)
downloadskyhanni-cb6869cb79cb4f5679eb90f9120c716b77a9078e.tar.gz
skyhanni-cb6869cb79cb4f5679eb90f9120c716b77a9078e.tar.bz2
skyhanni-cb6869cb79cb4f5679eb90f9120c716b77a9078e.zip
Fix: MobFilter Boss pattern (#1857)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/mob/MobFilter.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/mob/MobFilter.kt b/src/main/java/at/hannibal2/skyhanni/data/mob/MobFilter.kt
index c539ccb31..f752fac46 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/mob/MobFilter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/mob/MobFilter.kt
@@ -63,10 +63,11 @@ object MobFilter {
* REGEX-TEST: ﴾ [Lv500] Arachne 100k/100k❤ ﴿
* REGEX-TEST: ﴾ [Lv200] Barbarian Duke X 70M/70M❤ ﴿
* REGEX-TEST: ﴾ [Lv100] Endstone Protector 4.6M/5M❤ ﴿
+ * REGEX-TEST: ﴾ [Lv400] Thunder 29M/35M❤ ﴿
* */
val bossMobNameFilter by repoGroup.pattern(
"filter.boss",
- "^. (?:\\[Lv(?<level>\\d+)\\] )?(?<name>[^ᛤ\n]*)(?: ᛤ)?(?: [\\d\\/BMk.,❤]+|█+)? .$"
+ "^. (?:\\[Lv(?<level>\\d+)\\] )?(?<name>[^ᛤ\n]*?)(?: ᛤ)?(?: [\\d\\/BMk.,❤]+| █+)? .$"
)
val dungeonNameFilter by repoGroup.pattern(
"filter.dungeon",