forked from OverlayPlugin/cactbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.ts
683 lines (678 loc) · 24.2 KB
/
test.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
import outputs from '../../../../resources/outputs';
import { ConfigValue } from '../../../../resources/user_config';
import Util from '../../../../resources/util';
import ZoneId from '../../../../resources/zone_id';
import { RaidbossData } from '../../../../types/data';
import { LocaleText, TriggerSet } from '../../../../types/trigger';
const strikingDummyNames: LocaleText = {
en: 'Striking Dummy',
de: 'Trainingspuppe',
fr: 'Mannequin d\'entraînement',
ja: '木人',
cn: '木人',
ko: '나무인형',
};
export type ConfigIds = 'testTriggerOutput';
export interface Data extends RaidbossData {
triggerSetConfig: { [key in ConfigIds]: ConfigValue };
delayedDummyTimestampBefore: number;
delayedDummyTimestampAfter: number;
pokes: number;
watchingForCast: boolean;
}
const triggerSet: TriggerSet<Data> = {
id: 'CactbotTest',
zoneId: ZoneId.MiddleLaNoscea,
zoneLabel: {
en: 'Cactbot Test Triggers',
},
comments: {
en:
'Testing/troubleshooting triggers (See: <a href="https://github.com/OverlayPlugin/cactbot/blob/main/docs/FAQ-Troubleshooting.md#summerford-farms-raidboss-test">Summerford Farms Raidboss Test</a>)',
},
config: [
{
id: 'testTriggerOutput',
name: {
en: 'Output for "/echo cactbot test config"',
de: 'Ausgabe für "/echo cactbot test config"',
fr: 'Sortie pour "/echo cactbot test config"',
ja: '"/echo cactbot test config"のアウトプット',
cn: '输出 "/echo cactbot测试配置"',
ko: '"/echo cactbot 설정 테스트" 출력값',
},
type: 'string',
default: () => {
// Test default function.
return 'Unset Option';
},
},
],
timelineFile: 'test.txt',
// timeline here is additions to the timeline. They can
// be strings, or arrays of strings, or functions that
// take the same data object (including role and lang)
// that triggers do.
timeline: [
'alerttext "Final Sting" before 4 "oh no final sting in 4"',
'alarmtext "Death" before 3',
'alertall "Long Castbar" before 1 speak "voice" "long"',
(data) => {
if (data.role !== 'tank' && data.role !== 'healer')
return 'hideall "Super Tankbuster"';
return 'alarmtext "Super Tankbuster" before 2';
},
(data) => {
if (data.role !== 'dps')
return 'hideall "Pentacle Sac (DPS)"';
},
(data) => {
if (data.role !== 'healer')
return 'hideall "Almagest"';
return 'alarmtext "Almagest" before 0';
},
(data) => {
return [
`40 "Death To ${data.me}!!"`,
'hideall "Death"',
];
},
],
initData: () => {
return {
delayedDummyTimestampBefore: 0,
delayedDummyTimestampAfter: 0,
pokes: 0,
watchingForCast: false,
};
},
timelineStyles: [
{
regex: /^Death To/,
style: {
'color': 'red',
'font-family': 'Impact',
},
},
],
timelineTriggers: [
{
id: 'Test Angry Dummy',
regex: /Angry Dummy/,
beforeSeconds: 2,
infoText: (_data, _matches, output) => output.stack!(),
tts: (_data, _matches, output) => output.stackTTS!(),
outputStrings: {
stack: {
en: 'Stack for Angry Dummy',
de: 'Sammeln für Wütender Dummy',
fr: 'Packez-vous pour le Mannequin en colère',
ja: '怒る木人に集合',
cn: '木人处集合',
ko: '화난 나무인형에 집합',
},
stackTTS: {
en: 'Stack',
de: 'Sammeln',
fr: 'Packez-vous',
ja: '集合',
cn: '集合',
ko: '집합',
},
},
},
{
id: 'Test Delayed Dummy',
regex: /Angry Dummy/,
beforeSeconds: 0,
// Add in a huge delay to make it obvious the delay runs before promise.
delaySeconds: 10,
promise: (data) => {
data.delayedDummyTimestampBefore = Date.now();
return new Promise<void>((res) => {
window.setTimeout(() => {
data.delayedDummyTimestampAfter = Date.now();
res();
}, 3000);
});
},
infoText: (data, _matches, output) => {
const elapsed = data.delayedDummyTimestampAfter - data.delayedDummyTimestampBefore;
return output.elapsed!({ elapsed: elapsed });
},
outputStrings: {
elapsed: {
en: 'Elapsed ms: ${elapsed}',
de: 'Abgelaufene ms: ${elapsed}',
fr: 'Expiré ms: ${elapsed}',
ja: '経過時間:${elapsed}',
cn: '经过时间:${elapsed}',
ko: '경과 시간: ${elapsed}',
},
},
},
],
triggers: [
{
id: 'Test Poke',
type: 'GameLog',
netRegex: { line: 'You poke the striking dummy.*?', capture: false },
preRun: (data) => ++data.pokes,
infoText: (data, _matches, output) => output.poke!({ numPokes: data.pokes }),
outputStrings: {
poke: {
en: 'poke #${numPokes}',
de: 'stups #${numPokes}',
fr: 'poussée #${numPokes}',
ja: 'つつく #${numPokes}',
cn: '戳 #${numPokes}',
ko: '${numPokes}번 찌름',
},
},
},
{
id: 'Test Psych',
type: 'GameLog',
netRegex: { line: 'You psych yourself up alongside the striking dummy.*?', capture: false },
alertText: (_data, _matches, output) => output.text!(),
tts: {
en: 'psych',
de: 'auf gehts',
fr: 'motivation',
ja: '活を入れる',
cn: '激励',
ko: '힘내라!',
},
outputStrings: {
text: {
en: 'PSYCH!!!',
de: 'AUF GEHTS!!!',
fr: 'MOTIVATION !!!',
ja: '活を入れる!!',
cn: '激励!!',
ko: '힘내라!!',
},
},
},
{
id: 'Test Laugh',
type: 'GameLog',
netRegex: { line: 'You burst out laughing at the striking dummy.*?', capture: false },
suppressSeconds: 5,
alarmText: (_data, _matches, output) => output.text!(),
tts: {
en: 'hahahahaha',
de: 'hahahahaha',
fr: 'hahahahaha',
ja: 'ハハハハハ',
cn: '哈哈哈哈哈哈',
ko: '푸하하하하핳',
},
outputStrings: {
text: {
en: 'hahahahaha',
de: 'hahahahaha',
fr: 'hahahahaha',
ja: 'ハハハハハ',
cn: '2333333333',
ko: '푸하하하하핳',
},
},
},
{
id: 'Test Clap',
type: 'GameLog',
netRegex: { line: 'You clap for the striking dummy.*?', capture: false },
sound: '../../resources/sounds/freesound/power_up.webm',
soundVolume: 0.3,
tts: (_data, _matches, output) => output.text!(),
outputStrings: {
text: {
en: 'clapity clap',
de: 'klatschen',
fr: 'applaudissement',
ja: '拍手',
cn: '鼓掌',
ko: '박수 짝짝짝',
},
},
},
{
id: 'Test Lang',
type: 'GameLog',
// In game: /echo cactbot lang
netRegex: { line: 'cactbot lang.*?', code: Util.gameLogCodes.echo, capture: false },
infoText: (data, _matches, output) => output.text!({ lang: data.parserLang }),
outputStrings: {
text: {
en: 'Language: ${lang}',
de: 'Sprache: ${lang}',
fr: 'Langage: ${lang}',
ja: '言語:${lang}',
cn: '语言: ${lang}',
ko: '언어: ${lang}',
},
},
},
{
id: 'Test Response',
type: 'GameLog',
netRegex: { line: 'cactbot test response.*?', code: Util.gameLogCodes.echo, capture: false },
response: (_data, _matches, output) => {
// cactbot-builtin-response
output.responseOutputStrings = {
alarmOne: outputs.num1,
alertTwo: outputs.num2,
infoThree: outputs.num3,
ttsFour: outputs.num4,
};
return {
alarmText: output.alarmOne!(),
alertText: output.alertTwo!(),
infoText: output.infoThree!(),
tts: output.ttsFour!(),
};
},
},
{
id: 'Test Watch',
type: 'GameLog',
netRegex: { line: 'cactbot test watch.*?', code: Util.gameLogCodes.echo, capture: false },
promise: (data) =>
Util.watchCombatant({
names: [
data.me,
strikingDummyNames[data.lang] ?? strikingDummyNames['en'],
],
// 50 seconds
maxDuration: 50000,
}, (ret) => {
const me = ret.combatants.find((c) => c.Name === data.me);
const dummyName = strikingDummyNames[data.lang] ?? strikingDummyNames['en'];
const dummies = ret.combatants.filter((c) => c.Name === dummyName);
console.log(`test watch: me = ${me?.Name ?? 'undefined'}; ${dummies.length} dummies`);
if (me) {
for (const dummy of dummies) {
const distX = Math.abs(me.PosX - dummy.PosX);
const distY = Math.abs(me.PosY - dummy.PosY);
const dist = Math.hypot(distX, distY);
console.log(`test watch: distX = ${distX}; distY = ${distY}; dist = ${dist}`);
if (dist < 5)
return true;
}
return false;
}
return false;
}),
infoText: (_data, _matches, output) => output.close!(),
outputStrings: {
close: {
en: 'Dummy close!',
de: 'Puppe beendet!',
fr: 'Mannequin proche !',
ja: '木人に近すぎ!',
cn: '靠近木人!',
ko: '나무인형과 가까움!',
},
},
},
{
id: 'Test Config',
type: 'GameLog',
netRegex: { line: 'cactbot test config.*?', code: Util.gameLogCodes.echo, capture: false },
alertText: (data, _matches, output) => {
return output.text!({ value: data.triggerSetConfig.testTriggerOutput.toString() });
},
outputStrings: {
text: {
en: 'Config Value: ${value}',
de: 'Einstellungswert: ${value}',
fr: 'Valeur de configuration : ${value}',
ja: '設定: ${value}',
cn: '配置值: ${value}',
ko: '설정값: ${value}',
},
},
},
{
id: 'Test Combatant Cast Enable',
type: 'GameLog',
netRegex: {
line: 'cactbot test combatant cast.*?',
code: Util.gameLogCodes.echo,
capture: false,
},
run: (data) => {
data.watchingForCast = true;
},
},
{
id: 'Test Combatant Cast',
type: 'CombatantMemory',
netRegex: {
pair: [{ key: 'IsCasting1', value: '1' }, { key: 'CastBuffID', value: '.*?' }],
},
condition: (data) => data.watchingForCast,
infoText: (data, matches, output) => {
data.watchingForCast = false;
return output.casting!({ id: matches.id, spellId: matches.pairCastBuffID });
},
outputStrings: {
casting: {
en: 'ID ${id} is casting spell ID ${spellId}',
de: 'ID ${id} wirkt Zauber ID ${spellId}',
fr: 'ID ${id} incante le sort ID ${spellId}',
ja: 'ID ${id} スペルID ${spellId}を詠唱中',
cn: 'ID ${id} 正在施法 ID ${spellId}',
ko: 'ID ${id}: 스킬 ID ${spellId}를 시전하는 중',
},
},
},
{
id: 'Test Countdown',
type: 'Countdown',
netRegex: { result: '00' },
countdownSeconds: (_data, matches) => parseFloat(matches.countdownTime),
infoText: (_data, matches, output) =>
output.countdown!({ player: matches.name, seconds: matches.countdownTime }),
outputStrings: {
countdown: {
en: '${player} started ${seconds}s countdown',
// or inline: '${player} started {{CD}} countdown',
de: '${player} startet ${seconds}s countdown',
fr: '${player} a démarré un compte à rebours de ${seconds}s',
ja: '${player} が ${seconds} 秒のカウントダウンを開始しました',
cn: '${player} 开始倒计时 ${seconds}秒',
ko: '${player} ${seconds}초 초읽기를 시작했습니다',
},
},
},
{
id: 'Test Countdown Failed',
type: 'Countdown',
netRegex: { result: '(?!00).{2}' },
infoText: (_data, matches, output) =>
output.countdownFail!({ player: matches.name, code: matches.result }),
outputStrings: {
countdownFail: {
en: '${player} failed to start countdown (result code: ${code})',
de: '${player} konnte Countdown nicht starten (Ergebniscode: ${code})',
fr: '${player} a échoué à démarrer un compte à rebours (result code: ${code})',
ja: '${player} がカウントダウンを開始できませんでした (コード: ${code})',
cn: '${player} 开始倒计时失败 (结果代码: ${code})',
ko: '${player} 초읽기를 시작하지 못했습니다 (반환 코드: ${code})',
},
},
},
{
id: 'Test Countdown Cancel',
type: 'CountdownCancel',
netRegex: {},
infoText: (_data, matches, output) => output.countdownCancel!({ player: matches.name }),
outputStrings: {
countdownCancel: {
en: '${player} cancelled countdown',
de: '${player} hat den Countdown abgebrochen',
fr: '${player} a annulé le compte à rebours',
ja: '${player} がカウントダウンをキャンセルしました',
cn: '${player} 取消倒计时',
ko: '${player} 초읽기를 취소했습니다',
},
},
},
{
id: 'Test OutputStrings',
type: 'GameLog',
netRegex: {
line: 'cactbot test outputStrings',
code: Util.gameLogCodes.echo,
capture: false,
},
infoText: (data, _matches, output) => {
// TODO: This doesn't work unless you're in a party, because party tracker is empty.
// OverlayPlugin should probably always return the current player as being in the party
// regardless of the rest of the party composition.
return output.text!({ player: data.party.member(data.me) });
},
outputStrings: {
text: {
en: 'player = ${player}, player.job = ${player.job}, player.bogus = ${player.bogus}',
de: 'player = ${player}, player.job = ${player.job}, player.bogus = ${player.bogus}',
fr: 'player = ${player}, player.job = ${player.job}, player.bogus = ${player.bogus}',
ja: 'player = ${player}, player.job = ${player.job}, player.bogus = ${player.bogus}',
cn: 'player = ${player}, player.job = ${player.job}, player.bogus = ${player.bogus}',
ko: 'player = ${player}, player.job = ${player.job}, player.bogus = ${player.bogus}',
},
},
},
{
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) => {
return output.text!();
},
outputStrings: {
text: {
en: 'Trigger countdown test',
ko: '트리거 카운트다운 테스트',
},
},
},
],
timelineReplace: [
{
locale: 'de',
missingTranslations: true,
replaceSync: {
'You bid farewell to the striking dummy': 'Du winkst der Trainingspuppe zum Abschied zu',
'You bow courteously to the striking dummy':
'Du verbeugst dich hochachtungsvoll vor der Trainingspuppe',
'test sync': 'test sync',
'You burst out laughing at the striking dummy': 'Du lachst herzlich mit der Trainingspuppe',
'cactbot lang': 'cactbot sprache',
'cactbot test response': 'cactbot test antwort',
'cactbot test watch': 'cactbot test beobachten',
'cactbot test config': 'cactbot test konfig',
'cactbot test outputStrings': 'cactbot test outputStrings',
'cactbot test combatant cast': 'cactbot test gegner wirken',
'testNetRegexTimeline': 'testNetRegexTimeline',
'You clap for the striking dummy': 'Du klatschst begeistert Beifall für die Trainingspuppe',
'You psych yourself up alongside the striking dummy':
'Du willst wahren Kampfgeist in der Trainingspuppe entfachen',
'You poke the striking dummy': 'Du stupst die Trainingspuppe an',
},
replaceText: {
'Final Sting': 'Schlussstich',
'Almagest': 'Almagest',
'Angry Dummy': 'Wütender Dummy',
'Long Castbar': 'Langer Zauberbalken',
'Dummy Stands Still': 'Dummy still stehen',
'Death': 'Tot',
'Super Tankbuster': 'Super Tankbuster',
'Pentacle Sac': 'Pentacle Sac',
'Engage': 'Start!',
'Two': 'Zwei',
'(?<! )Three': 'Drei',
'Four': 'Vier',
'Six': 'Sechs',
'Ten(?!d)': 'Zehn',
'Fifteen': 'Fünfzehn',
'Force Jump Three': 'Gewaltsam auf Drei Springen',
'Invisible': 'Unsichtbar',
},
},
{
locale: 'fr',
missingTranslations: true,
replaceSync: {
'cactbot lang': 'cactbot langue',
'cactbot test response': 'cactbot test de réponse',
'cactbot test watch': 'cactbot test d\'observation',
'cactbot test config': 'test de configuration de cactbot',
'cactbot test combatant cast': 'test d\'incantation d\'un combatant',
'cactbot test outputStrings': 'cactbot test outputStrings',
'testNetRegexTimeline': 'testNetRegexTimeline',
'You bid farewell to the striking dummy':
'Vous faites vos adieux au mannequin d\'entraînement',
'You bow courteously to the striking dummy':
'Vous vous inclinez devant le mannequin d\'entraînement',
'You burst out laughing at the striking dummy':
'Vous vous esclaffez devant le mannequin d\'entraînement',
'You clap for the striking dummy': 'Vous applaudissez le mannequin d\'entraînement',
'You poke the striking dummy':
'Vous touchez légèrement le mannequin d\'entraînement du doigt',
'You psych yourself up alongside the striking dummy':
'Vous vous motivez devant le mannequin d\'entraînement',
'test sync': 'test sync',
},
replaceText: {
'Almagest': 'Almageste',
'Angry Dummy': 'Mannequin en colère',
'Death': 'Mort',
'Death To': 'Mort sur',
'Dummy Stands Still': 'Mannequin immobile',
'Engage': 'À l\'attaque',
'Final Sting': 'Dard final',
'Long Castbar': 'Longue barre de lancement',
'Pentacle Sac': 'Pentacle Sac',
'Super Tankbuster': 'Super Tank buster',
'Two': 'Deux',
'(?<! )Three': 'Trois',
'Four': 'Quatre',
'Six': 'Six',
'Ten': 'Dix',
'Fifteen': 'Quinze',
'Force Jump Three': 'Saut forcé à trois',
'Invisible': 'Invisible',
},
},
{
locale: 'ja',
missingTranslations: true,
replaceSync: {
'You bid farewell to the striking dummy': '.*は木人に別れの挨拶をした',
'You bow courteously to the striking dummy': '.*は木人にお辞儀した',
'test sync': 'test sync',
'testNetRegexTimeline': 'testNetRegexTimeline',
'You burst out laughing at the striking dummy': '.*は木人のことを大笑いした',
'cactbot lang': 'cactbot言語',
'cactbot test response': 'cactbotレスポンステスト',
'cactbot test watch': 'cactbot探知テスト',
'cactbot test config': 'cactbot設定テスト',
'cactbot test combatant cast': 'cactbotターゲットキャストテスト',
'cactbot test outputStrings': 'cactbot outputStrings テスト',
'You clap for the striking dummy': '.*は木人に拍手した',
'You psych yourself up alongside the striking dummy': '.*は木人に活を入れた',
'You poke the striking dummy': '.*は木人をつついた',
},
replaceText: {
'Almagest': 'アルマゲスト',
'Angry Dummy': '怒る木人',
'Death': '死',
'Death To': '死の宣告',
'Dummy Stands Still': '木人はじっとしている',
'Engage': '戦闘開始',
'Final Sting': 'ファイナルスピア',
'Long Castbar': '長い長い詠唱バー',
'Pentacle Sac': 'ナイサイ',
'Super Tankbuster': 'スーパータンクバスター',
'Two': '二',
'(?<! )Three': '三',
'Four': '四',
'Six': '六',
'Ten': '十',
'Fifteen': '十五',
'Force Jump Three': '三に強制ジャンプ',
'Invisible': '見えないはず',
},
},
{
locale: 'cn',
missingTranslations: true,
replaceSync: {
'You bid farewell to the striking dummy': '.*向木人告别',
'You bow courteously to the striking dummy': '.*恭敬地对木人行礼',
'test sync': 'test sync',
'testNetRegexTimeline': 'testNetRegexTimeline',
'You burst out laughing at the striking dummy': '.*看着木人高声大笑',
'cactbot lang': 'cactbot语言',
'cactbot test combatant cast': 'cactbot测试战斗员施法',
'cactbot test config': 'cactbot测试配置',
'cactbot test outputStrings': 'cactbot测试输出字符串',
'cactbot test response': 'cactbot响应测试',
'cactbot test watch': 'cactbot探测测试',
'You clap for the striking dummy': '.*向木人送上掌声',
'You psych yourself up alongside the striking dummy': '.*激励木人',
'You poke the striking dummy': '.*用手指戳向木人',
},
replaceText: {
'Final Sting': '终极针',
'Almagest': '至高无上',
'Angry Dummy': '愤怒的木人',
'Long Castbar': '长时间咏唱',
'Dummy Stands Still': '木人8动了',
'Super Tankbuster': '超级无敌转圈死刑',
'Death To': '嗝屁攻击:',
'Death': '嗝屁',
'Engage': '战斗开始',
'Pentacle Sac': '传毒',
'Two': '贰',
'(?<! )Three': '叁',
'Four': '肆',
'Six': '陆',
'Ten': '拾',
'Fifteen': '拾伍',
'Force Jump Three': '强制跳转叁',
'Invisible': '不可见',
},
},
{
locale: 'ko',
replaceSync: {
'You bid farewell to the striking dummy': '.*나무인형에게 작별 인사를 합니다',
'You bow courteously to the striking dummy': '.*나무인형에게 공손하게 인사합니다',
'test sync': '테스트 싱크',
'testNetRegexTimeline': 'testNetRegexTimeline',
'You burst out laughing at the striking dummy': '.*나무인형을 보고 폭소를 터뜨립니다',
'cactbot test config': 'cactbot 설정 테스트',
'cactbot lang': 'cactbot 언어',
'cactbot test response': 'cactbot 응답 테스트',
'cactbot test watch': 'cactbot 탐지 테스트',
'cactbot test combatant cast': 'cactbot 스킬 시전 테스트',
'cactbot test outputStrings': 'cactbot outputStrings 테스트',
'cactbot test trigger countdown': 'cactbot 트리거 카운트다운 테스트',
'You clap for the striking dummy': '.*나무인형에게 박수를 보냅니다',
'You psych yourself up alongside the striking dummy': '.*나무인형에게 힘을 불어넣습니다',
'You poke the striking dummy': '.*나무인형을 쿡쿡 찌릅니다',
},
replaceText: {
'Final Sting': '마지막 벌침',
'Almagest': '알마게스트',
'Angry Dummy': '화난 나무인형',
'Long Castbar': '긴 시전바',
'Dummy Stands Still': '나무인형이 아직 살아있다',
'Death': '데스',
'Super Tankbuster': '초강력 탱크버스터',
'Pentacle Sac': 'Pentacle Sac',
'Engage': '시작',
'Two': '2',
'(?<! )Three': '3',
'Four': '4',
'Six': '6',
'Ten': '10',
'Fifteen': '15',
'Force Jump Three': '3으로 돌아가기',
'Invisible': '타임라인 숨기기',
},
},
],
};
export default triggerSet;