diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt | 8 |
1 files changed, 6 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 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", |