1 | //===== eAthena Script ======================================== |
---|
2 | //= Izlude Arena lvl 60 |
---|
3 | //===== By: ================================================== |
---|
4 | //= SinSloth |
---|
5 | //===== Current Version: ===================================== |
---|
6 | //= 1.0 |
---|
7 | //===== Compatible With: ===================================== |
---|
8 | //= Any Athena Version |
---|
9 | //===== Description: ========================================= |
---|
10 | //= Izlude Battle Arena Level 60 |
---|
11 | //===== Additional Comments: ================================= |
---|
12 | //= 1.0 First version. |
---|
13 | //============================================================ |
---|
14 | |
---|
15 | arena_room,38,88,5 script lvl 60s Waiting Room 124,{ |
---|
16 | |
---|
17 | OnInit: |
---|
18 | waitingroom "Individual ; lvl 60 or higher",50,"lvl 60s Waiting Room::OnStartArena",1; |
---|
19 | enablewaitingroomevent; |
---|
20 | end; |
---|
21 | |
---|
22 | OnStartArena: |
---|
23 | donpcevent "arena#60::Onstart"; |
---|
24 | enablenpc "ArenaFee#60"; |
---|
25 | warpwaitingpc "force_2-1",99,12; |
---|
26 | disablewaitingroomevent; |
---|
27 | end; |
---|
28 | |
---|
29 | Onstart: |
---|
30 | enablewaitingroomevent; |
---|
31 | end; |
---|
32 | |
---|
33 | } |
---|
34 | |
---|
35 | force_2-1,99,12,1 script ArenaFee#60 139,1,1,{ |
---|
36 | |
---|
37 | OnInit: |
---|
38 | disablenpc "ArenaFee#60"; |
---|
39 | end; |
---|
40 | |
---|
41 | OnTouch: |
---|
42 | set Zeny,Zeny -1000; |
---|
43 | disablenpc "ArenaFee#60"; |
---|
44 | end; |
---|
45 | } |
---|
46 | |
---|
47 | force_2-1,99,20,4 script Minilover#arena 124,{ |
---|
48 | |
---|
49 | OnInit: |
---|
50 | set $@mapcount60, 0; |
---|
51 | end; |
---|
52 | |
---|
53 | Onstart: |
---|
54 | initnpctimer; |
---|
55 | set $arena_min60st,gettime(2); |
---|
56 | set $arena_sec60st,gettime(1); |
---|
57 | end; |
---|
58 | |
---|
59 | OnTimer3000: |
---|
60 | mapannounce "force_2-1","Good day, my name is Minilover, the guide of Time Force Battle for lvl 60s!",0; |
---|
61 | end; |
---|
62 | |
---|
63 | OnTimer4000: |
---|
64 | mapannounce "force_2-1","Remember your right decision will save a lot of your time!",0; |
---|
65 | end; |
---|
66 | |
---|
67 | OnTimer5000: |
---|
68 | mapannounce "force_2-1","In order to complete this battle course, you must start from the far left of this room to the clock wise direction. Please move to the far left side. You have 6 minutes from now.",0; |
---|
69 | end; |
---|
70 | |
---|
71 | OnTimer60000: |
---|
72 | set $@mapcount60, getmapusers ("force_2-1"); |
---|
73 | if ($@mapcount60 == 0) { |
---|
74 | donpcevent "Minilover#arena::Onfailclearstage"; |
---|
75 | } |
---|
76 | mapannounce "force_2-1","Remaining Time : 5 minutes ",0; |
---|
77 | end; |
---|
78 | |
---|
79 | OnTimer120000: |
---|
80 | set $@mapcount60, getmapusers ("force_2-1"); |
---|
81 | if ($@mapcount60 == 0) { |
---|
82 | donpcevent "Minilover#arena::Onfailclearstage"; |
---|
83 | } |
---|
84 | mapannounce "force_2-1","Remaining Time : 4 minutes ",0; |
---|
85 | end; |
---|
86 | |
---|
87 | OnTimer180000: |
---|
88 | set $@mapcount60, getmapusers ("force_2-1"); |
---|
89 | if ($@mapcount60 == 0) { |
---|
90 | donpcevent "Minilover#arena::Onfailclearstage"; |
---|
91 | } |
---|
92 | mapannounce "force_2-1","Remaining Time : 3 minutes ",0; |
---|
93 | end; |
---|
94 | |
---|
95 | OnTimer240000: |
---|
96 | set $@mapcount60, getmapusers ("force_2-1"); |
---|
97 | if ($@mapcount60 == 0) { |
---|
98 | donpcevent "Minilover#arena::Onfailclearstage"; |
---|
99 | } |
---|
100 | mapannounce "force_2-1","Remaining Time : 2 minutes ",0; |
---|
101 | end; |
---|
102 | |
---|
103 | OnTimer300000: |
---|
104 | set $@mapcount60, getmapusers ("force_2-1"); |
---|
105 | if ($@mapcount60 == 0) { |
---|
106 | donpcevent "Minilover#arena::Onfailclearstage"; |
---|
107 | } |
---|
108 | mapannounce "force_2-1","Remaining Time : 1 minute ",0; |
---|
109 | end; |
---|
110 | |
---|
111 | OnTimer360000: |
---|
112 | mapannounce "force_2-1","Your time is over. I hope you had a good time~",0; |
---|
113 | end; |
---|
114 | |
---|
115 | OnTimer365000: |
---|
116 | OnTimer366000: |
---|
117 | OnTimer367000: |
---|
118 | OnTimer368000: |
---|
119 | OnTimer369000: |
---|
120 | OnTimer370000: |
---|
121 | OnTimer371000: |
---|
122 | OnTimer372000: |
---|
123 | OnTimer373000: |
---|
124 | OnTimer374000: |
---|
125 | mapwarp "force_2-1","prt_are_in",126,139,0,0; |
---|
126 | end; |
---|
127 | |
---|
128 | OnTimer375000: |
---|
129 | mapwarp "force_2-1","prt_are_in",126,139,0,0; |
---|
130 | donpcevent "Minilover#arena::Onfailclearstage"; |
---|
131 | end; |
---|
132 | |
---|
133 | Ontimeroff: |
---|
134 | stopnpctimer; |
---|
135 | end; |
---|
136 | |
---|
137 | Onfailclearstage: |
---|
138 | donpcevent "cast#60::Ontimeover1"; |
---|
139 | mapwarp "force_2-1","prt_are_in",126,139,0,0; |
---|
140 | donpcevent "Minilover#arena::Ontimeroff"; |
---|
141 | donpcevent "arena#60::Onreset_all"; |
---|
142 | donpcevent "alloff#60::Onon"; |
---|
143 | donpcevent "lvl 60s Waiting Room::Onstart"; |
---|
144 | end; |
---|
145 | |
---|
146 | On01_start: |
---|
147 | mapannounce "force_2-1","In order to clear this battle, you must kill at least 5 Goblins while dodging Rotar Zairos!",0; |
---|
148 | end; |
---|
149 | |
---|
150 | On01_end: |
---|
151 | mapannounce "force_2-1","A door to the north room has opened!",0; |
---|
152 | end; |
---|
153 | |
---|
154 | On02_start: |
---|
155 | mapannounce "force_2-1","Escape to the north exit from the monsters!",0; |
---|
156 | end; |
---|
157 | |
---|
158 | On02_end: |
---|
159 | mapannounce "force_2-1","A door to the north room has opened!",0; |
---|
160 | end; |
---|
161 | |
---|
162 | On03_start: |
---|
163 | mapannounce "force_2-1","In order to clear this battle, you must kill all Mantises!",0; |
---|
164 | end; |
---|
165 | |
---|
166 | On03_end: |
---|
167 | mapannounce "force_2-1","Clear! A door to the east room has opened!",0; |
---|
168 | end; |
---|
169 | |
---|
170 | On04_start: |
---|
171 | mapannounce "force_2-1","In order to clear this battle, you must kill all non-aggressive monsters while dodging aggressive monsters!",0; |
---|
172 | end; |
---|
173 | |
---|
174 | On04_end: |
---|
175 | mapannounce "force_2-1","A door to the east room has opened!",0; |
---|
176 | end; |
---|
177 | |
---|
178 | On05_start: |
---|
179 | mapannounce "force_2-1","In order to clear this battle, you must kill all monsters except Hydras and Kaphas!",0; |
---|
180 | end; |
---|
181 | |
---|
182 | On05_end: |
---|
183 | mapannounce "force_2-1","Clear! A door to the south room has opened!",0; |
---|
184 | end; |
---|
185 | |
---|
186 | On06_start: |
---|
187 | mapannounce "force_2-1","In order to clear this battle, you must kill all Miyabi Dolls and escape to the south exit!",0; |
---|
188 | end; |
---|
189 | |
---|
190 | On06_end: |
---|
191 | mapannounce "force_2-1","A door to the south room has opened!",0; |
---|
192 | end; |
---|
193 | |
---|
194 | On07_start: |
---|
195 | mapannounce "force_2-1","In order to clear this battle, you must kill all monsters!",0; |
---|
196 | end; |
---|
197 | |
---|
198 | On07_end: |
---|
199 | mapannounce "force_2-1","Clear! A door to the west room has opened!",0; |
---|
200 | end; |
---|
201 | |
---|
202 | On08_start: |
---|
203 | mapannounce "force_2-1","Please escape to the north exit!",0; |
---|
204 | end; |
---|
205 | |
---|
206 | On09_start: |
---|
207 | mapannounce "force_2-1","In order to clear this battle, you must defeat a Goblin Leader!",0; |
---|
208 | end; |
---|
209 | |
---|
210 | On09_end: |
---|
211 | mapannounce "force_2-1","Boss Clear! - North exit has opened. Thank you.",0; |
---|
212 | end; |
---|
213 | |
---|
214 | } |
---|
215 | |
---|
216 | force_2-1,10,56,4 script arena#60 139,{ |
---|
217 | |
---|
218 | Onreset_01: |
---|
219 | donpcevent "force_01ex#60::Onreset"; |
---|
220 | donpcevent "force_01mob#60::Onreset"; |
---|
221 | donpcevent "force_02start#60::Onon"; |
---|
222 | enablenpc "force_01_02#60"; |
---|
223 | enablenpc "force_02_03#60"; |
---|
224 | end; |
---|
225 | |
---|
226 | Onreset_02: |
---|
227 | donpcevent "force_02mob#60::Onreset"; |
---|
228 | donpcevent "force_03start#60::Onon"; |
---|
229 | end; |
---|
230 | |
---|
231 | Onreset_03: |
---|
232 | enablenpc "force_03_04#60"; |
---|
233 | donpcevent "force_04start#60::Onon"; |
---|
234 | donpcevent "force_03ex#60::Onreset"; |
---|
235 | end; |
---|
236 | |
---|
237 | Onreset_04: |
---|
238 | enablenpc "force_04_05#60"; |
---|
239 | donpcevent "force_05start#60::Onon"; |
---|
240 | donpcevent "force_04ex#60::Onreset"; |
---|
241 | end; |
---|
242 | |
---|
243 | Onreset_05: |
---|
244 | enablenpc "force_05_06#60"; |
---|
245 | donpcevent "force_06start#60::Onon"; |
---|
246 | donpcevent "force_05ex#60::Onreset"; |
---|
247 | donpcevent "force_05mob#60::Onreset"; |
---|
248 | end; |
---|
249 | |
---|
250 | Onreset_06: |
---|
251 | enablenpc "force_06_07#60"; |
---|
252 | donpcevent "force_07start#60::Onon"; |
---|
253 | donpcevent "force_06ex#60::Onreset"; |
---|
254 | donpcevent "force_06mob#60::Onreset"; |
---|
255 | end; |
---|
256 | |
---|
257 | Onreset_07: |
---|
258 | enablenpc "force_07_08#60"; |
---|
259 | donpcevent "force_08start#60::Onon"; |
---|
260 | end; |
---|
261 | |
---|
262 | Onreset_08: |
---|
263 | donpcevent "force_09start#60::Onon"; |
---|
264 | enablenpc "force_08_09#60"; |
---|
265 | end; |
---|
266 | |
---|
267 | Onreset_09: |
---|
268 | enablenpc "force_exit#60"; |
---|
269 | end; |
---|
270 | |
---|
271 | Onstart: |
---|
272 | disablenpc "force_01_02#60"; |
---|
273 | disablenpc "force_02_03#60"; |
---|
274 | disablenpc "force_03_04#60"; |
---|
275 | disablenpc "force_04_05#60"; |
---|
276 | disablenpc "force_05_06#60"; |
---|
277 | disablenpc "force_06_07#60"; |
---|
278 | disablenpc "force_07_08#60"; |
---|
279 | disablenpc "force_08_09#60"; |
---|
280 | disablenpc "force_exit#60"; |
---|
281 | donpcevent "Minilover#arena::Ontimeroff"; |
---|
282 | donpcevent "force_01mob#60::Onreset"; |
---|
283 | donpcevent "force_02mob#60::Onreset"; |
---|
284 | donpcevent "force_03mob#60::Onreset"; |
---|
285 | donpcevent "force_04mob#60::Onreset"; |
---|
286 | donpcevent "force_05mob#60::Onreset"; |
---|
287 | donpcevent "force_06mob#60::Onreset"; |
---|
288 | donpcevent "force_07mob#60::Onreset"; |
---|
289 | donpcevent "force_08mob#60::Onreset"; |
---|
290 | donpcevent "force_09mob#60::Onreset"; |
---|
291 | donpcevent "force_01ex#60::Onreset"; |
---|
292 | donpcevent "force_03ex#60::Onreset"; |
---|
293 | donpcevent "force_04ex#60::Onreset"; |
---|
294 | donpcevent "force_05ex#60::Onreset"; |
---|
295 | donpcevent "force_06ex#60::Onreset"; |
---|
296 | donpcevent "force_08ex#60::Onreset"; |
---|
297 | donpcevent "force_09ex#60::Onreset"; |
---|
298 | enablenpc "force_08_01#60"; |
---|
299 | donpcevent "force_01start#60::Onon"; |
---|
300 | donpcevent "Minilover#arena::Onstart"; |
---|
301 | end; |
---|
302 | |
---|
303 | Onreset_all: |
---|
304 | donpcevent "force_01mob#60::Onreset"; |
---|
305 | donpcevent "force_02mob#60::Onreset"; |
---|
306 | donpcevent "force_03mob#60::Onreset"; |
---|
307 | donpcevent "force_04mob#60::Onreset"; |
---|
308 | donpcevent "force_05mob#60::Onreset"; |
---|
309 | donpcevent "force_06mob#60::Onreset"; |
---|
310 | donpcevent "force_07mob#60::Onreset"; |
---|
311 | donpcevent "force_08mob#60::Onreset"; |
---|
312 | donpcevent "force_09mob#60::Onreset"; |
---|
313 | donpcevent "force_01ex#60::Onreset"; |
---|
314 | donpcevent "force_03ex#60::Onreset"; |
---|
315 | donpcevent "force_04ex#60::Onreset"; |
---|
316 | donpcevent "force_05ex#60::Onreset"; |
---|
317 | donpcevent "force_06ex#60::Onreset"; |
---|
318 | donpcevent "force_08ex#60::Onreset"; |
---|
319 | donpcevent "force_09ex#60::Onreset"; |
---|
320 | end; |
---|
321 | |
---|
322 | } |
---|
323 | |
---|
324 | force_2-1,62,26,1 script force_08_01#60 45,1,1,{ |
---|
325 | |
---|
326 | OnTouch: |
---|
327 | donpcevent "Minilover#arena::On01_start"; |
---|
328 | warp "force_2-1",40,26; |
---|
329 | end; |
---|
330 | } |
---|
331 | |
---|
332 | force_2-1,25,44,1 script force_01_02#60 45,1,1,{ |
---|
333 | |
---|
334 | OnTouch: |
---|
335 | donpcevent "Minilover#arena::On02_start"; |
---|
336 | warp "force_2-1",25,69; |
---|
337 | end; |
---|
338 | } |
---|
339 | |
---|
340 | force_2-1,25,134,1 script force_02_03#60 45,1,1,{ |
---|
341 | |
---|
342 | OnTouch: |
---|
343 | donpcevent "arena#60::Onreset_02"; |
---|
344 | donpcevent "Minilover#arena::On03_start"; |
---|
345 | warp "force_2-1",25,159; |
---|
346 | end; |
---|
347 | } |
---|
348 | |
---|
349 | force_2-1,44,174,1 script force_03_04#60 45,1,1,{ |
---|
350 | |
---|
351 | OnTouch: |
---|
352 | donpcevent "Minilover#arena::On04_start"; |
---|
353 | warp "force_2-1",69,174; |
---|
354 | end; |
---|
355 | } |
---|
356 | |
---|
357 | force_2-1,134,174,1 script force_04_05#60 45,1,1,{ |
---|
358 | |
---|
359 | OnTouch: |
---|
360 | donpcevent "Minilover#arena::On05_start"; |
---|
361 | warp "force_2-1",159,174; |
---|
362 | end; |
---|
363 | } |
---|
364 | |
---|
365 | force_2-1,174,155,1 script force_05_06#60 45,1,1,{ |
---|
366 | |
---|
367 | OnTouch: |
---|
368 | donpcevent "Minilover#arena::On06_start"; |
---|
369 | warp "force_2-1",174,130; |
---|
370 | end; |
---|
371 | } |
---|
372 | |
---|
373 | force_2-1,174,65,1 script force_06_07#60 45,1,1,{ |
---|
374 | |
---|
375 | OnTouch: |
---|
376 | donpcevent "Minilover#arena::On07_start"; |
---|
377 | warp "force_2-1",174,40; |
---|
378 | end; |
---|
379 | } |
---|
380 | |
---|
381 | force_2-1,155,26,1 script force_07_08#60 45,1,1,{ |
---|
382 | |
---|
383 | OnTouch: |
---|
384 | donpcevent "Minilover#arena::On08_start"; |
---|
385 | warp "force_2-1",132,26; |
---|
386 | enablenpc "force_08_09#60"; |
---|
387 | end; |
---|
388 | } |
---|
389 | |
---|
390 | force_2-1,99,54,1 script force_08_09#60 45,1,1,{ |
---|
391 | |
---|
392 | OnTouch: |
---|
393 | donpcevent "Minilover#arena::On09_start"; |
---|
394 | warp "force_2-1",99,82; |
---|
395 | end; |
---|
396 | } |
---|
397 | |
---|
398 | force_2-1,99,124,1 script force_exit#60 45,1,1,{ |
---|
399 | |
---|
400 | OnTouch: |
---|
401 | donpcevent "Minilover#arena::Ontimeroff"; |
---|
402 | donpcevent "#arn_timer_60::Onon"; |
---|
403 | mapwarp "force_2-1","prt_are_in",22,139,0,0; |
---|
404 | end; |
---|
405 | } |
---|
406 | |
---|
407 | force_2-1,1,1,1 script force_01start#60 -1,{ |
---|
408 | |
---|
409 | Onon: |
---|
410 | donpcevent "force_01mob#60::Onon"; |
---|
411 | end; |
---|
412 | } |
---|
413 | |
---|
414 | force_2-1,10,56,4 script force_01ex#60 139,{ |
---|
415 | |
---|
416 | Onreset: |
---|
417 | killmonster "force_2-1","force_01ex#60::OnMobEx"; |
---|
418 | end; |
---|
419 | |
---|
420 | Onon: |
---|
421 | monster "force_2-1",25,25,"Rotar Zairo",1392,1,"force_01ex#60::OnMobEx"; |
---|
422 | end; |
---|
423 | |
---|
424 | OnMobEx: |
---|
425 | end; |
---|
426 | } |
---|
427 | |
---|
428 | force_2-1,10,55,4 script force_01mob#60 139,{ |
---|
429 | |
---|
430 | Onreset: |
---|
431 | killmonster "force_2-1","force_01mob#60::OnMobDeath"; |
---|
432 | end; |
---|
433 | |
---|
434 | Onon: |
---|
435 | donpcevent "force_01ex#60::Onon"; |
---|
436 | monster "force_2-1",25,32,"Goblin Archer",1577,1,"force_01mob#60::OnMobDeath"; |
---|
437 | monster "force_2-1",21,260,"Goblin",1534,1,"force_01mob#60::OnMobDeath"; |
---|
438 | monster "force_2-1",25,36,"Goblin",1536,1,"force_01mob#60::OnMobDeath"; |
---|
439 | monster "force_2-1",25,15,"Goblin",1534,1,"force_01mob#60::OnMobDeath"; |
---|
440 | monster "force_2-1",40,30,"Goblin",1536,1,"force_01mob#60::OnMobDeath"; |
---|
441 | monster "force_2-1",25,24,"Goblin",1534,1,"force_01mob#60::OnMobDeath"; |
---|
442 | monster "force_2-1",25,9,"Goblin",1536,1,"force_01mob#60::OnMobDeath"; |
---|
443 | monster "force_2-1",28,15,"Goblin Archer",1577,1,"force_01mob#60::OnMobDeath"; |
---|
444 | monster "force_2-1",12,33,"Goblin",1536,1,"force_01mob#60::OnMobDeath"; |
---|
445 | monster "force_2-1",24,20,"Goblin",1535,1,"force_01mob#60::OnMobDeath"; |
---|
446 | set $force_01_60,5; |
---|
447 | end; |
---|
448 | |
---|
449 | OnMobDeath: |
---|
450 | set $force_01_60,$force_01_60 -1; |
---|
451 | if ($force_01_60 < 1) { |
---|
452 | donpcevent "Minilover#arena::On01_end"; |
---|
453 | donpcevent "arena#60::Onreset_01"; |
---|
454 | } |
---|
455 | end; |
---|
456 | } |
---|
457 | |
---|
458 | force_2-1,1,1,1 script force_02start#60 -1,{ |
---|
459 | |
---|
460 | Onon: |
---|
461 | donpcevent "force_02mob#60::Onon"; |
---|
462 | end; |
---|
463 | } |
---|
464 | |
---|
465 | force_2-1,10,54,4 script force_02mob#60 139,{ |
---|
466 | |
---|
467 | Onreset: |
---|
468 | killmonster "force_2-1","force_02mob#60::OnMobEx"; |
---|
469 | end; |
---|
470 | Onon: |
---|
471 | monster "force_2-1",24,76,"Drainliar",1434,1,"force_02mob#60::OnMobEx"; |
---|
472 | monster "force_2-1",28,76,"Drainliar",1434,1,"force_02mob#60::OnMobEx"; |
---|
473 | monster "force_2-1",24,86,"Drainliar",1434,1,"force_02mob#60::OnMobEx"; |
---|
474 | monster "force_2-1",24,76,"Drainliar",1434,1,"force_02mob#60::OnMobEx"; |
---|
475 | monster "force_2-1",28,76,"Drainliar",1434,1,"force_02mob#60::OnMobEx"; |
---|
476 | monster "force_2-1",24,86,"Drainliar",1434,1,"force_02mob#60::OnMobEx"; |
---|
477 | monster "force_2-1",24,76,"Drainliar",1434,1,"force_02mob#60::OnMobEx"; |
---|
478 | monster "force_2-1",28,76,"Drainliar",1434,1,"force_02mob#60::OnMobEx"; |
---|
479 | monster "force_2-1",23,76,"Requiem",1468,1,"force_02mob#60::OnMobEx"; |
---|
480 | monster "force_2-1",27,76,"Requiem",1468,1,"force_02mob#60::OnMobEx"; |
---|
481 | monster "force_2-1",25,86,"Requiem",1468,1,"force_02mob#60::OnMobEx"; |
---|
482 | monster "force_2-1",26,86,"Ghoul",1423,1,"force_02mob#60::OnMobEx"; |
---|
483 | monster "force_2-1",25,100,"Ghoul",1423,1,"force_02mob#60::OnMobEx"; |
---|
484 | monster "force_2-1",26,118,"Ghoul",1423,1,"force_02mob#60::OnMobEx"; |
---|
485 | monster "force_2-1",25,100,"Ghoul",1423,1,"force_02mob#60::OnMobEx"; |
---|
486 | monster "force_2-1",26,118,"Ghoul",1423,1,"force_02mob#60::OnMobEx"; |
---|
487 | monster "force_2-1",28,79,"Zerom",1470,1,"force_02mob#60::OnMobEx"; |
---|
488 | monster "force_2-1",23,87,"Zerom",1470,1,"force_02mob#60::OnMobEx"; |
---|
489 | monster "force_2-1",28,99,"Zerom",1470,1,"force_02mob#60::OnMobEx"; |
---|
490 | monster "force_2-1",23,112,"Zerom",1470,1,"force_02mob#60::OnMobEx"; |
---|
491 | monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMobEx"; |
---|
492 | monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMobEx"; |
---|
493 | monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMobEx"; |
---|
494 | monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMobEx"; |
---|
495 | monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMobEx"; |
---|
496 | monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMobEx"; |
---|
497 | monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMobEx"; |
---|
498 | monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMobEx"; |
---|
499 | monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMobEx"; |
---|
500 | monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMobEx"; |
---|
501 | end; |
---|
502 | |
---|
503 | OnMobEx: |
---|
504 | end; |
---|
505 | } |
---|
506 | |
---|
507 | force_2-1,1,1,1 script force_03start#60 -1,{ |
---|
508 | |
---|
509 | Onon: |
---|
510 | donpcevent "force_03mob#60::Onon"; |
---|
511 | end; |
---|
512 | } |
---|
513 | |
---|
514 | force_2-1,10,53,4 script force_03ex#60 139,{ |
---|
515 | |
---|
516 | Onreset: |
---|
517 | killmonster "force_2-1","force_03ex#60::OnMobEx"; |
---|
518 | end; |
---|
519 | |
---|
520 | Onon: |
---|
521 | monster "force_2-1",26,173,"Hydra",1579,1,"force_03ex#60::OnMobEx"; |
---|
522 | monster "force_2-1",21,173,"Hydra",1579,1,"force_03ex#60::OnMobEx"; |
---|
523 | monster "force_2-1",31,173,"Hydra",1579,1,"force_03ex#60::OnMobEx"; |
---|
524 | monster "force_2-1",26,178,"Hydra",1579,1,"force_03ex#60::OnMobEx"; |
---|
525 | monster "force_2-1",21,178,"Hydra",1579,1,"force_03ex#60::OnMobEx"; |
---|
526 | monster "force_2-1",31,178,"Hydra",1579,1,"force_03ex#60::OnMobEx"; |
---|
527 | monster "force_2-1",19,174,"Obeaune",1425,1,"force_03ex#60::OnMobEx"; |
---|
528 | monster "force_2-1",26,161,"Obeaune",1425,1,"force_03ex#60::OnMobEx"; |
---|
529 | monster "force_2-1",13,173,"Obeaune",1425,1,"force_03ex#60::OnMobEx"; |
---|
530 | monster "force_2-1",38,173,"Obeaune",1425,1,"force_03ex#60::OnMobEx"; |
---|
531 | end; |
---|
532 | |
---|
533 | OnMobEx: |
---|
534 | end; |
---|
535 | } |
---|
536 | |
---|
537 | force_2-1,11,56,4 script force_03mob#60 139,{ |
---|
538 | |
---|
539 | Onon: |
---|
540 | donpcevent "force_03ex#60::Onon"; |
---|
541 | monster "force_2-1",23,174,"Mantis",1457,1,"force_03mob#60::OnMobDeath"; |
---|
542 | monster "force_2-1",18,173,"Mantis",1457,1,"force_03mob#60::OnMobDeath"; |
---|
543 | monster "force_2-1",33,173,"Mantis",1457,1,"force_03mob#60::OnMobDeath"; |
---|
544 | monster "force_2-1",26,181,"Mantis",1457,1,"force_03mob#60::OnMobDeath"; |
---|
545 | set $force_03_60,4; |
---|
546 | end; |
---|
547 | |
---|
548 | Onreset: |
---|
549 | killmonster "force_2-1","force_mob01#60::OnMobDeath"; |
---|
550 | end; |
---|
551 | |
---|
552 | OnMobDeath: |
---|
553 | set $force_03_60,$force_03_60 -1; |
---|
554 | if ($force_03_60 < 1) { |
---|
555 | donpcevent "Minilover#arena::On03_end"; |
---|
556 | donpcevent "arena#60::Onreset_03"; |
---|
557 | } |
---|
558 | end; |
---|
559 | } |
---|
560 | |
---|
561 | force_2-1,1,1,1 script force_04start#60 -1,{ |
---|
562 | |
---|
563 | Onon: |
---|
564 | donpcevent "force_04mob#60::Onon"; |
---|
565 | end; |
---|
566 | } |
---|
567 | |
---|
568 | force_2-1,10,56,4 script force_04ex#60 139,{ |
---|
569 | |
---|
570 | Onreset: |
---|
571 | killmonster "force_2-1","force_04ex#60::OnMobEx"; |
---|
572 | end; |
---|
573 | |
---|
574 | Onon: |
---|
575 | monster "force_2-1",84,177,"Sasquatch",1442,1,"force_04ex#60::OnMobEx"; |
---|
576 | monster "force_2-1",125,170,"Sasquatch",1442,1,"force_04ex#60::OnMobEx"; |
---|
577 | monster "force_2-1",109,172,"Baby Leopard",1524,1,"force_04ex#60::OnMobEx"; |
---|
578 | monster "force_2-1",121,172,"Baby Leopard",1524,1,"force_04ex#60::OnMobEx"; |
---|
579 | monster "force_2-1",104,173,"Chepet",1444,1,"force_04ex#60::OnMobEx"; |
---|
580 | monster "force_2-1",75,174,"Dokebi",1491,1,"force_04ex#60::OnMobEx"; |
---|
581 | monster "force_2-1",102,176,"Dokebi",1491,1,"force_04ex#60::OnMobEx"; |
---|
582 | end; |
---|
583 | |
---|
584 | OnMobEx: |
---|
585 | end; |
---|
586 | } |
---|
587 | |
---|
588 | force_2-1,11,57,4 script force_04mob#60 139,{ |
---|
589 | |
---|
590 | Onreset: |
---|
591 | killmonster "force_2-1","force_04mob#60::OnMobDeath"; |
---|
592 | end; |
---|
593 | |
---|
594 | Onon: |
---|
595 | donpcevent "force_04ex#60::Onon"; |
---|
596 | monster "force_2-1",79,174,"Golem",1540,1,"force_04mob#60::OnMobDeath"; |
---|
597 | monster "force_2-1",131,178,"Marse",1551,1,"force_04mob#60::OnMobDeath"; |
---|
598 | set $force_04_60,2; |
---|
599 | end; |
---|
600 | |
---|
601 | OnMobDeath: |
---|
602 | set $force_04_60,$force_04_60 -1; |
---|
603 | if ($force_04_60 < 1) { |
---|
604 | donpcevent "force_04ex#60::Onreset"; |
---|
605 | donpcevent "Minilover#arena::On04_end"; |
---|
606 | donpcevent "arena#60::Onreset_04"; |
---|
607 | } |
---|
608 | end; |
---|
609 | } |
---|
610 | |
---|
611 | force_2-1,1,1,1 script force_05start#60 -1,{ |
---|
612 | |
---|
613 | Onon: |
---|
614 | donpcevent "force_05mob#60::Onon"; |
---|
615 | end; |
---|
616 | } |
---|
617 | |
---|
618 | force_2-1,12,56,4 script force_05ex#60 139,{ |
---|
619 | |
---|
620 | Onreset: |
---|
621 | killmonster "force_2-1","force_05ex#60::OnMobEx"; |
---|
622 | end; |
---|
623 | |
---|
624 | Onsummonmob_05: |
---|
625 | monster "force_2-1",168,177,"Hydra",1579,1,"force_05ex#60::OnMobEx"; |
---|
626 | monster "force_2-1",170,179,"Hydra",1579,1,"force_05ex#60::OnMobEx"; |
---|
627 | monster "force_2-1",177,179,"Hydra",1579,1,"force_05ex#60::OnMobEx"; |
---|
628 | monster "force_2-1",179,178,"Hydra",1579,1,"force_05ex#60::OnMobEx"; |
---|
629 | monster "force_2-1",179,170,"Hydra",1579,1,"force_05ex#60::OnMobEx"; |
---|
630 | monster "force_2-1",177,168,"Hydra",1579,1,"force_05ex#60::OnMobEx"; |
---|
631 | monster "force_2-1",170,168,"Hydra",1579,1,"force_05ex#60::OnMobEx"; |
---|
632 | monster "force_2-1",173,174,"Hydra",1579,1,"force_05ex#60::OnMobEx"; |
---|
633 | monster "force_2-1",174,174,"Hydra",1579,1,"force_05ex#60::OnMobEx"; |
---|
634 | monster "force_2-1",173,173,"Hydra",1579,1,"force_05ex#60::OnMobEx"; |
---|
635 | monster "force_2-1",174,173,"Hydra",1579,1,"force_05ex#60::OnMobEx"; |
---|
636 | monster "force_2-1",173,181,"Kapha",1543,1,"force_05ex#60::OnMobEx"; |
---|
637 | end; |
---|
638 | |
---|
639 | OnMobEx: |
---|
640 | end; |
---|
641 | } |
---|
642 | |
---|
643 | force_2-1,24,56,4 script force_05mob#60 139,{ |
---|
644 | |
---|
645 | Onreset: |
---|
646 | killmonster "force_2-1","force_05mob#60::OnMobDeath"; |
---|
647 | end; |
---|
648 | |
---|
649 | Onon: |
---|
650 | donpcevent "force_05ex#60::Onsummonmob_05"; |
---|
651 | monster "force_2-1",163,173,"Drainliar",1434,1,"force_05mob#60::OnMobDeath"; |
---|
652 | monster "force_2-1",173,173,"Myst",1553,1,"force_05mob#60::OnMobDeath"; |
---|
653 | monster "force_2-1",181,173,"Orc Skeleton",1462,1,"force_05mob#60::OnMobDeath"; |
---|
654 | monster "force_2-1",171,177,"Orc Skeleton",1462,1,"force_05mob#60::OnMobDeath"; |
---|
655 | monster "force_2-1",173,181,"Raggler",1445,1,"force_05mob#60::OnMobDeath"; |
---|
656 | set $force_05_60,5; |
---|
657 | end; |
---|
658 | |
---|
659 | OnMobDeath: |
---|
660 | set $force_05_60,$force_05_60 -1; |
---|
661 | if ($force_05_60 < 1) { |
---|
662 | donpcevent "Minilover#arena::On05_end"; |
---|
663 | donpcevent "arena#60::Onreset_05"; |
---|
664 | } |
---|
665 | end; |
---|
666 | } |
---|
667 | |
---|
668 | force_2-1,1,1,1 script force_06start#60 -1,{ |
---|
669 | |
---|
670 | Onon: |
---|
671 | donpcevent "force_06mob#60::Onon"; |
---|
672 | end; |
---|
673 | } |
---|
674 | |
---|
675 | force_2-1,10,56,4 script force_06ex#60 139,{ |
---|
676 | |
---|
677 | Onreset: |
---|
678 | killmonster "force_2-1","force_06ex#60::OnMobEx"; |
---|
679 | end; |
---|
680 | |
---|
681 | Onon: |
---|
682 | monster "force_2-1",169,130,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
683 | monster "force_2-1",178,130,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
684 | monster "force_2-1",169,125,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
685 | monster "force_2-1",178,125,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
686 | monster "force_2-1",169,120,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
687 | monster "force_2-1",178,120,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
688 | monster "force_2-1",169,115,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
689 | monster "force_2-1",178,115,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
690 | monster "force_2-1",169,110,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
691 | monster "force_2-1",178,110,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
692 | monster "force_2-1",169,105,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
693 | monster "force_2-1",178,105,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
694 | monster "force_2-1",169,100,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
695 | monster "force_2-1",178,100,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
696 | monster "force_2-1",169,95,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
697 | monster "force_2-1",178,95,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
698 | monster "force_2-1",169,90,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
699 | monster "force_2-1",178,90,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
700 | monster "force_2-1",169,85,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
701 | monster "force_2-1",178,85,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
702 | monster "force_2-1",169,80,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
703 | monster "force_2-1",178,80,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
704 | monster "force_2-1",169,75,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
705 | monster "force_2-1",178,75,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; |
---|
706 | end; |
---|
707 | |
---|
708 | Onsubon: |
---|
709 | set $@randmonster60,rand(1,3); |
---|
710 | switch($@randmonster60) { |
---|
711 | case 1: |
---|
712 | monster "force_2-1",rand(170,177),rand(70,120),"Sidewinder",1424,1,"force_06ex#60::OnMobEx"; |
---|
713 | break; |
---|
714 | case 2: |
---|
715 | monster "force_2-1",rand(170,177),rand(70,120),"Hermit Plant",1565,1,"force_06ex#60::OnMobEx"; |
---|
716 | break; |
---|
717 | case 3: |
---|
718 | monster "force_2-1",rand(170,177),rand(70,120),"Cruiser",1443,1,"force_06ex#60::OnMobEx"; |
---|
719 | break; |
---|
720 | } |
---|
721 | end; |
---|
722 | |
---|
723 | OnMobEx: |
---|
724 | end; |
---|
725 | } |
---|
726 | |
---|
727 | force_2-1,18,56,4 script force_06mob#60 139,{ |
---|
728 | |
---|
729 | Onreset: |
---|
730 | killmonster "force_2-1","force_06mob#60::OnMobDeath"; |
---|
731 | end; |
---|
732 | |
---|
733 | Onon: |
---|
734 | donpcevent "force_06ex#60::Onon"; |
---|
735 | monster "force_2-1",174,100,"Miyabi Doll",1552,1,"force_06mob#60::OnMobDeath"; |
---|
736 | monster "force_2-1",174,80,"Miyabi Doll",1552,1,"force_06mob#60::OnMobDeath"; |
---|
737 | set $force_06_60,2; |
---|
738 | end; |
---|
739 | |
---|
740 | OnMobDeath: |
---|
741 | set $force_06_60,$force_06_60 -1; |
---|
742 | if ($force_06_60 < 1) { |
---|
743 | set door, 1; |
---|
744 | donpcevent "Minilover#arena::On06_end"; |
---|
745 | donpcevent "arena#60::Onreset_06"; |
---|
746 | } |
---|
747 | else donpcevent "force_06ex#60::Onsubon"; |
---|
748 | end; |
---|
749 | } |
---|
750 | |
---|
751 | force_2-1,1,1,1 script force_07start#60 -1,{ |
---|
752 | |
---|
753 | Onon: |
---|
754 | donpcevent "force_07mob#60::Onon"; |
---|
755 | end; |
---|
756 | } |
---|
757 | |
---|
758 | force_2-1,19,56,4 script force_07mob#60 139,{ |
---|
759 | |
---|
760 | Onreset: |
---|
761 | killmonster "force_2-1","force_07mob#60::OnMobDeath"; |
---|
762 | end; |
---|
763 | |
---|
764 | Onon: |
---|
765 | monster "force_2-1",170,25,"Jakk",1436,1,"force_07mob#60::OnMobDeath"; |
---|
766 | monster "force_2-1",170,25,"Jakk",1436,1,"force_07mob#60::OnMobDeath"; |
---|
767 | monster "force_2-1",175,25,"Myst",1553,1,"force_07mob#60::OnMobDeath"; |
---|
768 | monster "force_2-1",179,25,"Isis",1421,1,"force_07mob#60::OnMobDeath"; |
---|
769 | set $force_07_50,4; |
---|
770 | end; |
---|
771 | |
---|
772 | OnMobDeath: |
---|
773 | set $force_07_50,$force_07_50 -1; |
---|
774 | if ($force_07_50 < 1) { |
---|
775 | donpcevent "Minilover#arena::On07_end"; |
---|
776 | donpcevent "arena#60::Onreset_07"; |
---|
777 | } |
---|
778 | end; |
---|
779 | } |
---|
780 | |
---|
781 | force_2-1,1,1,1 script force_08start#60 -1,{ |
---|
782 | |
---|
783 | Onon: |
---|
784 | donpcevent "force_08ex#60::Onon"; |
---|
785 | end; |
---|
786 | } |
---|
787 | |
---|
788 | force_2-1,18,57,4 script force_08ex#60 139,{ |
---|
789 | |
---|
790 | Onon: |
---|
791 | donpcevent "arena#60::Onreset_08"; |
---|
792 | end; |
---|
793 | } |
---|
794 | |
---|
795 | force_2-1,1,1,1 script force_09start#60 -1,{ |
---|
796 | |
---|
797 | Onon: |
---|
798 | donpcevent "force_09mob#60::Onon"; |
---|
799 | end; |
---|
800 | } |
---|
801 | |
---|
802 | force_2-1,10,59,4 script force_09ex#60 139,{ |
---|
803 | |
---|
804 | Onreset: |
---|
805 | killmonster "force_2-1","force_09ex#60::OnMobEx"; |
---|
806 | end; |
---|
807 | |
---|
808 | Onsummonmob_09: |
---|
809 | monster "force_2-1",90,100,"Horong",1578,1,"force_09ex#60::OnMobEx"; |
---|
810 | monster "force_2-1",92,100,"Horong",1578,1,"force_09ex#60::OnMobEx"; |
---|
811 | monster "force_2-1",99,100,"Horong",1578,1,"force_09ex#60::OnMobEx"; |
---|
812 | monster "force_2-1",105,100,"Horong",1578,1,"force_09ex#60::OnMobEx"; |
---|
813 | monster "force_2-1",91,108,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
814 | monster "force_2-1",91,104,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
815 | monster "force_2-1",91,100,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
816 | monster "force_2-1",91,96,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
817 | monster "force_2-1",91,92,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
818 | monster "force_2-1",95,108,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
819 | monster "force_2-1",99,108,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
820 | monster "force_2-1",100,108,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
821 | monster "force_2-1",104,108,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
822 | monster "force_2-1",108,108,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
823 | monster "force_2-1",108,104,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
824 | monster "force_2-1",108,100,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
825 | monster "force_2-1",108,96,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
826 | monster "force_2-1",108,92,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
827 | monster "force_2-1",104,102,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
828 | monster "force_2-1",196,102,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
829 | monster "force_2-1",114,100,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
830 | monster "force_2-1",121,100,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
831 | monster "force_2-1",85,100,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
832 | monster "force_2-1",78,100,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
833 | monster "force_2-1",96,118,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
834 | monster "force_2-1",103,118,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; |
---|
835 | end; |
---|
836 | |
---|
837 | OnMobEx: |
---|
838 | end; |
---|
839 | } |
---|
840 | |
---|
841 | force_2-1,16,56,4 script force_09mob#60 139,{ |
---|
842 | |
---|
843 | Onon: |
---|
844 | donpcevent "force_09ex#60::Onsummonmob_09"; |
---|
845 | monster "force_2-1",99,99,"Goblin Leader",1539,1,"force_09mob#60::OnMobDeath"; |
---|
846 | set $force_09_60,1; |
---|
847 | end; |
---|
848 | |
---|
849 | Onreset: |
---|
850 | killmonster "force_2-1","force_09mob#60::OnMobDeath"; |
---|
851 | end; |
---|
852 | |
---|
853 | OnMobDeath: |
---|
854 | set $force_09_60,$force_09_60 -1; |
---|
855 | if ($force_09_60 < 1) { |
---|
856 | donpcevent "Minilover#arena::On09_end"; |
---|
857 | donpcevent "arena#60::Onreset_09"; |
---|
858 | donpcevent "arena#60::Onreset_all"; |
---|
859 | set $arena_min60end,gettime(2); |
---|
860 | set $arena_sec60end,gettime(1); |
---|
861 | } |
---|
862 | end; |
---|
863 | } |
---|
864 | |
---|
865 | prt_are_in,129,135,3 script Staff#60-1 67,{ |
---|
866 | |
---|
867 | mes "[Staff]"; |
---|
868 | mes "You did a good job."; |
---|
869 | mes "Even if you have failed to clear a time attack battle, I will reward you with a small amount of arena points."; |
---|
870 | next; |
---|
871 | if (arena_point == 30000) { |
---|
872 | mes "[Staff]"; |
---|
873 | mes "Uh huh!"; |
---|
874 | mes "You already have enough arena points."; |
---|
875 | mes "Please spend some arena points later. When I see you next time, I will make sure to give you some reward."; |
---|
876 | next; |
---|
877 | } |
---|
878 | else set arena_point, arena_point + 1; |
---|
879 | mes "[Staff]"; |
---|
880 | mes "Let me guide you outside. I hope you had a good time."; |
---|
881 | close2; |
---|
882 | specialeffect2 4; |
---|
883 | warp "arena_room",100,75; |
---|
884 | end; |
---|
885 | } |
---|
886 | |
---|
887 | prt_are_in,25,135,3 script Staff#60-2 67,{ |
---|
888 | |
---|
889 | if($arena_min60end < $arena_min60st) |
---|
890 | { |
---|
891 | if($arena_sec60end < $arena_sec60st) |
---|
892 | { |
---|
893 | set @record_min60,60 - $arena_min60st + $arena_min60end -1; |
---|
894 | set @record_sec60,60 - $arena_sec60st + $arena_sec60end; |
---|
895 | } |
---|
896 | else |
---|
897 | { |
---|
898 | set @record_min60,60 - $arena_min60st + $arena_min60end; |
---|
899 | set @record_sec60,$arena_sec60end - $arena_sec60st; |
---|
900 | } |
---|
901 | } |
---|
902 | else |
---|
903 | { |
---|
904 | if($arena_sec60end < $arena_sec60st) |
---|
905 | { |
---|
906 | set @record_min60,$arena_min60end - $arena_min60st -1; |
---|
907 | set @record_sec60,60 - $arena_sec60st + $arena_sec60end; |
---|
908 | } |
---|
909 | else |
---|
910 | { |
---|
911 | set @record_min60,$arena_min60end - $arena_min60st; |
---|
912 | set @record_sec60,$arena_sec60end - $arena_sec60st; |
---|
913 | } |
---|
914 | } |
---|
915 | set @gap60,(60 * $top_60min + $top_60sec) - (60 * @record_min60 + @record_sec60); |
---|
916 | mes "[Staff]"; |
---|
917 | mes "Wow, you did a good job~ "; |
---|
918 | mes "Your name is...^3131FF" + strcharinfo(0) +"^000000, isn't it?"; |
---|
919 | mes "^3131FF"+ strcharinfo(0) +"^000000, total time you spent to pass the battle.."; |
---|
920 | next; |
---|
921 | mes "[Staff]"; |
---|
922 | mes "is "+@record_min60+"minutes "+@record_sec60+"seconds."; |
---|
923 | mes "Congratulations!"; |
---|
924 | next; |
---|
925 | mes "[Staff]"; |
---|
926 | mes "The fastest player among people who cleared lvl 60s arena time force battle is ^3131FF"+$arena_60topn$+"^000000."; |
---|
927 | next; |
---|
928 | mes "[Staff]"; |
---|
929 | mes "^3131FF"+$arena_60topn$+"^000000's running time was ^3131FF"+$top_60min+"^000000minutes ^3131FF"+$top_60sec+"^000000seconds."; |
---|
930 | next; |
---|
931 | if (@gap60 < 0) { |
---|
932 | mes "[Staff]"; |
---|
933 | mes "Although you failed to make a new record, I hope you will succeed next time."; |
---|
934 | next; |
---|
935 | if (arena_point > 29980) { |
---|
936 | mes "[Staff]"; |
---|
937 | mes "Then let me reward you with some arena points....eh?"; |
---|
938 | mes "Your arena points have exceeded the maximum amount. I cannot give you more points until you spend some points."; |
---|
939 | next; |
---|
940 | mes "[Staff]"; |
---|
941 | mes "You can check the amount of arena points you have in the arena waiting room."; |
---|
942 | next; |
---|
943 | mes "[Staff]"; |
---|
944 | mes "I hope you had a good time and let me guide you to the entrance of arena."; |
---|
945 | mes "Thank you."; |
---|
946 | close2; |
---|
947 | } |
---|
948 | else |
---|
949 | { |
---|
950 | set arena_point, arena_point + 20; |
---|
951 | mes "[Staff]"; |
---|
952 | mes "Let me reward you some arena points."; |
---|
953 | mes "If you wish to check the amount of arena points you have, please go talk to ^3131FFVendigos^000000 at the arena entrance."; |
---|
954 | next; |
---|
955 | mes "[Staff]"; |
---|
956 | mes "Let me guide you to the entrance of arena."; |
---|
957 | mes "See you later~"; |
---|
958 | close2; |
---|
959 | } |
---|
960 | specialeffect2 4; |
---|
961 | donpcevent "cast#60::Onnomal1"; |
---|
962 | warp "arena_room",100,75; |
---|
963 | donpcevent "#arn_timer_60::Onstop"; |
---|
964 | donpcevent "alloff#60::Onon"; |
---|
965 | donpcevent "lvl 60s Waiting Room::Onstart"; |
---|
966 | end; |
---|
967 | } |
---|
968 | else |
---|
969 | { |
---|
970 | emotion e_omg; |
---|
971 | mes "[Staff]"; |
---|
972 | mes "Wow! You have renewed the record!"; |
---|
973 | mes "What a great job!"; |
---|
974 | next; |
---|
975 | mes "[Staff]"; |
---|
976 | mes "You have been recorded as the fastest player among people who cleared ^FF0000Arena Time Force Battle lvl 60s^000000, ^3131FF"+strcharinfo(0)+"^000000."; |
---|
977 | set $top_60min, @record_min60; |
---|
978 | set $top_60sec, @record_sec60; |
---|
979 | set $arena_60topn$,strcharinfo(0); |
---|
980 | donpcevent "Vendigos::Onlinerec_60"; |
---|
981 | next; |
---|
982 | if (arena_point > 29950) { |
---|
983 | mes "[Staff]"; |
---|
984 | mes "Then let me reward you with some arena points....eh?"; |
---|
985 | mes "Your arena points have exceeded the maximum amount. I cannot give you more points until you spend some points."; |
---|
986 | next; |
---|
987 | mes "[Staff]"; |
---|
988 | mes "You can check the amount of arena points you have in the arena waiting room."; |
---|
989 | next; |
---|
990 | mes "[Staff]"; |
---|
991 | mes "I hope you had a good time and let me guide you to the entrance of arena."; |
---|
992 | mes "Thank you."; |
---|
993 | close2; |
---|
994 | } |
---|
995 | else |
---|
996 | { |
---|
997 | mes "[Staff]"; |
---|
998 | mes "Let me reward you with some arena points."; |
---|
999 | mes "At the same time, since you have renewed the record you will receive an extra amount of the points this time."; |
---|
1000 | next; |
---|
1001 | set arena_point, arena_point + 50; |
---|
1002 | mes "[Staff]"; |
---|
1003 | mes "Let me reward you some arena points."; |
---|
1004 | mes "If you wish to check the amount of arena points you have, please go talk to ^3131FFVendigos^000000 at the arena entrance."; |
---|
1005 | next; |
---|
1006 | mes "[Staff]"; |
---|
1007 | mes "Let me guide you to the entrance of arena."; |
---|
1008 | mes "See you later~"; |
---|
1009 | close2; |
---|
1010 | } |
---|
1011 | specialeffect2 4; |
---|
1012 | donpcevent "cast#60::Onnomal2"; |
---|
1013 | warp "arena_room",100,75; |
---|
1014 | donpcevent "#arn_timer_60::Onstop"; |
---|
1015 | donpcevent "alloff#60::Onon"; |
---|
1016 | donpcevent "lvl 60s Waiting Room::Onstart"; |
---|
1017 | end; |
---|
1018 | } |
---|
1019 | |
---|
1020 | } |
---|
1021 | |
---|
1022 | prt_are_in,14,143,3 script #arn_timer_60 139,{ |
---|
1023 | |
---|
1024 | Onon: |
---|
1025 | initnpctimer; |
---|
1026 | end; |
---|
1027 | |
---|
1028 | OnTimer2000: |
---|
1029 | mapannounce "prt_are_in","This broadcast informs you about the restriction for arena lvl 60s.",0,0xFFCE00; |
---|
1030 | end; |
---|
1031 | |
---|
1032 | OnTimer3000: |
---|
1033 | mapannounce "prt_are_in","For a smooth game play, exit warp portal will be activated in 1 minute.",0,0xFFCE00; |
---|
1034 | end; |
---|
1035 | |
---|
1036 | OnTimer4000: |
---|
1037 | mapannounce "prt_are_in","Please proceed your battle quickly as possible in order to avoid disadvantage. Thank you for your cooperation.",0,0xFFCE00; |
---|
1038 | end; |
---|
1039 | |
---|
1040 | OnTimer60000: |
---|
1041 | donpcevent "cast#60::timeover2"; |
---|
1042 | donpcevent "arn_warp_60::Onout"; |
---|
1043 | donpcevent "#arn_timer_60::Onstop"; |
---|
1044 | donpcevent "alloff#60::Onon"; |
---|
1045 | donpcevent "lvl 60s Waiting Room::Onstart"; |
---|
1046 | end; |
---|
1047 | |
---|
1048 | Onstop: |
---|
1049 | stopnpctimer; |
---|
1050 | end; |
---|
1051 | } |
---|
1052 | |
---|
1053 | prt_are_in,1,1,1 script arn_warp_60 -1,{ |
---|
1054 | |
---|
1055 | Onout: |
---|
1056 | areawarp "prt_are_in",23,131,20,20,"arena_room",100,75; |
---|
1057 | end; |
---|
1058 | } |
---|
1059 | |
---|
1060 | force_2-1,10,55,4 script cast#60 139,{ |
---|
1061 | |
---|
1062 | Ontimeover1: |
---|
1063 | mapannounce "force_2-1","Arena will be reactivated due to an error occurred during battle.",0,0xFFCE00; |
---|
1064 | end; |
---|
1065 | |
---|
1066 | Onnomal1: |
---|
1067 | mapannounce "force_2-1","Arena will be reactivated.",0,0xFFCE00; |
---|
1068 | end; |
---|
1069 | |
---|
1070 | Onnomal2: |
---|
1071 | mapannounce "force_2-1","Arena will be reactivated.",0,0xFFCE00; |
---|
1072 | end; |
---|
1073 | |
---|
1074 | Ontimeover2: |
---|
1075 | mapannounce "force_2-1","Arena will be reactivated due to an error occurred in the waiting room.",0,0xFFCE00; |
---|
1076 | end; |
---|
1077 | } |
---|
1078 | |
---|
1079 | force_2-1,100,60,3 script alloff#60 139,{ |
---|
1080 | |
---|
1081 | Onon: |
---|
1082 | mapwarp "force_2-1","prt_are_in",126,139,0,0; |
---|
1083 | donpcevent "force_01mob#60::Onreset"; |
---|
1084 | donpcevent "force_02mob#60::Onreset"; |
---|
1085 | donpcevent "force_03mob#60::Onreset"; |
---|
1086 | donpcevent "force_04mob#60::Onreset"; |
---|
1087 | donpcevent "force_05mob#60::Onreset"; |
---|
1088 | donpcevent "force_06mob#60::Onreset"; |
---|
1089 | donpcevent "force_07mob#60::Onreset"; |
---|
1090 | donpcevent "force_08mob#60::Onreset"; |
---|
1091 | donpcevent "force_09mob#60::Onreset"; |
---|
1092 | donpcevent "force_01ex#60::Onreset"; |
---|
1093 | donpcevent "force_03ex#60::Onreset"; |
---|
1094 | donpcevent "force_04ex#60::Onreset"; |
---|
1095 | donpcevent "force_05ex#60::Onreset"; |
---|
1096 | donpcevent "force_06ex#60::Onreset"; |
---|
1097 | donpcevent "force_08ex#60::Onreset"; |
---|
1098 | donpcevent "force_09ex#60::Onreset"; |
---|
1099 | donpcevent "Minilover#arena::Ontimeroff"; |
---|
1100 | disablenpc "Minilover#arena"; |
---|
1101 | disablenpc "force_01_02#60"; |
---|
1102 | disablenpc "force_02_03#60"; |
---|
1103 | disablenpc "force_03_04#60"; |
---|
1104 | disablenpc "force_04_05#60"; |
---|
1105 | disablenpc "force_05_06#60"; |
---|
1106 | disablenpc "force_06_07#60"; |
---|
1107 | disablenpc "force_07_08#60"; |
---|
1108 | disablenpc "force_08_09#60"; |
---|
1109 | disablenpc "force_exit#60"; |
---|
1110 | disablenpc "arena#60"; |
---|
1111 | donpcevent "#arn_timer_60::Onstop"; |
---|
1112 | enablenpc "Minilover#arena"; |
---|
1113 | enablenpc "arena#60"; |
---|
1114 | end; |
---|
1115 | |
---|
1116 | OnInit: |
---|
1117 | if(!$top_60min && !$top_60sec) set $top_60min,6; |
---|
1118 | end; |
---|
1119 | |
---|
1120 | } |
---|