Skip to content

Commit

Permalink
add new rift lines
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 Dec 11, 2024
1 parent 18afe80 commit c9dbccc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,19 @@ object ScoreboardPattern {
"Protestors handled: §b\\d+\\/\\d+",
)

val timeSlicedPattern by riftSb.pattern(
"timesliced",
"§c§lTIME SLICED!",
)

/**
* REGEX-TEST: Big damage in: §d2m 59s
*/
val bigDamagePattern by riftSb.pattern(
"bigdamage",
"\\s*Big damage in: §d[\\w\\s]+",
)

private val carnivalSb = scoreboardGroup.group("carnival")

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ object UnknownLinesHandler {
SbPattern.cluesPattern,
SbPattern.barryProtestorsQuestlinePattern,
SbPattern.barryProtestorsHandledPattern,
SbPattern.timeSlicedPattern,
SbPattern.bigDamagePattern,
SbPattern.carnivalPattern,
SbPattern.carnivalTasksPattern,
SbPattern.carnivalTokensPattern,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ object ScoreboardEventRift : ScoreboardEvent() {
ScoreboardPattern.cluesPattern,
ScoreboardPattern.barryProtestorsQuestlinePattern,
ScoreboardPattern.barryProtestorsHandledPattern,
ScoreboardPattern.timeSlicedPattern,
ScoreboardPattern.bigDamagePattern,
)

override fun getDisplay() = patterns.allMatches(getSbLines())
Expand Down

0 comments on commit c9dbccc

Please sign in to comment.