forked from GrafNikola/tera-guide
-
Notifications
You must be signed in to change notification settings - Fork 17
/
9970.js
187 lines (181 loc) · 10.6 KB
/
9970.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
// Ruinous Manor (Hard)
//
// made by Emilia-s2 / HSDN
module.exports = (dispatch, handlers, guide, lang) => {
guide.type = SP;
let firstboss_debuff = null;
let thirdboss_skull_debuff = false;
let thirdboss_left_hand = false;
let thirdboss_h50 = false;
return {
// 1 BOSS
"nd-970-1000": [
{ type: "stop_timers" },
{ type: "despawn_all" }
],
"die": [{ type: "func", func: () => { firstboss_debuff = null; } }],
"ae-0-0-97000042": [{ type: "func", func: () => firstboss_debuff = 1 }], // AoE (red)
"ae-0-0-97000043": [{ type: "func", func: () => firstboss_debuff = 2 }], // AoE (blue)
"am-970-1000-97000042": [{ type: "func", func: () => firstboss_debuff = 1 }], // Red
"am-970-1000-97000043": [{ type: "func", func: () => firstboss_debuff = 2 }], // Blue
"s-970-1000-1306-0": [ // red inside
{ type: "text", sub_type: "message", message: "OUT", message_RU: "ОТ НЕГО", check_func: () => firstboss_debuff === 1 },
{ type: "text", sub_type: "message", message: "IN", message_RU: "К НЕМУ", check_func: () => firstboss_debuff === 2 },
{ type: "spawn", func: "circle", args: [false, 553, 0, 0, 10, 400, 0, 4000] }
],
"s-970-1000-1307-0": [ // blue inside
{ type: "text", sub_type: "message", message: "IN", message_RU: "К НЕМУ", check_func: () => firstboss_debuff === 1 },
{ type: "text", sub_type: "message", message: "OUT", message_RU: "ОТ НЕГО", check_func: () => firstboss_debuff === 2 },
{ type: "spawn", func: "circle", args: [false, 553, 0, 0, 10, 400, 0, 4000] }
],
"s-970-1000-1206-0": [{ type: "text", sub_type: "message", message: "Jump Back", message_RU: "Прыжок назад" }],
"s-970-1000-2206-0": "s-970-1000-1206-0",
"s-970-1000-1106-0": [{ type: "text", sub_type: "message", message: "Stun Frontal (Dodge)", message_RU: "Передний стан" }],
"s-970-1000-2106-0": "s-970-1000-1106-0",
"s-970-1000-1107-0": [{ type: "text", sub_type: "message", message: "Front Push", message_RU: "Передний удар" },
{ type: "spawn", func: "semicircle", args: [320, 404, 553, 0, 0, 7, 405, 0, 3500] },
{ type: "spawn", func: "vector", args: [553, 0, 10, 406, 400, 0, 3500] },
{ type: "spawn", func: "vector", args: [553, 0, 10, -406, 400, 0, 3500] }
],
"s-970-1000-2107-0": "s-970-1000-1107-0",
"s-970-1000-1117-0": [{ type: "text", sub_type: "message", message: "Crush Front", message_RU: "Удары" }],
"s-970-1000-2117-0": "s-970-1000-1117-0",
// 2 BOSS
"nd-970-2000": [
{ type: "stop_timers" },
{ type: "despawn_all" }
],
"s-970-2000-1103-0": [{ type: "text", sub_type: "message", message: "Frontal Attack", message_RU: "Передняя атака" }],
"s-970-2000-2103-0": "s-970-2000-1103-0",
"s-970-2000-1105-0": [{ type: "text", sub_type: "message", message: "Random Target", message_RU: "Таргет" }],
"s-970-2000-2105-0": "s-970-2000-1105-0",
"s-970-2000-1106-0": [{ type: "text", sub_type: "message", message: "Stun (Dodge)", message_RU: "Стан (эвейд)" },
{ type: "spawn", func: "circle", args: [false, 553, 0, 40, 13, 180, 0, 2000] }
],
"s-970-2000-2106-0": "s-970-2000-1106-0",
"s-970-2000-1111-0": [{ type: "text", sub_type: "message", message: "Many Hits (Target)", message_RU: "Множество ударов (таргет)" }],
"s-970-2000-2111-0": "s-970-2000-1111-0",
// 3 BOSS
"nd-970-3000": [
{ type: "stop_timers" },
{ type: "despawn_all" }
],
"h-970-3000-99": [{ type: "func", func: () => thirdboss_h50 = false }],
"h-970-3000-50": [
{ type: "func", func: () => thirdboss_h50 = true },
{ type: "text", sub_type: "message", message: "50%", message_RU: "50%" }
],
"h-970-3000-30": [{ type: "text", sub_type: "message", message: "30%", message_RU: "30%" }],
"am-970-3000-97000052": [{ type: "func", func: () => thirdboss_skull_debuff = true }],
"ar-970-3000-97000052": [{ type: "func", func: () => thirdboss_skull_debuff = false }],
"s-970-3000-1102-0": [
{ type: "text", sub_type: "message", message: "Left Hand", message_RU: "Левая рука" },
{ type: "func", func: () => thirdboss_left_hand = true },
{ type: "func", func: () => thirdboss_left_hand = false, delay: 2000 }
],
"s-970-3000-2102-0": "s-970-3000-1102-0",
"s-970-3000-1101-0": [
{ type: "text", sub_type: "message", message: "Right Hand", message_RU: "Правая рука", check_func: () => !thirdboss_left_hand },
{ type: "text", sub_type: "message", message: "Right Hand | Tail Slam", message_RU: "Правая рука | Хвост", check_func: () => thirdboss_left_hand },
{ type: "func", func: () => thirdboss_left_hand = false }
],
"s-970-3000-2101-0": "s-970-3000-1101-0",
"s-970-3000-1103-0": [
{ type: "text", sub_type: "message", message: "Tail Slam", message_RU: "Хвост" },
{ type: "spawn", func: "vector", args: [553, 283, 127, 180, 500, 0, 1400] },
{ type: "spawn", func: "vector", args: [553, 77, 127, 180, 500, 0, 1400] },
{ type: "spawn", func: "vector", args: [553, 165, 488, 270, 200, 0, 1400] },
{ type: "func", func: () => thirdboss_left_hand = false }
],
"s-970-3000-2103-0": "s-970-3000-1103-0",
"s-970-3000-1301-0": [{ type: "text", sub_type: "message", message: "Circles", message_RU: "Круги" }],
"s-970-3000-2301-0": "s-970-3000-1301-0",
"s-970-3000-1106-0": [{ type: "text", sub_type: "message", message: "Front Swipe", message_RU: "Передний удар" }],
"s-970-3000-2106-0": "s-970-3000-1106-0",
"s-970-3000-1110-0": [
{ type: "text", sub_type: "message", message: "Tail AOE (jump in front)", message_RU: "Хвост АОЕ (прыгать вперед)" },
{ type: "spawn", func: "semicircle", args: [26, 340, 553, 0, 0, 7, 630, 0, 3000] },
{ type: "spawn", func: "vector", args: [553, 4, 40, 338, 600, 0, 3000] },
{ type: "spawn", func: "vector", args: [553, -4, 40, -338, 600, 0, 3000] }
],
"s-970-3000-2110-0": "s-970-3000-1110-0",
"s-970-3000-1304-0": [{ type: "text", sub_type: "message", message: "Get Ready!", message_RU: "Готовность!" }],
"s-970-3000-1303-0": "s-970-3000-1304-0",
"s-970-3000-1113-0": [
{ type: "text", sub_type: "message", message: "Out", message_RU: "От него" },
{ type: "spawn", func: "circle", args: [false, 553, 0, 0, 15, 300, 0, 2000] }
],
"s-970-3000-1114-0": [
{ type: "text", sub_type: "message", message: "In", message_RU: "К нему", check_func: () => !thirdboss_h50 },
{ type: "text", sub_type: "message", message: "In | Tail Slam", message_RU: "К нему | Хвост", check_func: () => thirdboss_h50 },
{ type: "spawn", func: "circle", args: [false, 553, 0, 0, 15, 300, 0, 2000] }
],
"s-970-3000-1116-0": [
{ type: "text", sub_type: "message", message: "In", message_RU: "К нему" },
{ type: "spawn", func: "circle", args: [false, 553, 0, 0, 15, 300, 0, 2000] }
],
"s-970-3000-1117-0": [
{ type: "text", sub_type: "message", message: "Out", message_RU: "От него" },
{ type: "spawn", func: "circle", args: [false, 553, 0, 0, 15, 300, 0, 2000] }
],
"s-970-3000-2113-0": "s-970-3000-1113-0",
"s-970-3000-2114-0": "s-970-3000-1114-0",
"s-970-3000-2116-0": "s-970-3000-1116-0",
"s-970-3000-2117-0": "s-970-3000-1117-0",
"s-970-3000-1108-0": [
{ type: "text", sub_type: "message", message: "Tail", message_RU: "Удар хвостом" },
{ type: "spawn", func: "circle", args: [false, 553, -7, 280, 20, 155, 0, 2000] }
],
"s-970-3000-2108-0": "s-970-3000-1108-0",
"s-970-3000-1317-0": [
{ type: "text", sub_type: "message", message: "Get Red Skull!", message_RU: "Взять красную голову!", check_func: () => !thirdboss_skull_debuff },
{ type: "text", sub_type: "message", message: "Get Yellow Skull!", message_RU: "Взять желтую голову!", check_func: () => thirdboss_skull_debuff }
],
"s-970-3000-1318-0": "s-970-3000-1317-0",
"s-970-3000-1319-0": "s-970-3000-1318-0",
"s-970-3000-1322-0": [
{ type: "text", sub_type: "message", message: "Dodge!", message_RU: "Циркуль" },
{ type: "text", sub_type: "message", message_RU: "От него", message: "Out", delay: 1000 },
{ type: "text", sub_type: "message", message_RU: "К нему", message: "In", delay: 2000 },
{ type: "spawn", func: "circle", args: [false, 553, 0, 0, 14, 230, 0, 5000] },
{ type: "spawn", func: "circle", args: [false, 553, 0, 0, 12, 430, 0, 5000] },
{ type: "spawn", func: "circle", args: [false, 553, 0, 0, 8, 630, 0, 5000] }
],
"s-970-3000-1311-0": [
{ type: "text", sub_type: "message", message: "Gather!", message_RU: "Откид (собраться)!" },
{ type: "text", sub_type: "message", message: "Cleanse!", message_RU: "Клинс!", delay: 3000 },
{ type: "text", sub_type: "alert", message: "Gather soon...", message_RU: "Скоро откид...", delay: 40000 }
],
"s-970-3000-1120-0": [
{ type: "text", sub_type: "message", message: "Shooting Skulls (Triple)", message_RU: "Лазеры (тройные)" },
{ type: "spawn", func: "vector", args: [912, 90, 260, 0, 1300, 0, 2000] },
{ type: "spawn", func: "vector", args: [912, 0, 0, 0, 1300, 0, 2000] },
{ type: "spawn", func: "vector", args: [912, 270, 250, 0, 1300, 0, 2000] }
],
"s-970-3000-2120-0": "s-970-3000-1120-0",
"s-970-3000-1121-0": [
{ type: "text", sub_type: "message", message: "Shooting Skulls (Doble)", message_RU: "Лазеры (двойные)" },
{ type: "spawn", func: "vector", args: [912, 90, 130, 0, 1300, 0, 2000] },
{ type: "spawn", func: "vector", args: [912, 270, 130, 0, 1300, 0, 2000] }
],
"s-970-3000-2121-0": "s-970-3000-1121-0",
"s-970-3000-1122-0": [
{ type: "text", sub_type: "message", message: "Shooting Skulls (Multiple)", message_RU: "Лазеры (множественные)" },
{ type: "spawn", func: "vector", args: [912, 90, 260, 0, 1300, 0, 1500] },
{ type: "spawn", func: "vector", args: [912, 0, 0, 0, 1300, 0, 1500] },
{ type: "spawn", func: "vector", args: [912, 270, 250, 0, 1300, 0, 1500] },
{ type: "spawn", func: "vector", args: [912, 90, 130, 0, 1300, 1500, 1200] },
{ type: "spawn", func: "vector", args: [912, 270, 130, 0, 1300, 1500, 1200] }
],
"s-970-3000-2122-0": "s-970-3000-1122-0",
"s-970-3000-1123-0": [
{ type: "text", sub_type: "message", message: "Shooting Skulls (Multiple)", message_RU: "Лазеры (множественные)" },
{ type: "spawn", func: "vector", args: [912, 90, 130, 0, 1300, 0, 1500] },
{ type: "spawn", func: "vector", args: [912, 270, 130, 0, 1300, 0, 1500] },
{ type: "spawn", func: "vector", args: [912, 90, 260, 0, 1300, 1500, 1200] },
{ type: "spawn", func: "vector", args: [912, 0, 0, 0, 1300, 1500, 1200] },
{ type: "spawn", func: "vector", args: [912, 270, 250, 0, 1300, 1500, 1200] }
],
"s-970-3000-2123-0": "s-970-3000-1123-0"
};
};