forked from GrafNikola/tera-guide
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path3203.js
172 lines (154 loc) · 9.47 KB
/
3203.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
// Forbidden Arena [Nightmare Undying Warlord]
//
// made by HSDN
module.exports = (dispatch, handlers, guide, lang) => {
let timer1 = null;
let print_target = true;
let in_bait = false;
let gettingserious = false; // ~70% attacks unlocked like Flip Kick Stun
function back_kick_event(skillid) {
if ([107, 310].includes(skillid)) { // Bait/Back Flip
in_bait = true;
dispatch.setTimeout(() => in_bait = false, 3500);
}
if (skillid == 116) { // Haymaker
if (in_bait) {
handlers.text({
sub_type: "message",
message: "Haymaker",
message_RU: "Мощный удар"
});
} else { // 116 -> 146
handlers.text({
sub_type: "message",
message: "Haymaker | Back Kick",
message_RU: "Мощный удар | Откид назад"
});
}
}
}
function target_attack_event() {
if (print_target) {
dispatch.clearTimeout(timer1);
print_target = false;
dispatch.setTimeout(() => print_target = true, 5000);
timer1 = dispatch.setTimeout(() => {
handlers.text({
sub_type: "alert",
message: "Target attacks soon...",
message_RU: "Скоро таргет-атака..."
});
}, 65000);
}
}
return {
"nd-3203-1000": [
{ type: "stop_timers" },
{ type: "despawn_all" }
],
"h-3203-1000-99": [{ type: "func", func: () => gettingserious = false }],
"h-3203-1000-70": [{ type: "func", func: () => gettingserious = true }],
"h-3203-1000-30": [{ type: "text", sub_type: "message", message: "30%", message_RU: "30%" }],
//"s-3203-1000-101-0": [{ type: "text", class_position: "tank", sub_type: "message", message: "Punch", message_RU: "Серия ударов" }],
"s-3203-1000-113-0": [
{ type: "text", sub_type: "message", message: "Roundhouse Kick | Stun", message_RU: "Удар с разворота | Стан", class_position: "tank", check_func: () => gettingserious },
{ type: "text", sub_type: "message", message: "Roundhouse Kick", message_RU: "Удар с разворота", class_position: "tank", check_func: () => !gettingserious }
],
"s-3203-1000-111-0": [{ type: "text", class_position: "tank", sub_type: "message", message: "Knockdown", message_RU: "Опрокид" }],
"s-3203-1000-120-0": [{ type: "text", class_position: "tank", sub_type: "message", message: "Knockdown", message_RU: "Опрокид" }],
//"s-3203-1000-102-0": [{ type: "text", class_position: "tank", sub_type: "message", message: "Combo", message_RU: "Комба" }], // 102 153/154 115/116
"s-3203-1000-153-0": [{ type: "text", class_position: "tank", sub_type: "message", message: "Two Kicks", message_RU: "Два удара" }], // 153 108
//"s-3203-1000-108-0": [{ type: "text", class_position: "tank", sub_type: "message", message: "Floor Punch", message_RU: "Удар о землю" }],
//"s-3203-1000-127-0": [{ type: "text", class_position: "tank", sub_type: "message", message: "Many Kicks", message_RU: "Несколько ударов" }],
"s-3203-1000-121-0": [{ type: "text", sub_type: "message", message: "Flip Kick (Stun)", message_RU: "Удар в воздухе (стан)" }],
"qb-3203-1000-32031000": [{ type: "text", sub_type: "message", message: "Bait (Dodge)", message_RU: "Байт (эвейд)" }],
// "s-3203-1000-124-0": [{ type: "text", sub_type: "message", message: "Dodge", message_RU: "Эвейд" }], // 305 124
"s-3203-1000-107-0": [{ type: "func", func: back_kick_event, args: [107] }],
"s-3203-1000-110-0": [
{ type: "text", sub_type: "message", message: "Spin", message_RU: "Крутилка" },
{ type: "spawn", func: "circle", args: [true, 553, 0, 0, 12, 420, 0, 3000] }
],
"s-3203-1000-114-0": [
{ type: "text", sub_type: "message", message: "Leap (Knockdown)", message_RU: "Прыжок (опрокид)" },
{ type: "spawn", func: "circle", args: [true, 553, 0, 0, 12, 240, 0, 2000] }
],
//"s-3203-1000-154-0": [{ type: "text", sub_type: "message", message: "Jumping Kick", message_RU: "Удар в прыжке" }], // 154 310 116
// 310 116
"s-3203-1000-310-0": [
{ type: "text", sub_type: "message", message: "Back Flip | Haymaker", message_RU: "Сальто назад | Мощный удар" },
{ type: "func", func: back_kick_event, args: [310] }
],
"s-3203-1000-116-0": [{ type: "func", func: back_kick_event, args: [116] }], // Haymaker
"s-3203-1000-115-0": [{ type: "text", sub_type: "message", message: "Haymaker (Tank)", message_RU: "Мощный удар (танк)" }],
"s-3203-1000-131-0": [{ type: "text", sub_type: "message", message: "Rhythmic Blows", message_RU: "Ураганная серия" }], // 131 132 133
// 116 146
"s-3203-1000-146-0": [
{ type: "text", sub_type: "message", message: "Back Kick", message_RU: "Откид назад" }, // 116 146
{ type: "spawn", func: "vector", args: [553, 90, 120, 170, 600, 0, 3000] },
{ type: "spawn", func: "vector", args: [553, 270, 120, -170, 600, 0, 3000] }
],
// Shield
"qb-3203-1000-32031006": [{ type: "text", sub_type: "message", message: "Shield!", message_RU: "Щит!" }],
// Target "Ha" attacks 308 32031007 125
"qb-3203-1000-32031007": [
{ type: "text", sub_type: "message", message: "Kick (Target)", message_RU: "Удар (таргет)", class_position: "tank" },
{ type: "text", sub_type: "message", message: "Dodge (Target)", message_RU: "Эвейд (таргет) ", class_position: ["heal", "dps"] },
{ type: "func", func: target_attack_event }
],
// "s-3203-1000-125-0": [{ type: "text", sub_type: "message", message: "Kick", message_RU: "Удар" }], // 308 125
// Donuts
"qb-3203-1000-32031008": [{ type: "text", sub_type: "message", message: "Donuts: Out > In > Dodge", message_RU: "Бублики: От него > К нему > Эвейд" }], // 32031008 303/304 117 155
"qb-3203-1000-32031009": [{ type: "text", sub_type: "message", message: "Donuts: In > Out > Dodge", message_RU: "Бублики: К нему > От него > Эвейд" }], // 32031009 303/304 118 155
"s-3203-1000-303-0": [
{ type: "spawn", func: "circle", args: [false, 553, 0, 0, 8, 630, 0, 7000] },
{ type: "spawn", func: "circle", args: [false, 445, 0, 0, 12, 250, 0, 5000] },
{ type: "spawn", func: "circle", args: [false, 445, 0, 0, 8, 490, 0, 5000] }
],
"s-3203-1000-304-0": [
{ type: "spawn", func: "circle", args: [false, 553, 0, 0, 8, 630, 0, 7000] },
{ type: "spawn", func: "circle", args: [false, 445, 0, 0, 12, 250, 0, 5000] },
{ type: "spawn", func: "circle", args: [false, 445, 0, 0, 8, 490, 0, 5000] }
],
"s-3203-1000-155-0": [{ type: "text", sub_type: "message", delay: 50, message: "Dodge", message_RU: "Эвейд" }],
// Stun 142 148 129
"s-3203-1000-142-0": [{ type: "text", sub_type: "message", message: "Stun | Back Wave", message_RU: "Стан | Волна назад" }],
"s-3203-1000-148-0": [
{ type: "text", sub_type: "message", delay: 1300, message: "Dodge", message_RU: "Эвейд" },
{ type: "spawn", func: "circle", args: [true, 912, 0, -10, 12, 300, 0, 3000] }
],
"s-3203-1000-129-0": [
{ type: "text", sub_type: "message", message: "Back Wave", message_RU: "Волна назад (откид)" },
{ type: "spawn", func: "vector", args: [912, 90, 210, 390, 300, 0, 2000] },
{ type: "spawn", func: "vector", args: [912, 90, 140, 380, 350, 0, 2000] },
{ type: "spawn", func: "vector", args: [912, 90, 70, 370, 400, 0, 2000] },
{ type: "spawn", func: "vector", args: [912, 90, 0, 0, 400, 0, 2000] },
{ type: "spawn", func: "vector", args: [912, 270, 70, -370, 400, 0, 2000] },
{ type: "spawn", func: "vector", args: [912, 270, 140, -380, 350, 0, 2000] },
{ type: "spawn", func: "vector", args: [912, 270, 210, -390, 300, 0, 2000] }
],
// Jump 143-0 143-1
"qb-3203-1000-32031001": [{ type: "text", sub_type: "message", message: "Bait on res", message_RU: "Байт на рес" }],
"s-3203-1000-143-0": [{ type: "text", sub_type: "message", message: "Jump (Stun)", message_RU: "Прыжок (стан)" }],
"s-3203-1000-143-1": [{ type: "spawn", func: "circle", args: [true, 553, 0, 0, 14, 240, 0, 2000] }],
// AoE 313 314
"s-3203-1000-313-0": [{ type: "text", sub_type: "message", message: "AOE", message_RU: "AOE" }],
"s-3203-1000-314-0": [{ type: "text", sub_type: "message", message: "Get Out", message_RU: "Выйти" }],
// Explosion 32031003 152 / 135
"s-3203-1000-152-0": [
{ type: "text", sub_type: "message", message: "Explosion (Stun)", message_RU: "Взрыв (стан)" },
{ type: "text", sub_type: "message", delay: 1000, message: "Dodge", message_RU: "Эвейд" },
{ type: "spawn", func: "circle", args: [true, 912, 0, 0, 8, 460, 0, 2500] },
{ type: "text", sub_type: "alert", delay: 58000, message: "Explosion soon...", message_RU: "Скоро взрыв..." }
],
"s-3203-1000-135-0": [
{ type: "text", sub_type: "message", message: "Explosion (Stun)", message_RU: "Взрыв (стан)" },
{ type: "text", sub_type: "message", delay: 1000, message: "Dodge", message_RU: "Эвейд" },
{ type: "spawn", func: "circle", args: [true, 912, 0, 0, 8, 460, 0, 2500] },
{ type: "text", sub_type: "alert", delay: 58000, message: "Explosion soon...", message_RU: "Скоро взрыв..." }
],
// Debuff
"ae-0-0-32031011": [{ type: "text", sub_type: "alert", message: "Debuff Stack", message_RU: "Дебафф (стаки)" }],
"am-3203-1000-32031011": [{ type: "text", sub_type: "alert", message: "Debuff Stack", message_RU: "Дебафф (стаки)" }],
"am-3203-1000-32031012": [{ type: "text", sub_type: "alert", message: "Debuff Stack", message_RU: "Дебафф (стаки)" }]
};
};