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