forked from quisquous/cactbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
o7s.js
61 lines (60 loc) · 1.45 KB
/
o7s.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
'use strict';
// O7S - Sigmascape 3.0 Savage
[{
zoneRegex: /Sigmascape V3\.0 \(Savage\)/,
triggers: [
{
id: 'O7S Missile',
damageRegex: gLang.kAbility.MissileExplosion,
condition: function(e, data) {
return data.IsPlayerId(e.targetId);
},
mistake: function(e, data) {
return {
type: 'fail',
blame: e.targetName,
text: {
en: 'Missile',
de: 'Rakete',
fr: e.abilityName,
ja: e.abilityName,
},
};
},
},
{
id: 'O7S Stoneskin',
abilityRegex: gLang.kAbility.UltrosStoneskin,
mistake: function(e, data) {
return { type: 'fail', blame: e.targetName, text: e.abilityName };
},
},
{
id: 'O7S Searing Wind',
damageRegex: gLang.kAbility.TheHeat,
condition: function(e, data) {
return data.IsPlayerId(e.targetId);
},
mistake: function(e, data) {
return {
type: 'warn',
blame: e.targetName,
text: {
en: 'hit by wind',
de: 'von Versengen getroffen',
},
};
},
},
{
id: 'O7S Chain Cannon',
damageRegex: gLang.kAbility.ChainCannon,
condition: function(e, data) {
return data.IsPlayerId(e.targetId);
},
mistake: function(e, data) {
return { type: 'fail', blame: e.targetName, text: e.abilityName };
},
},
],
}];