summaryrefslogtreecommitdiff
path: root/npc/pre-re/other/arena/arena_lvl70.txt
blob: e3ab5367ffac6c0b0f4779518538da3c2e6f2be0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
//===== Hercules Script ======================================
//= Izlude Arena lvl 70
//===== By: ==================================================
//= SinSloth
//===== Current Version: =====================================
//= 1.1
//===== Description: =========================================
//= Izlude Battle Arena Level 70
//===== Additional Comments: =================================
//= 1.0 First version.
//= 1.1 Replaced effect numerics with constants. [Samuray22]
//============================================================

arena_room,52,42,7	script	lvl 70s Waiting Room	124,{
	end;

OnInit:
	waitingroom "Individual; Level 70 to 89",50,"lvl 70s Waiting Room::OnStartArena",1,1000,70,89;
	enablewaitingroomevent;
	end;

OnStartArena:
	warpwaitingpc "force_3-1",99,12;
	donpcevent "arena#70::Onstart";
	disablewaitingroomevent;
	end;

Onstart:
	enablewaitingroomevent;
	end;
}

force_3-1,99,20,4	script	Cadillac#arena	124,{
	end;

OnInit:
	set $@mapcount70, 0;
	end;

Onstart:
	initnpctimer;
	set $arena_min70st,gettime(2);
	set $arena_sec70st,gettime(1);
	end;

OnTimer3000:
	mapannounce "force_3-1","Good day, my name is Cadillac, the guide of Time Force Battle for lvl 70s!",0;
	end;

OnTimer4000:
	mapannounce "force_3-1","Remember your right decision will save a lot of your time!",0;
	end;

OnTimer7000:
	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;
	end;

OnTimer60000:
	set $@mapcount70, getmapusers ("force_3-1");
	if ($@mapcount70 == 0) {
		donpcevent "Cadillac#arena::Onfailclearstage";
	}
	mapannounce "force_3-1","Remaining Time : 6 minutes ",0;
	end;

OnTimer120000:
	 set $@mapcount70, getmapusers ("force_3-1");
	if ($@mapcount70 == 0) {
		donpcevent "Cadillac#arena::Onfailclearstage";
	}
	mapannounce "force_3-1","Remaining Time : 5 minutes ",0;
	end;

OnTimer180000:
	 set $@mapcount70, getmapusers ("force_3-1");
	if ($@mapcount70 == 0) {
		donpcevent "Cadillac#arena::Onfailclearstage";
	}
	mapannounce "force_3-1","Remaining Time : 4 minutes ",0;
end;
OnTimer240000:
	 set $@mapcount70, getmapusers ("force_3-1");
	if ($@mapcount70 == 0) {
		donpcevent "Cadillac#arena::Onfailclearstage";
	}
	mapannounce "force_3-1","Remaining Time : 3 minutes ",0;
	end;

OnTimer300000:
	 set $@mapcount70, getmapusers ("force_3-1");
	if ($@mapcount70 == 0) {
		donpcevent "Cadillac#arena::Onfailclearstage";
	}
	mapannounce "force_3-1","Remaining Time : 2 minutes ",0;
	end;

OnTimer360000:
	 set $@mapcount70, getmapusers ("force_3-1");
	if ($@mapcount70 == 0) {
		donpcevent "Cadillac#arena::Onfailclearstage";
	}
	mapannounce "force_3-1","Remaining Time : 1 minute ",0;
	end;

OnTimer420000:
	mapannounce "force_3-1","Your time is over. I hope you had a good time~",0;
	end;

OnTimer425000:
OnTimer426000:
OnTimer427000:
OnTimer428000:
OnTimer429000:
OnTimer430000:
OnTimer431000:
OnTimer432000:
OnTimer433000:
OnTimer434000:
	mapwarp "force_3-1","prt_are_in",126,87,0,0;
	end;

OnTimer435000:
	mapwarp "force_3-1","prt_are_in",126,87,0,0;
	donpcevent "Cadillac#arena::Onfailclearstage";
	end;

Ontimeroff:
	stopnpctimer;
	end;

Onfailclearstage:
	donpcevent "cast#70::Ontimeover1";
	mapwarp "force_3-1","prt_are_in",126,87,0,0;
	donpcevent "Cadillac#arena::Ontimeroff";
	donpcevent "arena#70::Onreset_all";
	donpcevent "alloff#70::Onon";
	donpcevent "lvl 70s Waiting Room::Onstart";
	end;

On01_start:
	mapannounce "force_3-1","In order to clear this battle, you must kill all Kobolds!",0;
	end;

On01_end:
	mapannounce "force_3-1","A door to the north room has opened!",0;
	end;

On02_start:
	mapannounce "force_3-1","In order to clear this battle, you must kill all Horongs and escape!",0;
	end;

On02_end:
	mapannounce "force_3-1","A door to the north room has opened!",0;
	end;

On03_start:
	mapannounce "force_3-1","In order to clear this battle, you must kill all monsters except Enchanted Peach Trees!",0;
	end;

On03_end:
	mapannounce "force_3-1","Clear! A door to the east room has opened!",0;
	end;

On04_start:
	mapannounce "force_3-1","In order to clear this battle, you must kill all Stem Worms while dodging Bathories!",0;
	end;

On04_end:
	mapannounce "force_3-1","A door to the east room has opened!",0;
	end;

On05_start:
	mapannounce "force_3-1","In order to clear this battle, you must kill all Argiopes!",0;
	end;

On05_end:
	mapannounce "force_3-1","Clear! A door to the south room has opened!",0;
	end;

On06_start:
	mapannounce "force_3-1","In order to clear this battle, you must kill all Hammer Goblins!",0;
	end;

On06_end:
	mapannounce "force_3-1","A door to the south room has opened!",0;
	end;

On07_start:
	mapannounce "force_3-1","In order to clear this battle, you must kill an Alice in the center!",0;
	end;

On07_end:
	mapannounce "force_3-1","Clear! A door to the west room has opened!",0;
	end;

On08_start:
	mapannounce "force_3-1","Please escape to the north exit!",0;
	end;

On09_start:
	mapannounce "force_3-1","In order to clear this battle, you must kill a Kobold Leader and all Kobolds!",0;
	end;

On09_end:
	mapannounce "force_3-1","Boss Clear! - A door at the north has opened. Thank you. ",0;
	end;

}

-	script	arena#70	-1,{

Onreset_01:
	donpcevent "force_01ex#70::Onreset";
	donpcevent "force_02start#70::Onon";
	enablenpc "force_01_02#70";
	end;

Onreset_02:
	donpcevent "force_02ex#70::Onreset";
	donpcevent "force_03start#70::Onon";
	enablenpc "force_02_03#70";
	end;

Onreset_03:
	enablenpc "force_03_04#70";
	donpcevent "force_04start#70::Onon";
	donpcevent "force_03ex#70::Onreset";
	end;

Onreset_04:
	enablenpc "force_04_05#70";
	donpcevent "force_05start#70::Onon";
	donpcevent "force_04ex#70::Onreset";
	end;

Onreset_05:
	enablenpc "force_05_06#70";
	donpcevent "force_06start#70::Onon";
	donpcevent "force_05ex#70::Onreset";
	end;

Onreset_06:
	enablenpc "force_06_07#70";
	donpcevent "force_07start#70::Onon";
	donpcevent "force_06ex#70::Onreset";
	end;

Onreset_07:
	enablenpc "force_07_08#70";
	donpcevent "force_07ex#70::Onreset";
	donpcevent "force_08start#70::Onon";
	end;

Onreset_08:
	donpcevent "force_09start#70::Onon";
	enablenpc "force_08_09#70";
	end;

Onreset_09:
	enablenpc "force_exit#70";
	end;

Onstart:
	disablenpc "force_01_02#70";
	disablenpc "force_02_03#70";
	disablenpc "force_03_04#70";
	disablenpc "force_04_05#70";
	disablenpc "force_05_06#70";
	disablenpc "force_06_07#70";
	disablenpc "force_07_08#70";
	disablenpc "force_08_09#70";
	disablenpc "force_exit#70";
	donpcevent "Cadillac#arena::Ontimeroff";
	donpcevent "force_09mob#70::Ontimeroff";
	donpcevent "force_01mob#70::Onreset";
	donpcevent "force_02mob#70::Onreset";
	donpcevent "force_03mob#70::Onreset";
	donpcevent "force_04mob#70::Onreset";
	donpcevent "force_05mob#70::Onreset";
	donpcevent "force_06mob#70::Onreset";
	donpcevent "force_07mob#70::Onreset";
	donpcevent "force_08mob#70::Onreset";
	donpcevent "force_09mob#70::Onreset";
	donpcevent "force_01ex#70::Onreset";
	donpcevent "force_02ex#70::Onreset";
	donpcevent "force_03ex#70::Onreset";
	donpcevent "force_04ex#70::Onreset";
	donpcevent "force_05ex#70::Onreset";
	donpcevent "force_06ex#70::Onreset";
	donpcevent "force_07ex#70::Onreset";
	donpcevent "force_08ex#70::Onreset";
	donpcevent "force_09ex#70::Onreset";
	enablenpc "force_08_01#70";
	donpcevent "force_01start#70::Onon";
	donpcevent "Cadillac#arena::Onstart";
	end;

Onreset_all:
	donpcevent "force_01mob#70::Onreset";
	donpcevent "force_02mob#70::Onreset";
	donpcevent "force_03mob#70::Onreset";
	donpcevent "force_04mob#70::Onreset";
	donpcevent "force_05mob#70::Onreset";
	donpcevent "force_06mob#70::Onreset";
	donpcevent "force_07mob#70::Onreset";
	donpcevent "force_09mob#70::Onreset";
	donpcevent "force_01ex#70::Onreset";
	donpcevent "force_02ex#70::Onreset";
	donpcevent "force_03ex#70::Onreset";
	donpcevent "force_04ex#70::Onreset";
	donpcevent "force_05ex#70::Onreset";
	donpcevent "force_06ex#70::Onreset";
	donpcevent "force_07ex#70::Onreset";
	donpcevent "force_08ex#70::Onreset";
	donpcevent "force_09ex#70::Onreset";
	end;

}

force_3-1,62,26,1	script	force_08_01#70	45,1,1,{

OnTouch:
	donpcevent "Cadillac#arena::On01_start";
	warp "force_3-1",40,26;
	end;

}

force_3-1,25,44,1	script	force_01_02#70	45,1,1,{

OnTouch:
	donpcevent "Cadillac#arena::On02_start";
	warp "force_3-1",25,69;
	end;

}

force_3-1,25,134,1	script	force_02_03#70	45,1,1,{

OnTouch:
	donpcevent "Cadillac#arena::On03_start";
	warp "force_3-1",25,159;
	end;

}

force_3-1,44,174,1	script	force_03_04#70	45,1,1,{

OnTouch:
	donpcevent "Cadillac#arena::On04_start";
	warp "force_3-1",69,174;
	end;

}

force_3-1,134,174,1	script	force_04_05#70	45,1,1,{

OnTouch:
	donpcevent "Cadillac#arena::On05_start";
	warp "force_3-1",159,174;
	end;

}

force_3-1,174,155,1	script	force_05_06#70	45,1,1,{

OnTouch:
	donpcevent "Cadillac#arena::On06_start";
	warp "force_3-1",174,130;
	end;

}

force_3-1,174,65,1	script	force_06_07#70	45,1,1,{

OnTouch:
	donpcevent "Cadillac#arena::On07_start";
	warp "force_3-1",174,40;
	end;

}

force_3-1,155,26,1	script	force_07_08#70	45,1,1,{

OnTouch:
	donpcevent "Cadillac#arena::On08_start";
	warp "force_3-1",132,26;
	enablenpc "force_08_09#70";
	end;

}

force_3-1,99,54,1	script	force_08_09#70	45,1,1,{

OnTouch:
	donpcevent "Cadillac#arena::On09_start";
	warp "force_3-1",99,82;
	end;

}

force_3-1,99,124,1	script	force_exit#70	45,1,1,{

OnTouch:
	donpcevent "Cadillac#arena::Ontimeroff";
	donpcevent "#arn_timer_70::Onon";
	mapwarp "force_3-1","prt_are_in",22,87,0,0;
	end;

}

-	script	force_01start#70	-1,{
Onon:
	donpcevent "force_01mob#70::Onon";
end;

}

-	script	force_01mob#70	-1,{

Onon:
	monster "force_3-1",25,36,"Kobold",1545,1,"force_01mob#70::OnMobDeath";
	monster "force_3-1",20,36,"Kobold",1545,1,"force_01mob#70::OnMobDeath";
	monster "force_3-1",25,20,"Kobold",1546,1,"force_01mob#70::OnMobDeath";
	monster "force_3-1",30,36,"Kobold",1547,1,"force_01mob#70::OnMobDeath";
	monster "force_3-1",28,15,"Kobold",1547,1,"force_01mob#70::OnMobDeath";
	set $force_01_70,5;
	end;

Onreset:
	killmonster "force_3-1","force_01mob#70::OnMobDeath";
	end;

OnMobDeath:
	set $force_01_70,$force_01_70 -1;
	if ($force_01_70 < 1) {
		donpcevent "Cadillac#arena::On01_end";
		donpcevent "arena#70::Onreset_01";
	}
	end;
}

-	script	force_02start#70	-1,{

Onon:
	donpcevent "force_02mob#70::Onon";
	end;
}

-	script	force_02ex#70	-1,{

Onreset:
	killmonster "force_3-1","force_02ex#70::OnMobEx";
	end;

Onsummonmob2:
	monster "force_3-1",21,78,"Archer Skeleton",1420,1,"force_02ex#70::OnMobEx";
	monster "force_3-1",22,93,"Archer Skeleton",1420,1,"force_02ex#70::OnMobEx";
	monster "force_3-1",29,93,"Archer Skeleton",1420,1,"force_02ex#70::OnMobEx";
	monster "force_3-1",25,101,"Mummy",1393,1,"force_02ex#70::OnMobEx";
	monster "force_3-1",26,101,"Mummy",1393,1,"force_02ex#70::OnMobEx";
	monster "force_3-1",27,101,"Mummy",1393,1,"force_02ex#70::OnMobEx";
	monster "force_3-1",28,101,"Mummy",1393,1,"force_02ex#70::OnMobEx";
	monster "force_3-1",24,104,"Ghoul",1423,1,"force_02ex#70::OnMobEx";
	monster "force_3-1",24,113,"Ghoul",1423,1,"force_02ex#70::OnMobEx";
	monster "force_3-1",29,120,"Ghoul",1423,1,"force_02ex#70::OnMobEx";
	monster "force_3-1",29,126,"Ghoul",1423,1,"force_02ex#70::OnMobEx";
	monster "force_3-1",30,110,"Ghoul",1423,1,"force_02ex#70::OnMobEx";
	end;

OnMobEx:
	end;
}

-	script	force_02mob#70	-1,{

Onreset:
	killmonster "force_3-1","force_02mob#70::OnMobDeath";
	end;

Onon:
	monster "force_3-1",25,79,"Horong",1578,1,"force_02mob#70::OnMobDeath";
	monster "force_3-1",29,114,"Horong",1578,1,"force_02mob#70::OnMobDeath";
	donpcevent "force_02ex#70::Onsummonmob2";
	set $force_02_70,2;
	end;

OnMobDeath:
	set $force_02_70,$force_02_70 -1;
	if ($force_02_70 < 1) {
		donpcevent "Cadillac#arena::On02_end";
		donpcevent "arena#70::Onreset_02";
	}
	end;
}

-	script	force_03start#70	-1,{

Onon:
	donpcevent "force_03mob#70::Onon";
	end;
}

-	script	force_03ex#70	-1,{

Onreset:
	killmonster "force_3-1","force_03ex#70::OnMobEx";
	end;

Onsummonmob_03:
	monster "force_3-1",10,170,"Enchanted Peach Tree",1550,1,"force_03ex#70::OnMobEx";
	monster "force_3-1",26,180,"Enchanted Peach Tree",1550,1,"force_03ex#70::OnMobEx";
	end;

OnMobEx:
	end;
}

-	script	force_03mob#70	-1,{

Onon:
	donpcevent "force_03ex#70::Onsummonmob_03";
	monster "force_3-1",23,174,"Parasite",1555,1,"force_03mob#70::OnMobDeath";
	monster "force_3-1",33,173,"Parasite",1555,1,"force_03mob#70::OnMobDeath";
	monster "force_3-1",26,166,"Blood Butterfly",1526,1,"force_03mob#70::OnMobDeath";
	set $force_03_70,3;
	end;

Onreset:
	killmonster "force_3-1","force_03mob#70::OnMobDeath";
	end;

OnMobDeath:
	set $force_03_70,$force_03_70 -1;
	donpcevent "force_03ex#70::Onsummonmob_03";
	if ($force_03_70 < 1) {
		donpcevent "Cadillac#arena::On03_end";
		donpcevent "arena#70::Onreset_03";
	}
	end;
}

-	script	force_04start#70	-1,{

Onon:
	donpcevent "force_04mob#70::Onon";
end;

}

-	script	force_04ex#70	-1,{

Onreset:
	killmonster "force_3-1","force_04ex#70::OnMobEx";
	end;

Onsummonmob_04:
	monster "force_3-1",94,179,"Bathory",1525,1,"force_04ex#70::OnMobEx";
	monster "force_3-1",110,179,"Bathory",1525,1,"force_04ex#70::OnMobEx";
	monster "force_3-1",90,170,"Bathory",1525,1,"force_04ex#70::OnMobEx";
	monster "force_3-1",100,170,"Bathory",1525,1,"force_04ex#70::OnMobEx";
	monster "force_3-1",125,178,"Bathory",1525,1,"force_04ex#70::OnMobEx";
	monster "force_3-1",125,169,"Bathory",1525,1,"force_04ex#70::OnMobEx";
	end;

OnMobEx:
	end;

}

-	script	force_04mob#70	-1,{

Onon:
	donpcevent "force_04ex#70::Onsummonmob_04";
	monster "force_3-1",87,174,"Stem Worm",1440,1,"force_04mob#70::OnMobDeath";
	monster "force_3-1",103,174,"Stem Worm",1440,1,"force_04mob#70::OnMobDeath";
	monster "force_3-1",96,170,"Stem Worm",1440,1,"force_04mob#70::OnMobDeath";
	set $force_04_70,3;
	end;
Onreset:
	killmonster "force_3-1","force_04mob#70::OnMobDeath";
	end;

OnMobDeath:
	set $force_04_70,$force_04_70 -1;
	if ($force_04_70 < 1) {
		donpcevent "Cadillac#arena::On04_end";
		donpcevent "arena#70::Onreset_04";
	}
	end;
}

-	script	force_05start#70	-1,{

Onon:
	donpcevent "force_05mob#70::Onon";
	end;
}

-	script	force_05ex#70	-1,{

Onreset:
	killmonster "force_3-1","force_05ex#70::OnMobEx";
	end;

Onsummonmob_05:
	set $@randmonster70,rand(1,2);
	switch($@randmonster70) {
	case 1:
		monster "force_3-1",174,174,"Ride Word",1478,1,"force_05ex#70::OnMobEx";
		break;
	case 2:
		monster "force_3-1",173,173,"Mantis",1457,1,"force_05ex#70::OnMobEx";
		break;
	}
	end;

OnMobEx:
	end;
}

-	script	force_05mob#70	-1,{

Onon:
	monster "force_3-1",164,183,"Argiope",1429,1,"force_05mob#70::OnMobDeath";
	monster "force_3-1",168,158,"Argiope",1429,1,"force_05mob#70::OnMobDeath";
	monster "force_3-1",175,174,"Argiope",1429,1,"force_05mob#70::OnMobDeath";
	monster "force_3-1",176,179,"Argiope",1429,1,"force_05mob#70::OnMobDeath";
	monster "force_3-1",183,160,"Argiope",1429,1,"force_05mob#70::OnMobDeath";
	set $force_05_70,5;
	end;

Onreset:
	killmonster "force_3-1","force_05mob#70::OnMobDeath";
	end;

OnMobDeath:
	set $force_05_70,$force_05_70 -1;
	if ($force_05_70 < 1) {
		donpcevent "Cadillac#arena::On05_end";
		donpcevent "arena#70::Onreset_05";
	}
	else donpcevent "force_05ex#70::Onsummonmob_05";
	end;

}

-	script	force_06start#70	-1,{

Onon:
	donpcevent "force_06mob#70::Onon";
	end;
}

-	script	force_06ex#70	-1,{

Onreset:
	killmonster "force_3-1","force_06ex#70::OnMobEx";
	end;

Onsummonmob_06:
	monster "force_3-1",176,99,"Goblin",1534,1,"force_06ex#70::OnMobEx";
	monster "force_3-1",170,86,"Goblin",1535,1,"force_06ex#70::OnMobEx";
	monster "force_3-1",176,97,"Goblin",1535,1,"force_06ex#70::OnMobEx";
	monster "force_3-1",170,108,"Goblin",1535,1,"force_06ex#70::OnMobEx";
	monster "force_3-1",176,112,"Goblin",1536,1,"force_06ex#70::OnMobEx";
	monster "force_3-1",173,120,"Goblin",1536,1,"force_06ex#70::OnMobEx";
	monster "force_3-1",177,74,"Goblin",1536,1,"force_06ex#70::OnMobEx";
	monster "force_3-1",173,118,"Goblin",1538,1,"force_06ex#70::OnMobEx";
	monster "force_3-1",171,101,"Goblin",1538,1,"force_06ex#70::OnMobEx";
	monster "force_3-1",174,118,"Goblin",1538,1,"force_06ex#70::OnMobEx";
	end;

OnMobEx:
	end;
}

-	script	force_06mob#70	-1,{

Onon:
	donpcevent "force_06ex#70::Onsummonmob_06";
	monster "force_3-1",173,90,"Goblin",1537,1,"force_06mob#70::OnMobDeath";
	monster "force_3-1",173,79,"Goblin",1537,1,"force_06mob#70::OnMobDeath";
	monster "force_3-1",172,70,"Goblin",1537,1,"force_06mob#70::OnMobDeath";
	monster "force_3-1",175,70,"Goblin",1537,1,"force_06mob#70::OnMobDeath";
	monster "force_3-1",171,118,"Goblin",1537,1,"force_06mob#70::OnMobDeath";
	set $force_06_70,5;
	end;

Onreset:
	killmonster "force_3-1","force_06mob#70::OnMobDeath";
	end;

OnMobDeath:
	set $force_06_70,$force_06_70 -1;
	if ($force_06_70 < 1) {
		donpcevent "Cadillac#arena::On06_end";
		donpcevent "arena#70::Onreset_06";
	}
	end;
}

-	script	force_07start#70	-1,{

Onon:
	donpcevent "force_07mob#70::Onon";
	end;
}

-	script	force_07ex#70	-1,{

Onreset:
	killmonster "force_3-1","force_07ex#70::OnMobEx";
	end;

Onsummonmob_07:
	monster "force_3-1",168,26,"Nightmare",1427,1,"force_07ex#70::OnMobEx";
	monster "force_3-1",186,23,"Nightmare",1427,1,"force_07ex#70::OnMobEx";
	monster "force_3-1",160,23,"Nightmare",1427,1,"force_07ex#70::OnMobEx";
	monster "force_3-1",188,33,"Nightmare",1427,1,"force_07ex#70::OnMobEx";
	monster "force_3-1",174,13,"Raydric",1453,1,"force_07ex#70::OnMobEx";
	monster "force_3-1",163,15,"Farmiliar",1419,1,"force_07ex#70::OnMobEx";
	monster "force_3-1",164,15,"Farmiliar",1419,1,"force_07ex#70::OnMobEx";
	monster "force_3-1",163,16,"Farmiliar",1419,1,"force_07ex#70::OnMobEx";
	monster "force_3-1",164,16,"Farmiliar",1419,1,"force_07ex#70::OnMobEx";
	monster "force_3-1",187,13,"Farmiliar",1419,1,"force_07ex#70::OnMobEx";
	monster "force_3-1",187,14,"Farmiliar",1419,1,"force_07ex#70::OnMobEx";
	monster "force_3-1",186,14,"Farmiliar",1419,1,"force_07ex#70::OnMobEx";
	monster "force_3-1",186,14,"Farmiliar",1419,1,"force_07ex#70::OnMobEx";


OnMobEx:
	end;
}

-	script	force_07mob#70	-1,{

Onon:
	donpcevent "force_07ex#70::Onsummonmob_07";
	monster "force_3-1",174,25,"Alice",1521,1,"force_07mob#70::OnMobDeath";
	set $force_07_70,1;
	end;

Onreset:
	killmonster "force_3-1","force_07mob#70::OnMobDeath";
	end;

OnMobDeath:
	set $force_07_70,$force_07_70 -1;
	if ($force_07_70 < 1) {
		donpcevent "Cadillac#arena::On07_end";
		donpcevent "arena#70::Onreset_07";
	}
	end;
}

-	script	force_08start#70	-1,{

Onon:
	donpcevent "force_08ex#70::Onon";
	end;
}

-	script	force_08ex#70	-1,{

Onon:
	donpcevent "arena#70::Onreset_08";
	end;
}

-	script	force_09start#70	-1,{

Onon:
	donpcevent "force_09mob#70::Onon";
	end;
}

-	script	force_09ex#70	-1,{

Onreset:
	killmonster "force_3-1","force_09ex#70::OnMobEx";
	end;

Onsummonmob_09:
	monster "force_3-1",93,100,"Familiar",1419,1,"force_09ex#70::OnMobEx";
	monster "force_3-1",94,100,"Familiar",1419,1,"force_09ex#70::OnMobEx";
	monster "force_3-1",93,99,"Familiar",1419,1,"force_09ex#70::OnMobEx";
	monster "force_3-1",85,114,"Familiar",1419,1,"force_09ex#70::OnMobEx";
	monster "force_3-1",87,114,"Familiar",1419,1,"force_09ex#70::OnMobEx";
	monster "force_3-1",89,114,"Familiar",1419,1,"force_09ex#70::OnMobEx";
	monster "force_3-1",91,114,"Familiar",1419,1,"force_09ex#70::OnMobEx";
	monster "force_3-1",93,114,"Familiar",1419,1,"force_09ex#70::OnMobEx";
	monster "force_3-1",95,114,"Familiar",1419,1,"force_09ex#70::OnMobEx";
	monster "force_3-1",85,112,"Familiar",1419,1,"force_09ex#70::OnMobEx";
	monster "force_3-1",85,110,"Familiar",1419,1,"force_09ex#70::OnMobEx";
	monster "force_3-1",85,108,"Familiar",1419,1,"force_09ex#70::OnMobEx";
	monster "force_3-1",85,106,"Familiar",1419,1,"force_09ex#70::OnMobEx";
	monster "force_3-1",85,104,"Familiar",1419,1,"force_09ex#70::OnMobEx";
	end;

OnMobEx:
	end;
}

-	script	force_09mob#70	-1,{

Onon:
	monster "force_3-1",99,99,"Kobold Leader",1548,1,"force_09mob#70::OnMobDeath";
	monster "force_3-1",98,99,"Kobold",1545,1,"force_09mob#70::OnMobDeath";
	monster "force_3-1",100,99,"Kobold",1546,1,"force_09mob#70::OnMobDeath";
	monster "force_3-1",99,98,"Kobold",1547,1,"force_09mob#70::OnMobDeath";
	donpcevent "force_09ex#70::Onsummonmob_09";
	set $force_09_70,4;
	end;

Onreset:
	killmonster "force_3-1","force_09mob#70::OnMobDeath";
	end;

OnMobDeath:
	set $force_09_70,$force_09_70 -1;
	if ($force_09_70 < 1) {
		donpcevent "Cadillac#arena::On09_end";
		donpcevent "arena#70::Onreset_09";
		donpcevent "arena#70::Onreset_all";
		set $arena_min70end,gettime(2);
		set $arena_sec70end,gettime(1);
	}
	end;
}

prt_are_in,129,83,3	script	Staff#70-1	67,{

	mes "[Staff]";
	mes "You did a good job.";
	mes "Even if you have failed to clear a time attack battle, I will reward you with a small amount of arena points.";
	next;
	if (arena_point == 30000) {
		mes "[Staff]";
		mes "Uh huh!";
		mes "You already have enough arena points.";
		mes "Please spend some arena points later. When I see you next time, I will make sure to give you some reward.";
		next;
	}
	else set arena_point, arena_point + 1;
	mes "[Staff]";
	mes "Let me guide you outside. I hope you had a good time.";
	close2;
	specialeffect2 EF_EXIT;
	warp "arena_room",100,75;
	end;
}

prt_are_in,25,84,3	script	Staff#70-2	67,{

	if($arena_min70end < $arena_min70st)
	{
		if($arena_sec70end < $arena_sec70st)
		{
			set @record_min70,60 - $arena_min70st + $arena_min70end -1;
			set @record_sec70,60 - $arena_sec70st + $arena_sec70end;
		}
		else
		{
			set @record_min70,60 - $arena_min70st + $arena_min70end;
			set @record_sec70,$arena_sec70end - $arena_sec70st;
		}
	}
	else
	{
		if($arena_sec70end < $arena_sec70st)
		{
			set @record_min70,$arena_min70end - $arena_min70st -1;
			set @record_sec70,60 - $arena_sec70st + $arena_sec70end;
		}
		else
		{
			set @record_min70,$arena_min70end - $arena_min70st;
			set @record_sec70,$arena_sec70end - $arena_sec70st;
		}
	}
	set @gap70,(60 * $top_70min + $top_70sec) - (60 * @record_min70 + @record_sec70);
	mes "[Staff]";
	mes "Wow, you did a good job~ ";
	mes "Your name is...^3131FF" + strcharinfo(0) +"^000000, isn't it?";
	mes "^3131FF"+ strcharinfo(0) +"^000000, total time you spent to pass the battle..";
	next;
	mes "[Staff]";
	mes "is "+@record_min70+"minutes "+@record_sec70+"seconds.";
	mes "Congratulations!";
	next;
	mes "[Staff]";
	mes "The fastest player among people who cleared lvl 70s arena time force battle is ^3131FF"+$arena_70topn$+"^000000.";
	next;
	mes "[Staff]";
	mes "^3131FF"+$arena_70topn$+"^000000's running time was ^3131FF"+$top_70min+"^000000minutes ^3131FF"+$top_70sec+"^000000seconds.";
	next;
	if (@gap70 < 0) {
		mes "[Staff]";
		mes "Although you failed to make a new record, I hope you will succeed next time.";
		next;
		if (arena_point > 29980) {
			mes "[Staff]";
			mes "Then let me reward you with some arena points....eh?";
			mes "Your arena points have exceeded the maximum amount. I cannot give you more points until you spend some points.";
			next;
			mes "[Staff]";
			mes "You can check the amount of arena points you have in the arena waiting room.";
			next;
			mes "[Staff]";
			mes "I hope you had a good time and let me guide you to the entrance of arena.";
			mes "Thank you.";
			close2;
		}
		else
		{
			set arena_point, arena_point + 20;
			mes "[Staff]";
			mes "Let me reward you some arena points.";
			mes "If you wish to check the amount of arena points you have, please go talk to ^3131FFVendigos^000000 at the arena entrance.";
			next;
			mes "[Staff]";
			mes "Let me guide you to the entrance of arena.";
			mes "See you later~";
			close2;
		}
		specialeffect2 EF_EXIT;
 		donpcevent "cast#70::Onnomal1";
		warp "arena_room",100,75;
		donpcevent "#arn_timer_70::Onstop";
		donpcevent "alloff#70::Onon";
		donpcevent "lvl 70s Waiting Room::Onstart";
		end;
	}
	else
	{
		emotion e_omg;
		mes "[Staff]";
		mes "Wow! You have renewed the record!";
		mes "What a great job!";
		next;
		mes "[Staff]";
		mes "You have been recorded as the fastest player among people who cleared ^FF0000Arena Time Force Battle lvl 70s^000000, ^3131FF"+strcharinfo(0)+"^000000.";
		set $top_70min, @record_min70;
		set $top_70sec, @record_sec70;
		set $arena_70topn$,strcharinfo(0);
		donpcevent "Vendigos::Onlinerec_70";
		next;
		if (arena_point > 29970) {
			mes "[Staff]";
			mes "Then let me reward you with some arena points....eh?";
			mes "Your arena points have exceeded the maximum amount. I cannot give you more points until you spend some points.";
			next;
			mes "[Staff]";
			mes "You can check the amount of arena points you have in the arena waiting room.";
			next;
			mes "[Staff]";
			mes "I hope you had a good time and let me guide you to the entrance of arena.";
			mes "Thank you.";
			close2;
		}
		else
		{
			mes "[Staff]";
			mes "Let me reward you with some arena points.";
			mes "At the same time, since you have renewed the record you will receive an extra amount of the points this time.";
			next;
			set arena_point, arena_point + 50;
			mes "[Staff]";
			mes "Let me reward you some arena points.";
			mes "If you wish to check the amount of arena points you have, please go talk to ^3131FFVendigos^000000 at the arena entrance.";
			next;
			mes "[Staff]";
			mes "Let me guide you to the entrance of arena.";
			mes "See you later~";
			close2;
		}
		specialeffect2 EF_HIT5;
 		donpcevent "cast#70::Onnomal2";
		warp "arena_room",100,75;
		donpcevent "#arn_timer_70::Onstop";
		donpcevent "alloff#70::Onon";
		donpcevent "lvl 70s Waiting Room::Onstart";
		end;
	}
}

-	script	#arn_timer_70	-1,{

Onon:
	initnpctimer;
	end;

OnTimer2000:
	mapannounce "prt_are_in","This broadcast informs you about the restriction for arena lvl 70s.",0,0xFFCE00;
	end;

OnTimer3000:
	mapannounce "prt_are_in","For a smooth game play, exit warp portal will be activated in 1 minute.",0,0xFFCE00;
	end;

OnTimer4000:
	mapannounce "prt_are_in","Please proceed your battle quickly as possible in order to avoid disadvantage. Thank you for your cooperation.",0,0xFFCE00;
	end;

OnTimer60000:
 	donpcevent "cast#70::Ontimeover2";
	donpcevent "arn_warp_70::Onout";
	donpcevent "#arn_timer_70::Onstop";
	donpcevent "alloff#70::Onon";
	donpcevent "lvl 70s Waiting Room::Onstart";
	end;

Onstop:
	stopnpctimer;
	end;

}

-	script	arn_warp_70	-1,{

Onout:
	areawarp "prt_are_in",14,91,29,74,"arena_room",100,75;
	end;
}

-	script	cast#70	-1,{
Ontimeover1:
	mapannounce "force_3-1","Arena will be reactivated due to an error occurred during battle.",0,0xFFCE00;
	end;
Ontimeover2:
	mapannounce "force_3-1","Arena will be activated due to an error occurred in the waiting room.",0,0xFFCE00;
	end;
Onnomal1:
	mapannounce "force_3-1","Arena will be reactivated.",0,0xFFCE00;
	end;
Onnomal2:
	mapannounce "force_3-1","Arena will be reactivated.",0,0xFFCE00;
	end;
}

-	script	alloff#70	-1,{

Onon:
	mapwarp "force_3-1","prt_are_in",126,190,0,0;
	donpcevent "force_01mob#70::Onreset";
	donpcevent "force_02mob#70::Onreset";
	donpcevent "force_03mob#70::Onreset";
	donpcevent "force_04mob#70::Onreset";
	donpcevent "force_05mob#70::Onreset";
	donpcevent "force_06mob#70::Onreset";
	donpcevent "force_07mob#70::Onreset";
	donpcevent "force_08mob#70::Onreset";
	donpcevent "force_09mob#70::Onreset";
	donpcevent "force_01ex#70::Onreset";
	donpcevent "force_02ex#70::Onreset";
	donpcevent "force_03ex#70::Onreset";
	donpcevent "force_04ex#70::Onreset";
	donpcevent "force_05ex#70::Onreset";
	donpcevent "force_06ex#70::Onreset";
	donpcevent "force_07ex#70::Onreset";
	donpcevent "force_08ex#70::Onreset";
	donpcevent "force_09ex#70::Onreset";
	donpcevent "Cadillac#arena::Ontimeroff";
	disablenpc "Cadillac#arena";
	disablenpc "force_01_02#70";
	disablenpc "force_02_03#70";
	disablenpc "force_03_04#70";
	disablenpc "force_04_05#70";
	disablenpc "force_05_06#70";
	disablenpc "force_06_07#70";
	disablenpc "force_07_08#70";
	disablenpc "force_08_09#70";
	disablenpc "force_exit#70";
	disablenpc "arena#70";
	donpcevent "#arn_timer_70::Onstop";
	enablenpc "Cadillac#arena";
	enablenpc "arena#70";
	end;

OnInit:
	if(!$top_70min && !$top_70sec) set $top_70min,7;
	end;

}