Skip to content

Commit

Permalink
add test trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
wexxlee committed Jan 5, 2025
1 parent 68d3c83 commit feaffcf
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions ui/raidboss/data/00-misc/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,26 @@ const triggerSet: TriggerSet<Data> = {
},
},
},
{
id: 'Test Trigger Countdown',
type: 'GameLog',
netRegex: {
line: 'cactbot test trigger countdown',
code: Util.gameLogCodes.echo,
capture: false,
},
delaySeconds: 2,
durationSeconds: 7, // should cause countdown to be displayed at 0.0 for 2 seconds.
countdownSeconds: 5,
infoText: (data, _matches, output) => {

Check warning on line 456 in ui/raidboss/data/00-misc/test.ts

View workflow job for this annotation

GitHub Actions / eslint

'data' is defined but never used. Allowed unused args must match /^_\w?/u
return output.text!();
},
outputStrings: {
text: {
en: 'Trigger countdown test',
},
},
},
],
timelineReplace: [
{
Expand Down

0 comments on commit feaffcf

Please sign in to comment.