Skip to content

Commit 4bb96f6

Browse files
authored
lint: add countdownSeconds to ordering rules (#943)
1 parent ca9edf4 commit 4bb96f6

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

eslint/cactbot-trigger-property-order.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ module.exports = {
4646
'delaySeconds',
4747
'durationSeconds',
4848
'suppressSeconds',
49+
'countdownSeconds',
4950
'promise',
5051
'sound',
5152
'soundVolume',

ui/raidboss/data/07-dt/trial/doomtrain.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,8 @@ const triggerSet: TriggerSet<Data> = {
323323
type: 'Ability',
324324
netRegex: { id: 'B258', capture: false },
325325
durationSeconds: 8,
326-
countdownSeconds: 8,
327326
suppressSeconds: 9999,
327+
countdownSeconds: 8,
328328
infoText: (_data, _matches, output) => output.south!(),
329329
outputStrings: {
330330
south: Outputs.south,
@@ -376,14 +376,14 @@ const triggerSet: TriggerSet<Data> = {
376376
return 10.5;
377377
return 13.5;
378378
},
379-
countdownSeconds: (data) => {
379+
suppressSeconds: (data) => {
380380
if (data.hailMoveCount === 2)
381381
return 7.5;
382382
if (data.hailMoveCount === 3)
383383
return 10.5;
384384
return 13.5;
385385
},
386-
suppressSeconds: (data) => {
386+
countdownSeconds: (data) => {
387387
if (data.hailMoveCount === 2)
388388
return 7.5;
389389
if (data.hailMoveCount === 3)

0 commit comments

Comments
 (0)