aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt b/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt
index 4680b04be..c656d0bef 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt
@@ -16,8 +16,8 @@ import at.hannibal2.skyhanni.utils.LorenzColor
import at.hannibal2.skyhanni.utils.LorenzUtils
import at.hannibal2.skyhanni.utils.LorenzUtils.baseMaxHealth
import at.hannibal2.skyhanni.utils.NumberUtil
-import at.hannibal2.skyhanni.utils.RenderUtils.renderStrings
import at.hannibal2.skyhanni.utils.RegexUtils.matchMatcher
+import at.hannibal2.skyhanni.utils.RenderUtils.renderStrings
import at.hannibal2.skyhanni.utils.getLorenzVec
import at.hannibal2.skyhanni.utils.repopatterns.RepoPattern
import net.minecraft.entity.EntityLiving
@@ -49,9 +49,14 @@ class SummoningMobManager {
"health",
"§a§o(.+)'s (.+)§r §[ae]([\\dkm]+)§c❤"
)
- private val seraphRecallPattern by patternGroup.pattern( //§cThe Seraph recalled your 3 summoned allies!
+
+ /**
+ * REGEX-TEST: §cThe Seraph recalled your 3 summoned allies!
+ * REGEX-TEST: §cThe Seraph recalled your 10 summoned allies!
+ */
+ private val seraphRecallPattern by patternGroup.pattern(
"seraphrecall",
- "§cThe Seraph recalled your (\\d) summoned allies!"
+ "§cThe Seraph recalled your (\\d+) summoned allies!"
)
@SubscribeEvent