diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/mob/MobFilter.kt | 12 |
1 files changed, 11 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 0f5c1b325..c539ccb31 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/mob/MobFilter.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/mob/MobFilter.kt @@ -54,9 +54,19 @@ object MobFilter { "(?:\\[\\w+(?<level>\\d+)\\] )?(?<corrupted>.Corrupted )?(?<name>[^ᛤ]*)(?: ᛤ)? [\\dBMk.,❤]+" ) val slayerNameFilter by repoGroup.pattern("filter.slayer", "^. (?<name>.*) (?<tier>[IV]+) \\d+.*") + + /** REGEX-TEST: ﴾ Storm ﴿ + * REGEX-TEST: ﴾ [Lv200] aMage Outlawa 70M/70M❤ ﴿ + * REGEX-TEST: ﴾ [Lv500] Magma Boss █████████████████████████ ﴿ + * REGEX-TEST: ﴾ [Lv200] Bladesoul 50M/50M❤ ﴿ + * REGEX-TEST: ﴾ [Lv300] Arachne 20,000/20,000❤ ﴿ + * REGEX-TEST: ﴾ [Lv500] Arachne 100k/100k❤ ﴿ + * REGEX-TEST: ﴾ [Lv200] Barbarian Duke X 70M/70M❤ ﴿ + * REGEX-TEST: ﴾ [Lv100] Endstone Protector 4.6M/5M❤ ﴿ + * */ val bossMobNameFilter by repoGroup.pattern( "filter.boss", - "^. (?:\\[\\w+(?<level>\\d+)\\] )?(?<name>[^ᛤ]*)(?: ᛤ)? (?:[\\d\\/BMk.,❤]+|█+) .$" + "^. (?:\\[Lv(?<level>\\d+)\\] )?(?<name>[^ᛤ\n]*)(?: ᛤ)?(?: [\\d\\/BMk.,❤]+|█+)? .$" ) val dungeonNameFilter by repoGroup.pattern( "filter.dungeon", |