forked from GrafNikola/tera-guide
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path9770.js
139 lines (133 loc) · 7.38 KB
/
9770.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
// Ruinous Manor
//
// made by Emilia-s2 / HSDN
module.exports = (dispatch, handlers, guide, lang) => {
guide.type = SP;
let firstboss_debuff = null;
let thirdboss_left_hand = false;
return {
// 1 BOSS
"nd-770-1000": [
{ type: "stop_timers" },
{ type: "despawn_all" }
],
"die": [{ type: "func", func: () => { firstboss_debuff = null; } }],
"ae-0-0-97000057": [{ type: "func", func: () => firstboss_debuff = 1 }], // AoE (red)
"ae-0-0-97000058": [{ type: "func", func: () => firstboss_debuff = 2 }], // AoE (blue)
"am-770-1000-97000057": [{ type: "func", func: () => firstboss_debuff = 1 }], // Red
"am-770-1000-97000058": [{ type: "func", func: () => firstboss_debuff = 2 }], // Blue
"s-770-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-770-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-770-1000-1206-0": [{ type: "text", sub_type: "message", message: "Jump Back", message_RU: "Прыжок назад" }],
"s-770-1000-2206-0": "s-770-1000-1206-0",
"s-770-1000-1106-0": [{ type: "text", sub_type: "message", message: "Stun Frontal (Dodge)", message_RU: "Передний стан" }],
"s-770-1000-2106-0": "s-770-1000-1106-0",
"s-770-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-770-1000-2107-0": "s-770-1000-1107-0",
"s-770-1000-1117-0": [{ type: "text", sub_type: "message", message: "Crush Front", message_RU: "Удары" }],
"s-770-1000-2117-0": "s-770-1000-1117-0",
// 2 BOSS
"nd-770-2000": [
{ type: "stop_timers" },
{ type: "despawn_all" }
],
"s-770-2000-1103-0": [{ type: "text", sub_type: "message", message: "Frontal Attack", message_RU: "Передняя атака" }],
"s-770-2000-2103-0": "s-770-2000-1103-0",
"s-770-2000-1105-0": [{ type: "text", sub_type: "message", message: "Random Target", message_RU: "Таргет" }],
"s-770-2000-2105-0": "s-770-2000-1105-0",
"s-770-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-770-2000-2106-0": "s-770-2000-1106-0",
"s-770-2000-1111-0": [{ type: "text", sub_type: "message", message: "Many Hits (Target)", message_RU: "Множество ударов (таргет)" }],
"s-770-2000-2111-0": "s-770-2000-1111-0",
// 3 BOSS
"nd-770-3000": [
{ type: "stop_timers" },
{ type: "despawn_all" }
],
"s-770-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-770-3000-2102-0": "s-770-3000-1102-0",
"s-770-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-770-3000-2101-0": "s-770-3000-1101-0",
"s-770-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-770-3000-2103-0": "s-770-3000-1103-0",
"s-770-3000-1301-0": [{ type: "text", sub_type: "message", message: "Circles", message_RU: "Круги" }],
"s-770-3000-2301-0": "s-770-3000-1301-0",
"s-770-3000-1106-0": [{ type: "text", sub_type: "message", message: "Front Swipe", message_RU: "Передний удар" }],
"s-770-3000-2106-0": "s-770-3000-1106-0",
"s-770-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-770-3000-2110-0": "s-770-3000-1110-0",
"s-770-3000-1304-0": [{ type: "text", sub_type: "message", message: "Get Ready!", message_RU: "Готовность!" }],
"s-770-3000-1303-0": "s-770-3000-1304-0",
"s-770-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-770-3000-1114-0": [
{ type: "text", sub_type: "message", message: "In", message_RU: "К нему" },
{ type: "spawn", func: "circle", args: [false, 553, 0, 0, 15, 300, 0, 2000] }
],
"s-770-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-770-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-770-3000-2113-0": "s-770-3000-1113-0",
"s-770-3000-2114-0": "s-770-3000-1114-0",
"s-770-3000-2116-0": "s-770-3000-1116-0",
"s-770-3000-2117-0": "s-770-3000-1117-0",
"s-770-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-770-3000-2108-0": "s-770-3000-1108-0",
"s-770-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-770-3000-2120-0": "s-770-3000-1120-0",
"s-770-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-770-3000-2121-0": "s-770-3000-1121-0"
};
};