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