Skip to content

Commit

Permalink
Fix: Voidgloom Summons pattern (hannibal002#1964)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsEmpa authored May 31, 2024
1 parent d8b0d4b commit 063135f
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 063135f

Please sign in to comment.