root/npc/other/arena/arena_lvl70.txt

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