aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt
index 1c6fb4282..0324da855 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt
@@ -274,8 +274,13 @@ object ScoreboardPattern {
"uselessgoblin",
"^§7Kill goblins!$",
)
+
+ /**
+ * REGEX-TEST: Remaining: §a1 goblin
+ * REGEX-TEST: Remaining: §a2 goblins
+ */
val remainingGoblinPattern by miningSb.pattern(
- "remaininggoblin", "^Remaining: §a\\d+ goblins$",
+ "remaininggoblin", "^Remaining: §a\\d+ goblins?$",
)
val yourGoblinKillsPattern by miningSb.pattern(
"yourgoblin", "^Your kills: §c\\d+ ☠( §a\\(\\+\\d+\\))?$",
@@ -303,9 +308,13 @@ object ScoreboardPattern {
"magmaboss",
"^§7Boss: §[c6e]\\d{1,3}%$",
)
+
+ /**
+ * REGEX-TEST: §7Damage Soaked:§629,446 §e(+271
+ */
val damageSoakedPattern by combatSb.pattern(
"damagesoaked",
- "^§7Damage Soaked:",
+ "^§7Damage Soaked:.*",
)
val killMagmasPattern by combatSb.pattern(
"killmagmas",