forked from Bluefissure/cactbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheureka_hydatos.js
839 lines (838 loc) · 23 KB
/
eureka_hydatos.js
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
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
'use strict';
[{
zoneRegex: /(Eureka Hydatos|Unknown Zone \(33B\))/,
timelineFile: 'eureka_hydatos.txt',
resetWhenOutOfCombat: false,
timelineTriggers: [
{
id: 'BA Art Geas',
regex: /Legendary Geas/,
beforeSeconds: 0,
infoText: {
en: 'Stop Moving',
de: 'Stehenbleiben',
},
},
{
id: 'BA Raiden Levinwhorl',
regex: /Levinwhorl/,
regexDe: /Wirbelsturm/,
beforeSeconds: 10,
alertText: {
en: 'Shields and Mitigation',
de: 'Schilde und Abschwächungen',
},
},
{
id: 'BA AV Eurekan Potion',
regex: /Explosive Impulse/,
regexDe: /Explosiver Impuls/,
beforeSeconds: 10,
suppressSeconds: 60,
infoText: {
en: 'Pop Eurekan Potions',
de: 'Eureka-Heiltränke benutzen',
},
},
{
id: 'BA Ozma Black Hole Warning',
regex: /Black Hole/,
regexDe: /Schwarzes Loch/,
beforeSeconds: 12,
infoText: {
en: 'Black Hole Soon',
de: 'Schwarzes Loch',
},
},
],
triggers: [
{
id: 'Eureka Hydatos Falling Asleep',
regex: /00:0039:5 minutes have elapsed since your last activity./,
regexDe: /00:0039:Seit deiner letzten Aktivität sind 5 Minuten vergangen./,
regexFr: /00:0039:Votre personnage est inactif depuis 5 minutes/,
alarmText: {
en: 'WAKE UP',
de: 'AUFWACHEN',
fr: 'REVEILLES TOI',
},
},
{
id: 'Eureka Saved By Rememberance',
regex: /00:0a39:The memories of heroes past live on again/,
regexDe: /00:0a39:Das Vermächtnis vergangener Helden lebt von Neuem auf!/,
sound: 'Long',
},
{
id: 'BA Seal',
regex: /00:0839:.*will be sealed off/,
regexDe: /00:0839:.*bis sich der Zugang/,
run: function(data) {
data.sealed = true;
},
},
{
id: 'BA Clear Data',
regex: /00:0839:.*is no longer sealed/,
regexDe: /00:0839:.*öffnet sich wieder/,
run: function(data) {
delete data.side;
delete data.mythcall;
delete data.clones;
delete data.bracelets;
delete data.sealed;
delete data.blackHoleCount;
delete data.seenHostile;
},
},
{
id: 'BA West Side',
regex: / 15:\y{ObjectId}:Art:3956:[^:]*:\y{ObjectId}:[^:]/,
suppressSeconds: 1000,
run: function(data) {
data.side = 'west';
},
},
{
id: 'BA East Side',
regex: / 15:\y{ObjectId}:Owain:3957:[^:]*:\y{ObjectId}:[^:]/,
suppressSeconds: 1000,
run: function(data) {
data.side = 'east';
},
},
{
id: 'BA Art Mythcall',
regex: / 14:3927:Art starts using (?:Mythcall|Unknown_3927)/,
regexDe: / 14:3927:Art starts using (?:Mythenruf|Unknown_3927)/,
condition: function(data) {
return data.side == 'west';
},
run: function(data) {
data.mythcall = true;
},
},
{
id: 'BA Art Tankbuster',
regex: / 14:3934:Art starts using (?:Thricecull|Unknown_3934) on (\y{Name})/,
regexDe: / 14:3934:Art starts using (?:Dreifachlanze|Unknown_3934) on (\y{Name})/,
condition: function(data) {
return data.side == 'west';
},
alarmText: function(data, matches) {
if (matches[1] == data.me) {
return {
en: 'Tank Buster on YOU',
de: 'Tankbuster auf DIR',
fr: 'Tankbuster sur VOUS',
};
}
if (data.role == 'healer') {
return {
en: 'Buster on ' + data.ShortName(matches[1]),
de: 'Tankbuster auf ' + data.ShortName(matches[1]),
fr: 'Tankbuster sur ' + data.ShortName(matches[1]),
};
}
},
tts: function(data, matches) {
if (matches[1] == data.me) {
return {
en: 'buster',
de: 'basta',
fr: 'tankbuster',
};
}
},
},
{
id: 'BA Art Orb Marker',
regex: / 1B:........:(\y{Name}):....:....:005C:/,
condition: function(data) {
return data.side == 'west';
},
alarmText: function(data, matches) {
if (data.me != matches[1])
return;
return {
en: 'Orb on YOU',
};
},
alertText: function(data, matches) {
if (data.me == matches[1])
return;
return {
en: 'Away From Orb Marker',
de: 'Weg von Orb-Marker',
};
},
},
{
id: 'BA Art Piercing Dark Marker',
regex: / 1B:........:(\y{Name}):....:....:008B:/,
condition: function(data, matches) {
return data.side == 'west' && data.me == matches[1];
},
alertText: {
en: 'Spread Marker',
de: 'Marker verteilen',
},
},
{
id: 'BA Art Legendcarver',
regex: / 14:3928:Art starts using (?:Legendcarver|Unknown_3928)/,
regexDe: / 14:3928:Art starts using (?:Legendenschnitzer|Unknown_3928)/,
condition: function(data) {
return data.side == 'west';
},
infoText: {
en: 'Out',
de: 'Raus',
},
},
{
id: 'BA Art Legendspinner',
regex: / 14:3929:Art starts using (?:Legendspinner|Unknown_3929)/,
regexDe: / 14:3929:Art starts using (?:Legendenspinner|Unknown_3929)/,
condition: function(data) {
return data.side == 'west';
},
infoText: {
en: 'In',
de: 'Rein',
},
},
{
id: 'BA Art Mythcall Legendcarver',
regex: / 14:3928:Art starts using (?:Legendcarver|Unknown_3928)/,
regexDe: / 14:3928:Art starts using (?:Legendenschnitzer|Unknown_3928)/,
condition: function(data) {
return data.side == 'west' && data.mythcall;
},
delaySeconds: 3.5,
infoText: {
en: 'Under Boss',
de: 'Unter Boss',
},
},
{
id: 'BA Art Mythcall Legendspinner',
regex: / 14:3929:Art starts using (?:Legendspinner|Unknown_3929)/,
regexDe: / 14:3929:Art starts using (?:Legendenspinner|Unknown_3929)/,
condition: function(data) {
return data.side == 'west' && data.mythcall;
},
delaySeconds: 3.5,
infoText: {
en: 'Under Spears',
de: 'Unter Speere',
},
},
{
id: 'BA Owain Tankbuster',
regex: / 14:3945:Owain starts using (?:Thricecull|Unknown_3945) on (\y{Name})/,
regexDe: / 14:3945:Owain starts using (?:Dreifachlanze|Unknown_3945) on (\y{Name})/,
condition: function(data) {
return data.side == 'west';
},
alarmText: function(data, matches) {
if (matches[1] == data.me) {
return {
en: 'Tank Buster on YOU',
de: 'Tankbuster auf DIR',
fr: 'Tankbuster sur VOUS',
};
}
if (data.role == 'healer') {
return {
en: 'Buster on ' + data.ShortName(matches[1]),
de: 'Tankbuster auf ' + data.ShortName(matches[1]),
fr: 'Tankbuster sur ' + data.ShortName(matches[1]),
};
}
},
tts: function(data, matches) {
if (matches[1] == data.me) {
return {
en: 'buster',
de: 'basta',
fr: 'tankbuster',
};
}
},
},
{
id: 'BA Owain Piercing Light Marker',
regex: / 1B:........:(\y{Name}):....:....:008B:/,
condition: function(data, matches) {
return data.side == 'east' && data.me == matches[1];
},
infoText: {
en: 'Spread Marker',
de: 'Marker verteilen',
},
},
{
id: 'BA Owain Dorito Stack',
regex: / 1B:........:(\y{Name}):....:....:008B:/,
condition: function(data, matches) {
return data.side == 'east' && data.me == matches[1];
},
alarmText: {
en: 'Dorito Stack',
de: 'Dorito Stack',
},
},
{
id: 'BA Owain Fire Element',
regex: / 00:0044:Munderg, turn flesh to ash/,
regexDe: / 00:0044:Munderg, entfessele den Flammeneid/,
condition: function(data, matches) {
return data.side == 'east';
},
alertText: {
en: 'Get to Ice',
de: 'Geh zum Eis',
},
infoText: {
en: 'Switch Magia',
de: 'Magia-Brett drehen',
},
},
{
id: 'BA Owain Ice Element',
regex: / 00:0044:Munderg, turn blood to ice/,
regexDe: / 00:0044:Munderg, das Eis der Ewigkeit soll sie für Äonen bannen/,
condition: function(data, matches) {
return data.side == 'east';
},
alertText: {
en: 'Get to Fire',
de: 'Geh zum Feuer',
},
infoText: {
en: 'Switch Magia',
de: 'Magia-Brett drehen',
},
},
{
id: 'BA Owain Ivory Palm',
regex: / 16:\y{ObjectId}:Ivory Palm:3941:[^:]*:y{ObjectId}:(\y{Name}):/,
condition: function(data, matches) {
return data.side == 'east' && data.me == matches[1];
},
alarmText: {
en: 'Dorito Stack',
de: 'Dorito Stack',
},
},
{
id: 'BA Owain Pitfall',
regex: / 14:394D:Owain starts using (?:Pitfall|Unknown_394D)/,
regexDe: / 14:394D:Owain starts using (?:Berstender Boden|Unknown_394D)/,
condition: function(data) {
return data.side == 'east';
},
alertText: {
en: 'Get Out To Edges',
de: 'An den Rand',
},
},
{
id: 'BA Silence Centaur',
regex: / 14:3BFE:Arsenal Centaur starts using (?:Berserk|Unknown_3Bfe)/,
regexDe: / 14:3BFE:Arsenal-Zentaur starts using (?:Berserker|Unknown_3Bfe)/,
condition: function(data) {
return data.job == 'WHM' || data.job == 'BLM';
},
alertText: {
en: 'Sleep Centaur',
de: 'Zentaur einschläfern',
},
},
{
id: 'BA Raiden Tankbuster',
regex: / 14:387B:Raiden starts using (?:Shingan|Unknown_387B) on (\y{Name})/,
regexDe: / 14:387B:Raiden starts using (?:Betäubungsschlag|Unknown_387B) on (\y{Name})/,
condition: function(data) {
return data.sealed;
},
alertText: function(data, matches) {
if (matches[1] == data.me) {
return {
en: 'Tank Buster on YOU',
de: 'Tankbuster auf DIR',
fr: 'Tankbuster sur VOUS',
};
}
if (data.role == 'healer') {
return {
en: 'Buster on ' + data.ShortName(matches[1]),
de: 'Tankbuster auf ' + data.ShortName(matches[1]),
fr: 'Tankbuster sur ' + data.ShortName(matches[1]),
};
}
},
tts: function(data, matches) {
if (matches[1] == data.me) {
return {
en: 'buster',
de: 'basta',
fr: 'tankbuster',
};
}
},
},
{
id: 'BA Raiden Lancing Bolt',
regex: / 1B:........:(\y{Name}):....:....:008A:/,
condition: function(data, matches) {
return data.sealed && data.me == matches[1];
},
alarmText: {
en: 'Spread',
de: 'Verteilen',
},
},
{
id: 'BA Raiden Ame',
regex: / 14:3868:Raiden starts using/,
condition: function(data) {
return data.sealed;
},
alertText: {
en: 'Get Far Away',
de: 'Weit weg gehen',
},
},
{
id: 'BA Raiden Whirling',
regex: / 14:386A:Raiden starts using (?:Whirling Zantetsuken|Unknown_386A)/,
regexDe: / 14:386A:Raiden starts using (?:Sen-Zantetsuken|Unknown_386A)/,
condition: function(data) {
return data.sealed;
},
alertText: {
en: 'Under',
de: 'Drunter',
},
},
{
id: 'BA Raiden For Honor',
regex: / 14:387C:Raiden starts using (?:For Honor|Unknown_387C)/,
regexDe: / 14:387C:Raiden starts using (?:Hieb der Gefallenen|Unknown_387C)/,
condition: function(data) {
return data.sealed;
},
alertText: {
en: 'Get Out',
de: 'Raus da',
},
},
{
id: 'BA Raiden Lateral 1',
regex: / 14:386C:Raiden starts using (?:Lateral Zantetsuken|Unknown_386C) on (\y{Name})/,
regexDe: / 14:386C:Raiden starts using (?:Kata-Zantetsuken|Unknown_386C) on (\y{Name})/,
condition: function(data) {
return data.sealed;
},
alertText: {
en: 'LEFT',
de: 'LINKS',
},
},
{
id: 'BA Raiden Lateral 2',
regex: / 14:386B:Raiden starts using (?:Lateral Zantetsuken|Unknown_386B) on (\y{Name})/,
regexDe: / 14:386B:Raiden starts using (?:Kata-Zantetsuken|Unknown_386B) on (\y{Name})/,
condition: function(data) {
return data.sealed;
},
alertText: {
en: 'RIGHT',
de: 'RECHTS',
},
},
{
id: 'BA AV Tankbuster',
regex: / 14:379A:Absolute Virtue starts using (?:Auroral Wind|Unknown_379A) on (\y{Name})/,
regexDe: / 14:379A:Absolute Tugend starts using (?:Aurorawind|Unknown_379A) on (\y{Name})/,
condition: function(data) {
return data.sealed;
},
alertText: function(data, matches) {
if (matches[1] != data.me)
return;
return {
en: 'Tank Buster on YOU',
de: 'Tankbuster auf DIR',
fr: 'Tankbuster sur VOUS',
};
},
infoText: function(data, matches) {
if (matches[1] == data.me)
return;
return {
en: 'Away from ' + data.ShortName(matches[1]),
de: 'Weg von ' + data.ShortName(matches[1]),
};
},
},
{
id: 'BA AV Eidos Dark Bracelets',
regex: /14:3787:Absolute Virtue starts using (?:Eidos|Unknown_3787)/,
regexDe: /14:3787:Absolute Tugend starts using (?:Sarva|Unknown_3787)/,
condition: function(data) {
return data.sealed;
},
infoText: {
en: 'Dark Bracelets',
de: 'Dunkle Armreife',
},
run: function(data) {
data.bracelets = 'dark';
},
},
{
id: 'BA AV Eidos Light Bracelets',
regex: /14:3786:Absolute Virtue starts using (?:Eidos|Unknown_3786)/,
regexDe: /14:3786:Absolute Tugend starts using (?:Sarva|Unknown_3786)/,
condition: function(data) {
return data.sealed;
},
infoText: {
en: 'Light Bracelets',
de: 'Helle Armreife',
},
run: function(data) {
data.bracelets = 'light';
},
},
{
id: 'BA AV Eidos Hostile Aspect',
regex: /14:378B:Absolute Virtue starts using (?:Hostile Aspect|Unknown_378B)/,
regexDe: /14:378B:Absolute Tugend starts using (?:Polarisierte Welle|Unknown_378B)/,
condition: function(data) {
return data.sealed;
},
alertText: function(data) {
if (!data.seenHostile) {
if (data.bracelets == 'light') {
return {
en: 'Away From Light Circles',
de: 'Weg von hellen Kreisen',
};
}
if (data.bracelets == 'dark') {
return {
en: 'Away From Dark Circles',
de: 'Weg von dunklen Kreisen',
};
}
return;
}
if (data.bracelets == 'light') {
return {
en: 'Stand By Dark Circles',
de: 'Zu den dunklen Kreisen',
};
}
if (data.bracelets == 'dark') {
return {
en: 'Stand By Light Circles',
de: 'zu den hellen Kreisen',
};
}
},
run: function(data) {
data.seenHostile = true;
},
},
{
id: 'BA AV Eidos Impact Stream',
regex: /14:3788:Absolute Virtue starts using (?:Impact Stream|Unknown_3788)/,
regexDe: /14:3788:Absolute Tugend starts using (?:Durchschlagsstrom|Unknown_3788)/,
condition: function(data) {
return data.sealed;
},
alertText: function(data) {
if (data.bracelets == 'light') {
return {
en: 'Dark',
de: 'Dunkel',
};
}
if (data.bracelets == 'dark') {
return {
en: 'Light',
de: 'Hell',
};
}
},
},
{
id: 'BA AV Eidos Relative Virtue Colors',
regex: /00:332e:Relative Virtue gains the effect of (Astral|Umbral) Essence/,
regexDe: /00:332e:Relative Tugend gains the effect of Arm (des Lichts|der Dunkelheit)/,
condition: function(data) {
return data.sealed;
},
run: function(data, matches) {
// RV clones get buffs in the reverse order that they do their attacks in.
data.clones = data.clones || [];
data.clones.push(matches[1]);
},
},
{
id: 'BA AV Triple Impact Stream',
regex: /14:3797:Absolute Virtue starts using/,
regexDe: /14:3797:Absolute Tugend starts using/,
condition: function(data) {
return data.sealed;
},
alertText: function(data, matches) {
if (!data.clones)
return;
let wrists = data.clones.pop();
if (wrists == 'Astral') {
return {
en: 'Dark',
de: 'Dunkel',
};
}
if (wrists == 'Umbral') {
return {
en: 'Light',
de: 'Hell',
};
}
},
},
{
id: 'BA AV Eidos Turbulent Aether',
regex: /15:\y{ObjectId}:Absolute Virtue:3790:/,
regexDe: /15:\y{ObjectId}:Absolute Tugend:3790:/,
condition: function(data) {
return data.sealed;
},
infoText: {
en: 'Orbs to Opposite Colors',
de: 'Kugeln zu umgekehrter Farbe',
},
},
{
id: 'BA AV Call Wyvern',
regex: /15:\y{ObjectId}:Absolute Virtue:3798:/,
regexDe: /15:\y{ObjectId}:Absolute Tugend:3798:/,
condition: function(data) {
return data.sealed;
},
infoText: {
en: 'Kill Wyverns, Switch Magia',
de: 'Wyvern töten, Magia wechseln',
},
},
{
id: 'BA Ozma Sphere Form',
regex: /:Proto Ozma:(?:37B3|37A5|379F):/,
regexDe: /:Proto-Yadis:(?:37B3|37A5|379F):/,
condition: function(data) {
return data.sealed;
},
preRun: function(data) {
data.blackHoleCount = data.blackHoleCount || 0;
data.blackHoleCount++;
},
alarmText: function(data) {
return {
en: 'Black Hole ' + data.blackHoleCount + ' / 6',
};
},
tts: function(data) {
return {
en: 'Black Hole ' + data.blackHoleCount,
};
},
},
// FIXME: on all these forms, most of the time they come with double mechanics,
// so probably need some "Then," text so folks don't leave the first mechanic early.
// FIXME: random shade mechanic mid ozma form comes with holy/acceleration bomb/knockback
// so call out something like "get off + holy" or "get knocked in".
// FIXME: need callouts for knockback, and maybe "holy soon"?
{
id: 'BA Ozma Pyramid Form',
regex: /:Proto Ozma:37A4:/,
regexDe: /:Proto-Yadis:37A4:/,
condition: function(data) {
return data.sealed;
},
alertText: {
en: 'Off the Platform',
de: 'Weg von der Fläche',
},
},
{
id: 'BA Ozma Pyramid Form 2',
regex: /:Proto Ozma:37A4:/,
regexDe: /:Proto-Yadis:37A4:/,
delaySeconds: 9,
condition: function(data) {
return data.sealed;
},
infoText: {
en: 'Spread for Bleed',
de: 'Blutung verteilen',
},
},
{
id: 'BA Ozma Star Form',
regex: /:Proto Ozma:37B2:/,
regexDe: /:Proto-Yadis:37B2:/,
condition: function(data) {
return data.sealed;
},
alertText: {
en: 'Go Far',
de: 'Weit weg',
},
},
{
id: 'BA Ozma Star Form 2',
regex: /:Proto Ozma:37B2:/,
regexDe: /:Proto-Yadis:37B2:/,
delaySeconds: 9,
condition: function(data) {
return data.sealed;
},
infoText: function(data) {
// FIXME: taking multiple autos probably means tanking,
// so probably could figure this out automatically.
if (data.role == 'tank') {
return {
en: 'Stack (if not tanking)',
de: 'Stack (wenn nicht am tanken)',
};
}
return {
en: 'Stack Up',
de: 'Stacken',
};
},
},
{
id: 'BA Ozma Cube Form',
regex: /:Proto Ozma:379E:/,
regexDe: /:Proto-Yadis:379E:/,
condition: function(data) {
return data.sealed;
},
alertText: {
en: 'Get Close',
de: 'Nah dran',
},
},
{
id: 'BA Ozma Cube Form 2',
regex: /:Proto Ozma:379E:/,
regexDe: /:Proto-Yadis:379E:/,
delaySeconds: 9,
condition: function(data) {
return data.sealed;
},
alertText: function(data) {
// FIXME: taking multiple autos probably means tanking,
// so probably could figure this out automatically.
if (data.role == 'tank') {
return {
en: 'Offtanks Get Orbs',
de: 'Offtanks holt Kugeln',
};
}
},
infoText: function(data) {
if (data.role != 'tank') {
return {
en: 'Stack Away From Tank',
de: 'Weg vom Tank stacken',
};
}
},
},
{
id: 'BA Ozma Pyramid Shade',
regex: /:(?:Ozmashade|Shadow):37A4:/,
regexDe: /:Yadis-Schatten:37A4:/,
condition: function(data) {
return data.sealed;
},
suppressSeconds: 1,
alertText: {
en: 'Get Off',
de: 'Weg da',
},
},
{
id: 'BA Ozma Star Shade',
regex: /:(?:Ozmashade|Shadow):37B2:/,
regexDe: /:Yadis-Schatten:37B2:/,
condition: function(data) {
return data.sealed;
},
suppressSeconds: 1,
alertText: {
en: 'Get Close',
de: 'Nah dran',
},
},
{
id: 'BA Ozma Cube Shade',
regex: /:(?:Ozmashade|Shadow):379E:/,
regexDe: /:Yadis-Schatten:379E:/,
condition: function(data) {
return data.sealed;
},
suppressSeconds: 1,
alertText: {
en: 'Go Far',
de: 'Weit weg',
},
},
{
id: 'BA Ozma Adds',
regex: /:Cloudlarker:37B0:/,
regexDe: /:Wolkenlauerer:37B0:/,
delaySeconds: 2,
condition: function(data) {
return data.sealed;
},
suppressSeconds: 1,
infoText: {
en: 'Kill Adds',
de: 'Adds töten',
},
},
{
id: 'BA Ozma Acceleration Bomb',
regex: / 16:\y{ObjectId}:Proto Ozma:37AA:[^:]*:\y{ObjectId}:(\y{Name}):/,
regexDe: / 16:\y{ObjectId}:Proto-Yadis:37AA:[^:]*:\y{ObjectId}:(\y{Name}):/,
condition: function(data, matches) {
return data.sealed && data.me == matches[1];
},
alarmText: {
en: 'Stop Soon',
de: 'Bald stoppen',
},
},
{
id: 'BA Ozma Meteor',
regex: / 1B:........:(\y{Name}):....:....:0039:/,
condition: function(data, matches) {
return data.sealed && data.me == matches[1];
},
alarmText: {
en: 'Meteor on YOU',
de: 'Meteor auf DIR',
},
},
],
}];