forked from GrafNikola/tera-guide
-
Notifications
You must be signed in to change notification settings - Fork 17
/
9720.js
158 lines (147 loc) · 8.55 KB
/
9720.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
// Antaroth's Abyss
//
// made by HSDN / Yuyuko / Owyn
module.exports = (dispatch, handlers, guide, lang) => {
guide.type = SP;
let secondboss_mech_counter = 0;
let thirdboss_counter = 0;
let thirdboss_timer = null;
function secondboss_stacks_event() {
secondboss_mech_counter++;
handlers.text({ sub_type: "notification", message: `${secondboss_mech_counter} stack`, message_RU: `Стак ${secondboss_mech_counter}`, speech: false });
if (secondboss_mech_counter >= 5) {
secondboss_mech_counter = 0;
}
}
function thirdboss_backattack_event() {
dispatch.clearTimeout(thirdboss_timer);
thirdboss_counter++;
if (thirdboss_counter >= 2) {
handlers.text({ sub_type: "message", message: "Back Stun", message_RU: "Задний" });
}
thirdboss_timer = dispatch.setTimeout(() => thirdboss_counter = 0, 3000);
}
return {
// 1 BOSS
"nd-720-1000": [
{ type: "stop_timers" },
{ type: "despawn_all" }
],
"s-720-1000-1117-0": [{ type: "text", sub_type: "message", message: "In > Out", message_RU: "К нему > От него" }],
"s-720-1000-1116-0": [{ type: "text", sub_type: "message", message: "Out > In", message_RU: "От него > К нему" }],
"s-720-1000-1109-0": [{ type: "text", sub_type: "message", message: "Back Attack", message_RU: "Откид назад" }],
"s-720-1000-1300-0": [{ type: "text", sub_type: "message", delay: 600, message: "Dodge!", message_RU: "Эвейд!" }],
"s-720-1000-2117-0": "s-720-1000-1117-0",
"s-720-1000-2116-0": "s-720-1000-1116-0",
"s-720-1000-2109-0": "s-720-1000-1109-0",
"s-720-1000-2220-0": "s-720-1000-1220-0",
"qb-720-1000-7201000": [{ type: "text", sub_type: "message", message: "Flying", message_RU: "Подлет" }],
// 2 BOSS
"nd-720-2000": [
{ type: "stop_timers" },
{ type: "despawn_all" }
],
"h-720-2000-99": [{ type: "func", func: () => secondboss_mech_counter = 0 }],
"s-720-2000-1104-0": [{ type: "text", sub_type: "message", message: "Random Jump", message_RU: "Прыжок (стан)" }],
"s-720-2000-1105-0": [{ type: "text", sub_type: "message", message: "Back Attack", message_RU: "Удар назад" }],
"s-720-2000-1106-0": [
{ type: "text", sub_type: "message", message: "Spin Attack", message_RU: "Крутилка" },
{ type: "spawn", func: "circle", args: [false, 553, 0, 0, 10, 320, 0, 3500] }
],
"s-720-2000-1108-0": [{ type: "text", sub_type: "message", message: "Target Swing", message_RU: "Таргет" }],
"s-720-2000-1110-0": [
{ type: "text", sub_type: "message", message: "Stun Attack", message_RU: "Передний стан" },
{ type: "spawn", func: "circle", args: [false, 553, 0, 175, 10, 260, 0, 5000] }
],
"s-720-2000-1111-0": [
{ type: "text", sub_type: "message", message: "Left Slash", message_RU: "Левая полоса" },
{ type: "spawn", func: "vector", args: [553, 270, 200, 180, 500, 0, 2000] },
{ type: "spawn", func: "vector", args: [553, 270, 200, 0, 300, 0, 2000] },
{ type: "spawn", func: "vector", args: [553, 90, 20, 180, 500, 0, 2000] },
{ type: "spawn", func: "vector", args: [553, 90, 20, 0, 300, 0, 2000] },
{ type: "spawn", func: "vector", args: [553, 6, 302, 270, 200, 0, 2000] },
{ type: "spawn", func: "vector", args: [553, 176, 502, 270, 200, 0, 2000] }
],
"s-720-2000-1112-0": [
{ type: "text", sub_type: "message", message: "Right Slash", message_RU: "Правая полоса" },
{ type: "spawn", func: "vector", args: [553, 90, 200, 180, 500, 0, 2000] },
{ type: "spawn", func: "vector", args: [553, 90, 200, 0, 300, 0, 2000] },
{ type: "spawn", func: "vector", args: [553, 270, 20, 180, 500, 0, 2000] },
{ type: "spawn", func: "vector", args: [553, 270, 20, 0, 300, 0, 2000] },
{ type: "spawn", func: "vector", args: [553, 354, 302, 90, 200, 0, 2000] },
{ type: "spawn", func: "vector", args: [553, 184, 502, 90, 200, 0, 2000] }
],
"s-720-2000-1113-0": "s-720-2000-1111-0",
"s-720-2000-1114-0": "s-720-2000-1112-0",
"s-720-2000-2104-0": "s-720-2000-1104-0",
"s-720-2000-2105-0": "s-720-2000-1105-0",
"s-720-2000-2106-0": "s-720-2000-1106-0",
"s-720-2000-2108-0": "s-720-2000-1108-0",
"s-720-2000-2110-0": "s-720-2000-1110-0",
"s-720-2000-2111-0": "s-720-2000-1111-0",
"s-720-2000-2112-0": "s-720-2000-1112-0",
"s-720-2000-2113-0": "s-720-2000-1111-0",
"s-720-2000-2114-0": "s-720-2000-1112-0",
"s-720-2000-3116-0": [{ type: "text", sub_type: "message", message: "Circles", message_RU: "Круги" }],
"s-720-2000-3119-0": [{ type: "text", sub_type: "message", message: "Red: Out safe", message_RU: "Красный: Наружу сейф" }],
"s-720-2000-3220-0": [{ type: "text", sub_type: "message", message: "Blue: In safe", message_RU: "Синий: Внутрь сейф" }],
//
"dm-0-0-7202000": [{ type: "func", func: secondboss_stacks_event }],
// 3 BOSS
"nd-720-3000-0": [
{ type: "stop_timers" },
{ type: "despawn_all" }
],
"s-720-3000-1104-0": [{ type: "func", func: thirdboss_backattack_event }],
"s-720-3000-1119-0": [{ type: "spawn", func: "circle", args: [true, 553, 0, -325, 12, 325, 0, 2000] }],
"s-720-3000-1107-0": [{ type: "text", sub_type: "message", message: "Random Jump", message_RU: "Прыжок (стан)" }],
"s-720-3000-1107-1": [{ type: "spawn", func: "circle", args: [false, 553, 0, 85, 12, 250, 0, 2000] }],
"s-720-3000-1109-0": [
{ type: "text", sub_type: "message", message: "Left", message_RU: "Лево" },
{ type: "spawn", func: "vector", args: [553, 0, 0, 180, 500, 0, 1500] },
{ type: "spawn", func: "vector", args: [553, 0, 0, 0, 500, 0, 1500] },
{ type: "spawn", func: "semicircle", args: [0, 180, 912, 0, 0, 20, 160, 0, 1500] },
{ type: "spawn", func: "semicircle", args: [0, 180, 912, 0, 0, 12, 220, 0, 1500] },
{ type: "spawn", func: "semicircle", args: [0, 180, 912, 0, 0, 10, 300, 0, 1500] },
{ type: "spawn", func: "semicircle", args: [0, 180, 912, 0, 0, 8, 360, 0, 1500] },
{ type: "spawn", func: "marker", args: [false, 270, 300, 0, 1500, true, null] }
],
"s-720-3000-1111-0": [
{ type: "text", sub_type: "message", message: "Right", message_RU: "Право" },
{ type: "spawn", func: "vector", args: [553, 0, 0, 180, 500, 0, 1500] },
{ type: "spawn", func: "vector", args: [553, 0, 0, 0, 500, 0, 1500] },
{ type: "spawn", func: "semicircle", args: [180, 360, 912, 0, 0, 20, 160, 0, 1500] },
{ type: "spawn", func: "semicircle", args: [180, 360, 912, 0, 0, 12, 220, 0, 1500] },
{ type: "spawn", func: "semicircle", args: [180, 360, 912, 0, 0, 10, 300, 0, 1500] },
{ type: "spawn", func: "semicircle", args: [180, 360, 912, 0, 0, 8, 360, 0, 1500] },
{ type: "spawn", func: "marker", args: [false, 90, 300, 0, 1500, true, null] }
],
"s-720-3000-1113-0": [{ type: "text", sub_type: "message", message: "Front | Back Stun", message_RU: "Передний | Задний" }],
"s-720-3000-1115-0": [{ type: "text", sub_type: "message", message: "Spin Attack", message_RU: "Круговая" }],
"s-720-3000-1120-0": [{ type: "text", sub_type: "message", message: "Energy Beam (Slow)", message_RU: "Волна (медленно)" }],
"s-720-3000-1204-0": [{ type: "text", sub_type: "message", message: "Energy Beam (Fast)", message_RU: "Волна (быстро)" }],
"s-720-3000-1206-0": [{ type: "text", sub_type: "message", message: "Orbs", message_RU: "Шары" }],
"s-720-3000-1309-0": [{ type: "text", sub_type: "message", message: "AoE", message_RU: "АоЕ" }],
"s-720-3000-1310-0": [{ type: "text", sub_type: "message", message: "Puddles", message_RU: "Лужи" }],
"s-720-3000-1311-0": "s-720-3000-1310-0",
"s-720-3000-1312-0": "s-720-3000-1310-0",
"s-720-3000-1313-0": "s-720-3000-1310-0",
"s-720-3000-1314-0": "s-720-3000-1310-0",
"s-720-3000-1315-0": [{ type: "text", sub_type: "message", message: "Pushback", message_RU: "Откид (кайа)" }],
"s-720-3000-1400-0": [{ type: "text", sub_type: "message", message: "Clones: Beam", message_RU: "Копии: волны" }],
"s-720-3000-1401-0": [{ type: "text", sub_type: "message", message: "Clones: Spin", message_RU: "Копии: круговые" }],
"s-720-3000-2104-0": "s-720-3000-1104-0",
"s-720-3000-2105-0": "s-720-3000-1105-0",
"s-720-3000-2119-0": "s-720-3000-1119-0",
"s-720-3000-2107-0": "s-720-3000-1107-0",
"s-720-3000-2107-1": "s-720-3000-1107-1",
"s-720-3000-2109-0": "s-720-3000-1109-0",
"s-720-3000-2111-0": "s-720-3000-1111-0",
"s-720-3000-2113-0": "s-720-3000-1113-0",
"s-720-3000-2115-0": "s-720-3000-1115-0",
"s-720-3000-2120-0": "s-720-3000-1120-0",
"s-720-3000-2204-0": "s-720-3000-1204-0",
"s-720-3000-2202-0": "s-720-3000-1202-0",
"s-720-3000-2206-0": "s-720-3000-1206-0"
};
};