From ae23866e8cd6264f6c55e6891fcfb9e748f91152 Mon Sep 17 00:00:00 2001 From: J10a1n15 <45315647+j10a1n15@users.noreply.github.com> Date: Thu, 19 Sep 2024 20:40:10 +0200 Subject: fix (#2545) Signed-off-by: J10a1n15 <45315647+j10a1n15@users.noreply.github.com> --- .../skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni') 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 0324da855..fb014cc29 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 @@ -246,13 +246,17 @@ object ScoreboardPattern { "raffleuseless", "^(Find tickets on the|ground and bring them|to the raffle box)$", ) + + /** + * REGEX-TEST: Tickets: §a8 §7(17.4%) + */ val raffleTicketsPattern by miningSb.pattern( "raffletickets", - "^Tickets: §a\\d+ §7\\(\\d{1,3}\\.\\d%\\)$", + "Tickets: §a\\d+ §7\\(\\d+(\\.\\d)?%\\)", ) val rafflePoolPattern by miningSb.pattern( "rafflepool", - "^Pool: §6\\d+§8/500$", + "Pool: §6\\d+", ) val mithrilUselessPattern by miningSb.pattern( "mithriluseless", -- cgit