forked from quisquous/cactbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
t10.js
74 lines (73 loc) · 1.74 KB
/
t10.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
'use strict';
[{
zoneRegex: /The Final Coil Of Bahamut - Turn \(1\)/,
timelineFile: 't10.txt',
triggers: [
{
id: 'T10 Phase Change',
regex: / 14:B5D:Imdugud starts using Electrocharge/,
sound: 'Long',
},
{
id: 'T10 Heat Lightning',
regex: / 14:B5F:Imdugud starts using Heat Lightning/,
alertText: {
en: 'Spread',
},
},
{
id: 'T10 Wild Charge',
regex: / 1B:\y{ObjectId}:(\y{Name}):....:....:001F:/,
alarmText: function(data, matches) {
if (data.me == matches[1]) {
return {
en: 'Charge on YOU',
};
}
},
infoText: function(data, matches) {
if (data.me != matches[1]) {
return {
en: 'Charge on ' + data.ShortName(matches[1]),
};
}
},
},
{
id: 'T10 Prey',
regex: / 1B:\y{ObjectId}:(\y{Name}):....:....:001E:/,
alertText: function(data, matches) {
if (data.me == matches[1]) {
return {
en: 'Prey on YOU',
};
}
},
infoText: function(data, matches) {
if (data.me != matches[1]) {
return {
en: 'Prey on ' + data.ShortName(matches[1]),
};
}
},
},
{
id: 'T10 Cyclonic Tether',
regex: /23:\y{ObjectId}:Imdugud:\y{ObjectId}:(\y{Name}):....:....:0015:/,
alarmText: function(data, matches) {
if (data.me == matches[1]) {
return {
en: 'Cyclonic on YOU',
};
}
},
infoText: function(data, matches) {
if (data.me != matches[1]) {
return {
en: 'Cyclonic on ' + data.ShortName(matches[1]),
};
}
},
},
],
}];