-
Notifications
You must be signed in to change notification settings - Fork 1
/
Vectors.lua
260 lines (260 loc) · 8.52 KB
/
Vectors.lua
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
X = {}
LANE_HEAD_RAD = Vector(-6455, -5717, 0)
LANE_HEAD_DIRE = Vector(6450, 5869, 0)
LANE_MID_RAD = Vector(12995, 11286, 0)
LANE_MID_DIRE = Vector(-12995, -11286, 0)
RAD_MID_MEDIUM = Vector(-1800.0, -4360.0, 128.0)
RAD_MID_HARD = Vector(-450.0, -3300.0, 256.0)
RAD_MID_ANCIENT = Vector(100.0, -1900.0, 384.0)
RAD_SAFE_MEDIUM = Vector(400.0, -4700.0, 384.0)
RAD_SAFE_EASY = Vector(3000.0, -4550.0, 256.0)
RAD_SAFE_HARD = Vector(4750.0, -4450.0, 256.0)
RAD_OFF_ANCIENT = Vector(-2975.0, -100.0, 384.0)
RAD_OFF_MEDIUM = Vector(-3800.0, 800.0, 256.0)
RAD_OFF_HARD = Vector(-4800.0, -475.0, 256.0)
DIRE_MID_MEDIUM = Vector(1300.0, 3300.0, 384.0)
DIRE_MID_HARD = Vector(-200.0, 3400.0, 256.0)
DIRE_MID_ANCIENT = Vector(-850.0, 2275.0, 384.0)
DIRE_SAFE_MEDIUM = Vector(-1850.0, 4075.0, 256.0)
DIRE_SAFE_EASY = Vector(-2900.0, 4800.0, 384.0)
DIRE_SAFE_HARD = Vector(-4500.0, 3550.0, 256.0)
DIRE_OFF_ANCIENT = Vector(2650.0, 75.0, 384.0)
DIRE_OFF_MEDIUM = Vector(3850.0, -650.0, 256.0)
DIRE_OFF_HARD = Vector(4300.0, 800.0, 384.0)
RAD_MID_MEDIUM_STACKTIME = 56
RAD_MID_HARD_STACKTIME = 54
RAD_MID_ANCIENT_STACKTIME = 54
RAD_SAFE_MEDIUM_STACKTIME = 55
RAD_SAFE_EASY_STACKTIME = 54
RAD_SAFE_HARD_STACKTIME = 54
RAD_OFF_ANCIENT_STACKTIME = 53
RAD_OFF_MEDIUM_STACKTIME = 55
RAD_OFF_HARD_STACKTIME = 56
DIRE_MID_MEDIUM_STACKTIME = 53
DIRE_MID_HARD_STACKTIME = 54
DIRE_MID_ANCIENT_STACKTIME = 53
DIRE_SAFE_MEDIUM_STACKTIME = 55
DIRE_SAFE_EASY_STACKTIME = 55
DIRE_SAFE_HARD_STACKTIME = 55
DIRE_OFF_ANCIENT_STACKTIME = 54
DIRE_OFF_MEDIUM_STACKTIME = 53
DIRE_OFF_HARD_STACKTIME = 55
RAD_MID_MEDIUM_PRESTACK = Vector(-1800.0, -4050.0, 128.0)
RAD_MID_HARD_PRESTACK = Vector(-700.0, -3240.0, 256.0)
RAD_MID_ANCIENT_PRESTACK = Vector(340.0, -2070.0, 384.0)
RAD_SAFE_MEDIUM_PRESTACK = Vector(700.0, -4500.0, 384.0)
RAD_SAFE_EASY_PRESTACK = Vector(3250.0, -4550.0, 256.0)
RAD_SAFE_HARD_PRESTACK = Vector(4600.0, -4200.0, 256.0)
RAD_OFF_ANCIENT_PRESTACK = Vector(-2775.0, -75.0, 384.0)
RAD_OFF_MEDIUM_PRESTACK = Vector(-3900.0, 700.0, 256.0)
RAD_OFF_HARD_PRESTACK = Vector(-4600.0, -200.0, 256.0)
DIRE_MID_MEDIUM_PRESTACK = Vector(1100.0, 3500.0, 384.0)
DIRE_MID_HARD_PRESTACK = Vector(-425.0, 3525.0, 256.0)
DIRE_MID_ANCIENT_PRESTACK = Vector(-550.0, 2400.0, 384.0)
DIRE_SAFE_MEDIUM_PRESTACK = Vector(-1600.0, 4025.0, 256.0)
DIRE_SAFE_EASY_PRESTACK = Vector(-2975.0, 5100.0, 384.0)
DIRE_SAFE_HARD_PRESTACK = Vector(-4300.0, 3800.0, 256.0)
DIRE_OFF_ANCIENT_PRESTACK = Vector(2900.0, 100.0, 384.0)
DIRE_OFF_MEDIUM_PRESTACK = Vector(3575.0, -750.0, 256.0)
DIRE_OFF_HARD_PRESTACK = Vector(4100.0, 725.0, 384.0)
RAD_MID_MEDIUM_STACK = Vector(-1825.0, -3200.0, 256.0)
RAD_MID_HARD_STACK = Vector(-425.0, -2425.0, 256.0)
RAD_MID_ANCIENT_STACK = Vector(1120.0, -2940.0, 384.0)
RAD_SAFE_MEDIUM_STACK = Vector(885.0, -3285.0, 384.0)
RAD_SAFE_EASY_STACK = Vector(4245.0, -5275.0, 384.0)
RAD_SAFE_HARD_STACK = Vector(3425.0, -3355.0, 256.0)
RAD_OFF_ANCIENT_STACK = Vector(-3980.0, -815.0, 384.0)
RAD_OFF_MEDIUM_STACK = Vector(-5200.0, 285.0, 256.0)
RAD_OFF_HARD_STACK = Vector(-3900.0, -730.0, 256.0)
DIRE_MID_MEDIUM_STACK = Vector(-145.0, 4125.0, 384.0)
DIRE_MID_HARD_STACK = Vector(-1125.0, 4475.0, 256.0)
DIRE_MID_ANCIENT_STACK = Vector(860.0, 2335.0, 384.0)
DIRE_SAFE_MEDIUM_STACK = Vector(-2770.0, 3450.0, 256.0)
DIRE_SAFE_EASY_STACK = Vector(-3605.0, 6080.0, 384.0)
DIRE_SAFE_HARD_STACK = Vector(-2790.0, 3500.0, 256.0)
DIRE_OFF_ANCIENT_STACK = Vector(4275.0, 80.0, 384.0)
DIRE_OFF_MEDIUM_STACK = Vector(2300.0, -945.0, 256.0)
DIRE_OFF_HARD_STACK = Vector(4575.0, -350.0, 384.0)
DIRE_BOUNTY_RUNE_OFF = Vector(3485.0, 295.0, 384.0)
DIRE_BOUNTY_RUNE_SAFE = Vector(-2825.0, 4150.0, 384.0)
RAD_BOUNTY_RUNE_SAFE = Vector(1295.0, -4120.0, 384.0)
RAD_BOUNTY_RUNE_OFF = Vector(-4350.0, 200.0, 256.0)
POWERUP_RUNE_TOP = Vector(-1755.0, 1205.0, 128.0)
POWERUP_RUNE_BOT = Vector(2620.0, -2000.0, 128.0)
DIRE_SHRINE_OFF = Vector(4200.0, -1575.0, 384.0)
DIRE_SHRINE_SAFE = Vector(-125.0, 2550.0, 384.0)
RAD_SHRINE_SAFE = Vector(635.0, -2550.0, 384.0)
RAD_SHRINE_OFF = Vector(-4225.0, 1275.0, 384.0)
RAD_POWER_TOP = Vector(-2949.435, 815.183, 535.997)
DIRE_POWER_TOP = Vector(-1246.0, 2860.9, 535.997)
RAD_POWER_BOT = Vector(1850.83, -2876.455, 512.0)
ROSHAN = Vector(-2451.685303, 1884.514893, 159.998047)
TEAM_RADIANT = 2
TEAM_DIRE = 3
CAMP_EASY = 1
CAMP_MEDIUM = 2
CAMP_HARD = 3
CAMP_ANCIENT = 4
VECTOR = "vector"
STACK_TIME = "time"
PRE_STACK_VECTOR = "prestack"
STACK_VECTOR = "stack"
DIFFICULTY = "difficulty"
X["tableNeutralCamps"] = {
[TEAM_RADIANT] = {
[1] = {
[DIFFICULTY] = CAMP_EASY,
[VECTOR] = RAD_SAFE_EASY,
[STACK_TIME] = RAD_SAFE_EASY_STACKTIME,
[PRE_STACK_VECTOR] = RAD_SAFE_EASY_PRESTACK,
[STACK_VECTOR] = RAD_SAFE_EASY_STACK
},
[2] = {
[DIFFICULTY] = CAMP_MEDIUM,
[VECTOR] = RAD_SAFE_MEDIUM,
[STACK_TIME] = RAD_SAFE_MEDIUM_STACKTIME,
[PRE_STACK_VECTOR] = RAD_SAFE_MEDIUM_PRESTACK,
[STACK_VECTOR] = RAD_SAFE_MEDIUM_STACK
},
[3] = {
[DIFFICULTY] = CAMP_MEDIUM,
[VECTOR] = RAD_MID_MEDIUM,
[STACK_TIME] = RAD_MID_MEDIUM_STACKTIME,
[PRE_STACK_VECTOR] = RAD_MID_MEDIUM_PRESTACK,
[STACK_VECTOR] = RAD_MID_MEDIUM_STACK
},
[4] = {
[DIFFICULTY] = CAMP_MEDIUM,
[VECTOR] = RAD_OFF_MEDIUM,
[STACK_TIME] = RAD_OFF_MEDIUM_STACKTIME,
[PRE_STACK_VECTOR] = RAD_OFF_MEDIUM_PRESTACK,
[STACK_VECTOR] = RAD_OFF_MEDIUM_STACK
},
[5] = {
[DIFFICULTY] = CAMP_HARD,
[VECTOR] = RAD_OFF_HARD,
[STACK_TIME] = RAD_OFF_HARD_STACKTIME,
[PRE_STACK_VECTOR] = RAD_OFF_HARD_PRESTACK,
[STACK_VECTOR] = RAD_OFF_HARD_STACK
},
[6] = {
[DIFFICULTY] = CAMP_HARD,
[VECTOR] = RAD_MID_HARD,
[STACK_TIME] = RAD_MID_HARD_STACKTIME,
[PRE_STACK_VECTOR] = RAD_MID_HARD_PRESTACK,
[STACK_VECTOR] = RAD_MID_HARD_STACK
},
[7] = {
[DIFFICULTY] = CAMP_HARD,
[VECTOR] = RAD_SAFE_HARD,
[STACK_TIME] = RAD_SAFE_HARD_STACKTIME,
[PRE_STACK_VECTOR] = RAD_SAFE_HARD_PRESTACK,
[STACK_VECTOR] = RAD_SAFE_HARD_STACK
},
[8] = {
[DIFFICULTY] = CAMP_ANCIENT,
[VECTOR] = RAD_MID_ANCIENT,
[STACK_TIME] = RAD_MID_ANCIENT_STACKTIME,
[PRE_STACK_VECTOR] = RAD_MID_ANCIENT_PRESTACK,
[STACK_VECTOR] = RAD_MID_ANCIENT_STACK
},
[9] = {
[DIFFICULTY] = CAMP_ANCIENT,
[VECTOR] = RAD_OFF_ANCIENT,
[STACK_TIME] = RAD_OFF_ANCIENT_STACKTIME,
[PRE_STACK_VECTOR] = RAD_OFF_ANCIENT_PRESTACK,
[STACK_VECTOR] = RAD_OFF_ANCIENT_STACK
}
},
[TEAM_DIRE] = {
[1] = {
[DIFFICULTY] = CAMP_EASY,
[VECTOR] = DIRE_SAFE_EASY,
[STACK_TIME] = DIRE_SAFE_EASY_STACKTIME,
[PRE_STACK_VECTOR] = DIRE_SAFE_EASY_PRESTACK,
[STACK_VECTOR] = DIRE_SAFE_EASY_STACK
},
[2] = {
[DIFFICULTY] = CAMP_MEDIUM,
[VECTOR] = DIRE_SAFE_MEDIUM,
[STACK_TIME] = DIRE_SAFE_MEDIUM_STACKTIME,
[PRE_STACK_VECTOR] = DIRE_SAFE_MEDIUM_PRESTACK,
[STACK_VECTOR] = DIRE_SAFE_MEDIUM_STACK
},
[3] = {
[DIFFICULTY] = CAMP_MEDIUM,
[VECTOR] = DIRE_MID_MEDIUM,
[STACK_TIME] = DIRE_MID_MEDIUM_STACKTIME,
[PRE_STACK_VECTOR] = DIRE_MID_MEDIUM_PRESTACK,
[STACK_VECTOR] = DIRE_MID_MEDIUM_STACK
},
[4] = {
[DIFFICULTY] = CAMP_MEDIUM,
[VECTOR] = DIRE_OFF_MEDIUM,
[STACK_TIME] = DIRE_OFF_MEDIUM_STACKTIME,
[PRE_STACK_VECTOR] = DIRE_OFF_MEDIUM_PRESTACK,
[STACK_VECTOR] = DIRE_OFF_MEDIUM_STACK
},
[5] = {
[DIFFICULTY] = CAMP_HARD,
[VECTOR] = DIRE_OFF_HARD,
[STACK_TIME] = DIRE_OFF_HARD_STACKTIME,
[PRE_STACK_VECTOR] = DIRE_OFF_HARD_PRESTACK,
[STACK_VECTOR] = DIRE_OFF_HARD_STACK
},
[6] = {
[DIFFICULTY] = CAMP_HARD,
[VECTOR] = DIRE_MID_HARD,
[STACK_TIME] = DIRE_MID_HARD_STACKTIME,
[PRE_STACK_VECTOR] = DIRE_MID_HARD_PRESTACK,
[STACK_VECTOR] = DIRE_MID_HARD_STACK
},
[7] = {
[DIFFICULTY] = CAMP_HARD,
[VECTOR] = DIRE_SAFE_HARD,
[STACK_TIME] = DIRE_SAFE_HARD_STACKTIME,
[PRE_STACK_VECTOR] = DIRE_SAFE_HARD_PRESTACK,
[STACK_VECTOR] = DIRE_SAFE_HARD_STACK
},
[8] = {
[DIFFICULTY] = CAMP_ANCIENT,
[VECTOR] = DIRE_MID_ANCIENT,
[STACK_TIME] = DIRE_MID_ANCIENT_STACKTIME,
[PRE_STACK_VECTOR] = DIRE_MID_ANCIENT_PRESTACK,
[STACK_VECTOR] = DIRE_MID_ANCIENT_STACK
},
[9] = {
[DIFFICULTY] = CAMP_ANCIENT,
[VECTOR] = DIRE_OFF_ANCIENT,
[STACK_TIME] = DIRE_OFF_ANCIENT_STACKTIME,
[PRE_STACK_VECTOR] = DIRE_OFF_ANCIENT_PRESTACK,
[STACK_VECTOR] = DIRE_OFF_ANCIENT_STACK
}
}
}
POWERUP_RUNES = 1
X["tableRuneSpawns"] = {
[TEAM_RADIANT] = {
RAD_BOUNTY_RUNE_SAFE;
RAD_BOUNTY_RUNE_OFF;
};
[TEAM_DIRE] = {
DIRE_BOUNTY_RUNE_SAFE;
DIRE_BOUNTY_RUNE_OFF;
};
[POWERUP_RUNES] = {
POWERUP_RUNE_BOT;
POWERUP_RUNE_TOP;
};
}
X["tableWardSpots"] = {
[TEAM_RADIANT] = {
RAD_POWER_TOP;
RAD_POWER_BOT;
};
[TEAM_DIRE] = {
DIRE_POWER_TOP;
RAD_POWER_BOT;
};
}
return X