Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: J10a1n15 <45315647+j10a1n15@users.noreply.github.com>
  • Loading branch information
j10a1n15 committed Sep 19, 2024
1 parent 17f900c commit 0f83f97
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0f83f97

Please sign in to comment.