summaryrefslogtreecommitdiff
path: root/npc/other/arena/arena_lvl80.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/other/arena/arena_lvl80.txt')
-rw-r--r--npc/other/arena/arena_lvl80.txt825
1 files changed, 368 insertions, 457 deletions
diff --git a/npc/other/arena/arena_lvl80.txt b/npc/other/arena/arena_lvl80.txt
index 729311508..2ad4c254d 100644
--- a/npc/other/arena/arena_lvl80.txt
+++ b/npc/other/arena/arena_lvl80.txt
@@ -1,31 +1,33 @@
//===== Hercules Script ======================================
-//= Izlude Arena lvl 80
+//= Izlude Arena Level 80
//===== By: ==================================================
//= SinSloth
//===== Current Version: =====================================
-//= 1.1
+//= 1.3
//===== Description: =========================================
//= Izlude Battle Arena Level 80
//===== Additional Comments: =================================
//= 1.0 First version.
//= 1.1 Replaced effect numerics with constants. [Samuray22]
+//= 1.2 Label standardization. [Euphy]
+//= 1.3 Script updates, and removed a level restriction. [Euphy]
//============================================================
-arena_room,147,42,1 script lvl 80s Waiting Room 124,{
+arena_room,147,42,1 script Lv80 Waiting Room 124,{
end;
OnInit:
- waitingroom "Individual; Level 80 to 99",50,"lvl 80s Waiting Room::OnStartArena",1,1000,80,99;
+ waitingroom "Individual; Level 80 to "+(checkre(0)?"160":"99"),50,"Lv80 Waiting Room::OnStartArena",1,1000,80;
enablewaitingroomevent;
end;
OnStartArena:
warpwaitingpc "force_4-1",99,12;
- donpcevent "arena#80::Onstart";
+ donpcevent "arena#80::OnStart";
disablewaitingroomevent;
end;
-Onstart:
+OnStart:
enablewaitingroomevent;
end;
}
@@ -33,11 +35,7 @@ Onstart:
force_4-1,99,20,4 script Octus#arena 124,{
end;
-OnInit:
- set $@mapcount80, 0;
- end;
-
-Onstart:
+OnStart:
initnpctimer;
set $arena_min80st,gettime(2);
set $arena_sec80st,gettime(1);
@@ -56,56 +54,50 @@ OnTimer8000:
end;
OnTimer60000:
- set $@mapcount80, getmapusers ("force_4-1");
- if ($@mapcount80 == 0) {
- donpcevent "Octus#arena::Onfailclearstage";
+ if (getmapusers("force_4-1") == 0) {
+ donpcevent "Octus#arena::OnFailClearStage";
}
mapannounce "force_4-1","Remaining Time : 7 minutes ",0;
end;
OnTimer120000:
- set $@mapcount80, getmapusers ("force_4-1");
- if ($@mapcount80 == 0) {
- donpcevent "Octus#arena::Onfailclearstage";
+ if (getmapusers("force_4-1") == 0) {
+ donpcevent "Octus#arena::OnFailClearStage";
}
mapannounce "force_4-1","Remaining Time : 6 minutes ",0;
end;
OnTimer180000:
- set $@mapcount80, getmapusers ("force_4-1");
- if ($@mapcount80 == 0) {
- donpcevent "Octus#arena::Onfailclearstage";
+ if (getmapusers("force_4-1") == 0) {
+ donpcevent "Octus#arena::OnFailClearStage";
}
mapannounce "force_4-1","Remaining Time : 5 minutes ",0;
-end;
+ end;
+
OnTimer240000:
- set $@mapcount80, getmapusers ("force_4-1");
- if ($@mapcount80 == 0) {
- donpcevent "Octus#arena::Onfailclearstage";
+ if (getmapusers("force_4-1") == 0) {
+ donpcevent "Octus#arena::OnFailClearStage";
}
mapannounce "force_4-1","Remaining Time : 4 minutes ",0;
end;
OnTimer300000:
- set $@mapcount80, getmapusers ("force_4-1");
- if ($@mapcount80 == 0) {
- donpcevent "Octus#arena::Onfailclearstage";
+ if (getmapusers("force_4-1") == 0) {
+ donpcevent "Octus#arena::OnFailClearStage";
}
mapannounce "force_4-1","Remaining Time : 3 minutes ",0;
end;
OnTimer360000:
- set $@mapcount80, getmapusers ("force_4-1");
- if ($@mapcount80 == 0) {
- donpcevent "Octus#arena::Onfailclearstage";
+ if (getmapusers("force_4-1") == 0) {
+ donpcevent "Octus#arena::OnFailClearStage";
}
mapannounce "force_4-1","Remaining Time : 2 minutes ",0;
end;
OnTimer420000:
- set $@mapcount80, getmapusers ("force_4-1");
- if ($@mapcount80 == 0) {
- donpcevent "Octus#arena::Onfailclearstage";
+ if (getmapusers("force_4-1") == 0) {
+ donpcevent "Octus#arena::OnFailClearStage";
}
mapannounce "force_4-1","Remaining Time : 1 minute ",0;
end;
@@ -129,146 +121,144 @@ OnTimer494000:
OnTimer495000:
mapwarp "force_4-1","prt_are_in",178,190,0,0;
- donpcevent "Octus#arena::Onfailclearstage";
+ donpcevent "Octus#arena::OnFailClearStage";
end;
-Ontimeroff:
+OnTimerOff:
stopnpctimer;
end;
-Onfailclearstage:
- donpcevent "cast#80::Ontimeover1";
+OnFailClearStage:
+ donpcevent "cast#80::OnTimeOver1";
mapwarp "force_4-1","prt_are_in",178,190,0,0;
- donpcevent "Octus#arena::Ontimeroff";
- donpcevent "arena#80::Onreset_all";
- donpcevent "alloff#80::Onon";
- donpcevent "lvl 80s Waiting Room::Onstart";
+ donpcevent "Octus#arena::OnTimerOff";
+ donpcevent "arena#80::OnReset_All";
+ donpcevent "alloff#80::OnEnable";
+ donpcevent "Lv80 Waiting Room::OnStart";
end;
-On01_start:
+On01_Start:
mapannounce "force_4-1","In order to clear this battle, you must kill all Nightmares!",0;
end;
-On01_end:
+On01_End:
mapannounce "force_4-1","A door to the north room has opened!",0;
end;
-On02_start:
+On02_Start:
mapannounce "force_4-1","In order to clear this battle, you must kill all monsters!",0;
end;
-On02_end:
+On02_End:
mapannounce "force_4-1","A door to the north room has opened!",0;
end;
-On03_start:
+On03_Start:
mapannounce "force_4-1","In order to clear this battle, you must kill all Assaulters!",0;
end;
-On03_end:
+On03_End:
mapannounce "force_4-1","Clear! A door to the east room has opened!",0;
end;
-On04_start:
+On04_Start:
mapannounce "force_4-1","In order to clear this battle, you must kill all Nine Tails!",0;
end;
-On04_end:
+On04_End:
mapannounce "force_4-1","A door to the east room has opened!",0;
end;
-On05_start:
+On05_Start:
mapannounce "force_4-1","In order to clear this battle, you must kill all Walking Petites!",0;
end;
-On05_end:
+On05_End:
mapannounce "force_4-1","Clear! A door to the south room has opened!",0;
end;
-On06_start:
+On06_Start:
mapannounce "force_4-1","In order to clear this battle, kill all monsters in this room!",0;
end;
-On06_end:
+On06_End:
mapannounce "force_4-1","A door to the south room has opened!",0;
end;
-On07_start:
+On07_Start:
mapannounce "force_4-1","In order to clear this battle, kill all Fur-Seals while dodging Mermen!",0;
end;
-On07_end:
+On07_End:
mapannounce "force_4-1","Clear! A door to the west room has opened!",0;
end;
-On08_start:
+On08_Start:
mapannounce "force_4-1","Please escape to the north exit!",0;
end;
-On09_start:
+On09_Start:
mapannounce "force_4-1","In order to clear this battle, you must defeat an Ancient Mummy!",0;
end;
-On09_end:
+On09_End:
mapannounce "force_4-1","Boss Clear! - A door at the north has opened. Thank you. ",0;
end;
-
}
- script arena#80 -1,{
-
-Onreset_01:
- donpcevent "force_01ex#80::Onreset";
- donpcevent "force_02start#80::Onon";
+OnReset_01:
+ donpcevent "force_01ex#80::OnReset";
+ donpcevent "force_02start#80::OnEnable";
enablenpc "force_01_02#80";
end;
-Onreset_02:
- donpcevent "force_02mob#80::Onreset";
- donpcevent "force_03start#80::Onon";
+OnReset_02:
+ donpcevent "force_02mob#80::OnReset";
+ donpcevent "force_03start#80::OnEnable";
enablenpc "force_02_03#80";
end;
-Onreset_03:
+OnReset_03:
enablenpc "force_03_04#80";
- donpcevent "force_04start#80::Onon";
- donpcevent "force_03ex#80::Onreset";
+ donpcevent "force_04start#80::OnEnable";
+ donpcevent "force_03ex#80::OnReset";
end;
-Onreset_04:
+OnReset_04:
enablenpc "force_04_05#80";
- donpcevent "force_05start#80::Onon";
- donpcevent "force_04ex#80::Onreset";
+ donpcevent "force_05start#80::OnEnable";
+ donpcevent "force_04ex#80::OnReset";
end;
-Onreset_05:
+OnReset_05:
enablenpc "force_05_06#80";
- donpcevent "force_06start#80::Onon";
- donpcevent "force_05ex#80::Onreset";
+ donpcevent "force_06start#80::OnEnable";
+ donpcevent "force_05ex#80::OnReset";
end;
-Onreset_06:
+OnReset_06:
enablenpc "force_06_07#80";
- donpcevent "force_07start#80::Onon";
- donpcevent "force_06ex#80::Onreset";
+ donpcevent "force_07start#80::OnEnable";
+ //donpcevent "force_06ex#80::OnReset";
end;
-Onreset_07:
+OnReset_07:
enablenpc "force_07_08#80";
- donpcevent "force_07ex#80::Onreset";
- donpcevent "force_08start#80::Onon";
+ donpcevent "force_07ex#80::OnReset";
+ donpcevent "force_08start#80::OnEnable";
end;
-Onreset_08:
- donpcevent "force_09start#80::Onon";
+OnReset_08:
+ donpcevent "force_09start#80::OnEnable";
enablenpc "force_08_09#80";
end;
-Onreset_09:
+OnReset_09:
enablenpc "force_exit#80";
end;
-Onstart:
+OnStart:
disablenpc "force_01_02#80";
disablenpc "force_02_03#80";
disablenpc "force_03_04#80";
@@ -278,524 +268,468 @@ Onstart:
disablenpc "force_07_08#80";
disablenpc "force_08_09#80";
disablenpc "force_exit#80";
- donpcevent "Octus#arena::Ontimeroff";
- donpcevent "force_09mob#80::Ontimeroff";
- donpcevent "force_01mob#80::Onreset";
- donpcevent "force_02mob#80::Onreset";
- donpcevent "force_03mob#80::Onreset";
- donpcevent "force_04mob#80::Onreset";
- donpcevent "force_05mob#80::Onreset";
- donpcevent "force_06mob#80::Onreset";
- donpcevent "force_07mob#80::Onreset";
- donpcevent "force_08mob#80::Onreset";
- donpcevent "force_09mob#80::Onreset";
- donpcevent "force_01ex#80::Onreset";
- donpcevent "force_03ex#80::Onreset";
- donpcevent "force_04ex#80::Onreset";
- donpcevent "force_05ex#80::Onreset";
- donpcevent "force_07ex#80::Onreset";
- donpcevent "force_08ex#80::Onreset";
- donpcevent "force_09ex#80::Onreset";
+ donpcevent "Octus#arena::OnTimerOff";
+ //donpcevent "force_09mob#80::OnTimerOff";
+ donpcevent "force_01mob#80::OnReset";
+ donpcevent "force_02mob#80::OnReset";
+ donpcevent "force_03mob#80::OnReset";
+ donpcevent "force_04mob#80::OnReset";
+ donpcevent "force_05mob#80::OnReset";
+ donpcevent "force_06mob#80::OnReset";
+ donpcevent "force_07mob#80::OnReset";
+ //donpcevent "force_08mob#80::OnReset";
+ donpcevent "force_09mob#80::OnReset";
+ donpcevent "force_01ex#80::OnReset";
+ donpcevent "force_03ex#80::OnReset";
+ donpcevent "force_04ex#80::OnReset";
+ donpcevent "force_05ex#80::OnReset";
+ donpcevent "force_07ex#80::OnReset";
+ //donpcevent "force_08ex#80::OnReset";
+ donpcevent "force_09ex#80::OnReset";
enablenpc "force_08_01#80";
- donpcevent "force_01start#80::Onon";
- donpcevent "Octus#arena::Onstart";
- end;
-
-Onreset_all:
- donpcevent "force_01mob#80::Onreset";
- donpcevent "force_02mob#80::Onreset";
- donpcevent "force_03mob#80::Onreset";
- donpcevent "force_04mob#80::Onreset";
- donpcevent "force_05mob#80::Onreset";
- donpcevent "force_06mob#80::Onreset";
- donpcevent "force_07mob#80::Onreset";
- donpcevent "force_09mob#80::Onreset";
- donpcevent "force_01ex#80::Onreset";
- donpcevent "force_03ex#80::Onreset";
- donpcevent "force_04ex#80::Onreset";
- donpcevent "force_05ex#80::Onreset";
- donpcevent "force_07ex#80::Onreset";
- donpcevent "force_08ex#80::Onreset";
- donpcevent "force_09ex#80::Onreset";
+ donpcevent "force_01start#80::OnEnable";
+ donpcevent "Octus#arena::OnStart";
end;
+OnReset_All:
+ donpcevent "force_01mob#80::OnReset";
+ donpcevent "force_02mob#80::OnReset";
+ donpcevent "force_03mob#80::OnReset";
+ donpcevent "force_04mob#80::OnReset";
+ donpcevent "force_05mob#80::OnReset";
+ donpcevent "force_06mob#80::OnReset";
+ donpcevent "force_07mob#80::OnReset";
+ donpcevent "force_09mob#80::OnReset";
+ donpcevent "force_01ex#80::OnReset";
+ donpcevent "force_03ex#80::OnReset";
+ donpcevent "force_04ex#80::OnReset";
+ donpcevent "force_05ex#80::OnReset";
+ donpcevent "force_07ex#80::OnReset";
+ //donpcevent "force_08ex#80::OnReset";
+ donpcevent "force_09ex#80::OnReset";
+ end;
}
force_4-1,62,26,1 script force_08_01#80 45,1,1,{
-
OnTouch:
- donpcevent "Octus#arena::On01_start";
+ donpcevent "Octus#arena::On01_Start";
warp "force_4-1",40,26;
end;
-
}
force_4-1,25,44,1 script force_01_02#80 45,1,1,{
-
OnTouch:
- donpcevent "Octus#arena::On02_start";
+ donpcevent "Octus#arena::On02_Start";
warp "force_4-1",25,69;
end;
-
}
force_4-1,25,134,1 script force_02_03#80 45,1,1,{
-
OnTouch:
- donpcevent "Octus#arena::On03_start";
+ donpcevent "Octus#arena::On03_Start";
warp "force_4-1",25,159;
end;
-
}
force_4-1,44,174,1 script force_03_04#80 45,1,1,{
-
OnTouch:
- donpcevent "Octus#arena::On04_start";
+ donpcevent "Octus#arena::On04_Start";
warp "force_4-1",69,174;
end;
}
force_4-1,134,174,1 script force_04_05#80 45,1,1,{
-
OnTouch:
- donpcevent "Octus#arena::On05_start";
+ donpcevent "Octus#arena::On05_Start";
warp "force_4-1",159,174;
end;
-
}
force_4-1,174,155,1 script force_05_06#80 45,1,1,{
-
OnTouch:
- donpcevent "Octus#arena::On06_start";
+ donpcevent "Octus#arena::On06_Start";
warp "force_4-1",174,130;
end;
-
}
force_4-1,174,65,1 script force_06_07#80 45,1,1,{
-
OnTouch:
- donpcevent "Octus#arena::On07_start";
+ donpcevent "Octus#arena::On07_Start";
warp "force_4-1",174,40;
end;
-
}
force_4-1,155,26,1 script force_07_08#80 45,1,1,{
-
OnTouch:
- donpcevent "Octus#arena::On08_start";
+ donpcevent "Octus#arena::On08_Start";
warp "force_4-1",132,26;
enablenpc "force_08_09#80";
end;
-
}
force_4-1,99,54,1 script force_08_09#80 45,1,1,{
-
OnTouch:
- donpcevent "Octus#arena::On09_start";
+ donpcevent "Octus#arena::On09_Start";
warp "force_4-1",99,82;
end;
-
}
force_4-1,99,124,1 script force_exit#80 45,1,1,{
-
OnTouch:
- donpcevent "Octus#arena::Ontimeroff";
- donpcevent "#arn_timer_80::Onon";
+ donpcevent "Octus#arena::OnTimerOff";
+ donpcevent "#arn_timer_80::OnEnable";
mapwarp "force_4-1","prt_are_in",73,192,0,0;
end;
-
}
- script force_01start#80 -1,{
-Onon:
- donpcevent "force_01mob#80::Onon";
-end;
-
+OnEnable:
+ donpcevent "force_01mob#80::OnEnable";
+ end;
}
- script force_01ex#80 -1,{
-
-Onreset:
- killmonster "force_4-1","force_01ex#80::OnMobEx";
+OnReset:
+ killmonster "force_4-1","force_01ex#80::OnMyMobDead";
end;
-Onsummonmob1:
- monster "force_4-1",11,25,"Hunter Fly",1422,1,"force_01ex#80::OnMobEx";
- monster "force_4-1",22,22,"Hunter Fly",1422,1,"force_01ex#80::OnMobEx";
- monster "force_4-1",25,25,"Hunter Fly",1422,1,"force_01ex#80::OnMobEx";
- monster "force_4-1",35,13,"Hunter Fly",1422,1,"force_01ex#80::OnMobEx";
- monster "force_4-1",18,33,"Hunter Fly",1422,1,"force_01ex#80::OnMobEx";
+OnSummonMob1:
+ monster "force_4-1",11,25,"Hunter Fly",1422,1,"force_01ex#80::OnMyMobDead";
+ monster "force_4-1",22,22,"Hunter Fly",1422,1,"force_01ex#80::OnMyMobDead";
+ monster "force_4-1",25,25,"Hunter Fly",1422,1,"force_01ex#80::OnMyMobDead";
+ monster "force_4-1",35,13,"Hunter Fly",1422,1,"force_01ex#80::OnMyMobDead";
+ monster "force_4-1",18,33,"Hunter Fly",1422,1,"force_01ex#80::OnMyMobDead";
end;
-OnMobEx:
+OnMyMobDead:
end;
-
}
- script force_01mob#80 -1,{
-
-Onon:
- monster "force_4-1",35,13,"Nightmare",1427,1,"force_01mob#80::OnMobDeath";
- monster "force_4-1",25,36,"Nightmare",1427,1,"force_01mob#80::OnMobDeath";
- monster "force_4-1",22,23,"Nightmare",1427,1,"force_01mob#80::OnMobDeath";
- monster "force_4-1",25,17,"Nightmare",1427,1,"force_01mob#80::OnMobDeath";
- monster "force_4-1",25,15,"Nightmare",1427,1,"force_01mob#80::OnMobDeath";
- set $force_01_80,5;
- donpcevent "force_01ex#80::Onsummonmob1";
+OnEnable:
+ monster "force_4-1",35,13,"Nightmare",1427,1,"force_01mob#80::OnMyMobDead";
+ monster "force_4-1",25,36,"Nightmare",1427,1,"force_01mob#80::OnMyMobDead";
+ monster "force_4-1",22,23,"Nightmare",1427,1,"force_01mob#80::OnMyMobDead";
+ monster "force_4-1",25,17,"Nightmare",1427,1,"force_01mob#80::OnMyMobDead";
+ monster "force_4-1",25,15,"Nightmare",1427,1,"force_01mob#80::OnMyMobDead";
+ donpcevent "force_01ex#80::OnSummonMob1";
end;
-Onreset:
- killmonster "force_4-1","force_01mob#80::OnMobDeath";
+OnReset:
+ killmonster "force_4-1","force_01mob#80::OnMyMobDead";
end;
-OnMobDeath:
- set $force_01_80,$force_01_80 -1;
- if ($force_01_80 < 1) {
- donpcevent "Octus#arena::On01_end";
- donpcevent "arena#80::Onreset_01";
+OnMyMobDead:
+ if (mobcount("force_4-1","force_01mob#80::OnMyMobDead") < 1) {
+ donpcevent "Octus#arena::On01_End";
+ donpcevent "arena#80::OnReset_01";
}
end;
}
- script force_02start#80 -1,{
-
-Onon:
- donpcevent "force_02mob#80::Onon";
+OnEnable:
+ donpcevent "force_02mob#80::OnEnable";
end;
}
- script force_02mob#80 -1,{
-
-Onreset:
- killmonster "force_4-1","force_02mob#80::OnMobDeath";
- end;
-
-Onon:
- monster "force_4-1",24,80,"Marionette",1459,1,"force_02mob#80::OnMobDeath";
- monster "force_4-1",23,110,"Marionette",1459,1,"force_02mob#80::OnMobDeath";
- monster "force_4-1",26,90,"Marionette",1459,1,"force_02mob#80::OnMobDeath";
- monster "force_4-1",28,75,"Zombie",1394,1,"force_02mob#80::OnMobDeath";
- monster "force_4-1",24,90,"Zombie",1394,1,"force_02mob#80::OnMobDeath";
- monster "force_4-1",28,85,"Zombie",1394,1,"force_02mob#80::OnMobDeath";
- monster "force_4-1",24,82,"Deviruchi",1433,1,"force_02mob#80::OnMobDeath";
- monster "force_4-1",28,86,"Skel Prisoner",1479,1,"force_02mob#80::OnMobDeath";
- monster "force_4-1",27,73,"Skel Prisoner",1479,1,"force_02mob#80::OnMobDeath";
- monster "force_4-1",26,118,"Skel Prisoner",1479,1,"force_02mob#80::OnMobDeath";
- monster "force_4-1",25,127,"Skel Prisoner",1479,1,"force_02mob#80::OnMobDeath";
- monster "force_4-1",28,128,"Zombie",1394,1,"force_02mob#80::OnMobDeath";
- monster "force_4-1",27,100,"Zombie",1394,1,"force_02mob#80::OnMobDeath";
- monster "force_4-1",29,90,"Zombie",1394,1,"force_02mob#80::OnMobDeath";
- monster "force_4-1",28,128,"Raydric Archer",1453,1,"force_02mob#80::OnMobDeath";
- set $force_02_80,15;
- end;
-
-OnMobDeath:
- set $force_02_80,$force_02_80 -1;
- if ($force_02_80 < 1) {
- donpcevent "Octus#arena::On02_end";
- donpcevent "arena#80::Onreset_02";
+OnReset:
+ killmonster "force_4-1","force_02mob#80::OnMyMobDead";
+ end;
+
+OnEnable:
+ monster "force_4-1",24,80,"Marionette",1459,1,"force_02mob#80::OnMyMobDead";
+ monster "force_4-1",23,110,"Marionette",1459,1,"force_02mob#80::OnMyMobDead";
+ monster "force_4-1",26,90,"Marionette",1459,1,"force_02mob#80::OnMyMobDead";
+ monster "force_4-1",28,75,"Zombie",1394,1,"force_02mob#80::OnMyMobDead";
+ monster "force_4-1",24,90,"Zombie",1394,1,"force_02mob#80::OnMyMobDead";
+ monster "force_4-1",28,85,"Zombie",1394,1,"force_02mob#80::OnMyMobDead";
+ monster "force_4-1",24,82,"Deviruchi",1433,1,"force_02mob#80::OnMyMobDead";
+ monster "force_4-1",28,86,"Skel Prisoner",1479,1,"force_02mob#80::OnMyMobDead";
+ monster "force_4-1",27,73,"Skel Prisoner",1479,1,"force_02mob#80::OnMyMobDead";
+ monster "force_4-1",26,118,"Skel Prisoner",1479,1,"force_02mob#80::OnMyMobDead";
+ monster "force_4-1",25,127,"Skel Prisoner",1479,1,"force_02mob#80::OnMyMobDead";
+ monster "force_4-1",28,128,"Zombie",1394,1,"force_02mob#80::OnMyMobDead";
+ monster "force_4-1",27,100,"Zombie",1394,1,"force_02mob#80::OnMyMobDead";
+ monster "force_4-1",29,90,"Zombie",1394,1,"force_02mob#80::OnMyMobDead";
+ monster "force_4-1",28,128,"Raydric Archer",1453,1,"force_02mob#80::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ if (mobcount("force_4-1","force_02mob#80::OnMyMobDead") < 1) {
+ donpcevent "Octus#arena::On02_End";
+ donpcevent "arena#80::OnReset_02";
}
end;
}
- script force_03start#80 -1,{
-
-Onon:
- donpcevent "force_03mob#80::Onon";
+OnEnable:
+ donpcevent "force_03mob#80::OnEnable";
end;
}
- script force_03ex#80 -1,{
-
-Onreset:
- killmonster "force_4-1","force_03ex#80::OnMobEx";
+OnReset:
+ killmonster "force_4-1","force_03ex#80::OnMyMobDead";
end;
-Onsummonmob_03:
- monster "force_4-1",26,173,"Clock Tower Keeper",1527,1,"force_03ex#80::OnMobEx";
- monster "force_4-1",21,173,"Marionette",1459,1,"force_03ex#80::OnMobEx";
- monster "force_4-1",31,173,"Clock Tower Keeper",1527,1,"force_03ex#80::OnMobEx";
- monster "force_4-1",26,178,"Marionette",1459,1,"force_03ex#80::OnMobEx";
- monster "force_4-1",21,178,"Marionette",1459,1,"force_03ex#80::OnMobEx";
- monster "force_4-1",31,178,"Marionette",1459,1,"force_03ex#80::OnMobEx";
- monster "force_4-1",26,186,"Sidewinder",1424,1,"force_03ex#80::OnMobEx";
- monster "force_4-1",26,161,"Sidewinder",1424,1,"force_03ex#80::OnMobEx";
+OnSummonMob_03:
+ monster "force_4-1",26,173,"Clock Tower Keeper",1527,1,"force_03ex#80::OnMyMobDead";
+ monster "force_4-1",21,173,"Marionette",1459,1,"force_03ex#80::OnMyMobDead";
+ monster "force_4-1",31,173,"Clock Tower Keeper",1527,1,"force_03ex#80::OnMyMobDead";
+ monster "force_4-1",26,178,"Marionette",1459,1,"force_03ex#80::OnMyMobDead";
+ monster "force_4-1",21,178,"Marionette",1459,1,"force_03ex#80::OnMyMobDead";
+ monster "force_4-1",31,178,"Marionette",1459,1,"force_03ex#80::OnMyMobDead";
+ monster "force_4-1",26,186,"Sidewinder",1424,1,"force_03ex#80::OnMyMobDead";
+ monster "force_4-1",26,161,"Sidewinder",1424,1,"force_03ex#80::OnMyMobDead";
end;
-OnMobEx:
+OnMyMobDead:
end;
}
- script force_03mob#80 -1,{
-
-Onon:
- donpcevent "force_03ex#80::Onsummonmob_03";
- monster "force_4-1",23,174,"Assaulter",1364,1,"force_03mob#80::OnMobDeath";
- monster "force_4-1",18,173,"Assaulter",1364,1,"force_03mob#80::OnMobDeath";
- set $force_03_80,2;
+OnEnable:
+ donpcevent "force_03ex#80::OnSummonMob_03";
+ monster "force_4-1",23,174,"Assaulter",1364,1,"force_03mob#80::OnMyMobDead";
+ monster "force_4-1",18,173,"Assaulter",1364,1,"force_03mob#80::OnMyMobDead";
end;
-Onreset:
- killmonster "force_4-1","force_03mob#80::OnMobDeath";
+OnReset:
+ killmonster "force_4-1","force_03mob#80::OnMyMobDead";
end;
-OnMobDeath:
- set $force_03_80,$force_03_80 -1;
- donpcevent "force_03ex#80::Onsummonmob_03";
- if ($force_03_80 < 1) {
- donpcevent "Octus#arena::On03_end";
- donpcevent "arena#80::Onreset_03";
+OnMyMobDead:
+ donpcevent "force_03ex#80::OnSummonMob_03";
+ if (mobcount("force_4-1","force_03mob#80::OnMyMobDead") < 1) {
+ donpcevent "Octus#arena::On03_End";
+ donpcevent "arena#80::OnReset_03";
}
end;
}
- script force_04start#80 -1,{
-
-Onon:
- donpcevent "force_04mob#80::Onon";
-end;
-
+OnEnable:
+ donpcevent "force_04mob#80::OnEnable";
+ end;
}
- script force_04ex#80 -1,{
-
-Onreset:
- killmonster "force_4-1","force_04ex#80::OnMobEx";
+OnReset:
+ killmonster "force_4-1","force_04ex#80::OnMyMobDead";
end;
-Onsummonmob_04:
- monster "force_4-1",99,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMobEx";
- monster "force_4-1",101,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMobEx";
- monster "force_4-1",103,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMobEx";
- monster "force_4-1",105,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMobEx";
- monster "force_4-1",107,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMobEx";
- monster "force_4-1",109,177,"Pasana",1464,1,"force_04ex#80::OnMobEx";
- monster "force_4-1",99,170,"Minorous",1461,1,"force_04ex#80::OnMobEx";
- monster "force_4-1",111,170,"Minorous",1461,1,"force_04ex#80::OnMobEx";
- monster "force_4-1",110,170,"Lava Golem",1549,1,"force_04ex#80::OnMobEx";
+OnSummonMob_04:
+ monster "force_4-1",99,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMyMobDead";
+ monster "force_4-1",101,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMyMobDead";
+ monster "force_4-1",103,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMyMobDead";
+ monster "force_4-1",105,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMyMobDead";
+ monster "force_4-1",107,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMyMobDead";
+ monster "force_4-1",109,177,"Pasana",1464,1,"force_04ex#80::OnMyMobDead";
+ monster "force_4-1",99,170,"Minorous",1461,1,"force_04ex#80::OnMyMobDead";
+ monster "force_4-1",111,170,"Minorous",1461,1,"force_04ex#80::OnMyMobDead";
+ monster "force_4-1",110,170,"Lava Golem",1549,1,"force_04ex#80::OnMyMobDead";
end;
-OnMobEx:
+OnMyMobDead:
end;
}
- script force_04mob#80 -1,{
-
-Onon:
- donpcevent "force_04ex#80::Onsummonmob_04";
- monster "force_4-1",80,172,"Nine Tails",1471,1,"force_04mob#80::OnMobDeath";
- monster "force_4-1",105,172,"Nine Tails",1471,1,"force_04mob#80::OnMobDeath";
- monster "force_4-1",90,172,"Nine Tails",1471,1,"force_04mob#80::OnMobDeath";
- monster "force_4-1",117,172,"Nine Tails",1471,1,"force_04mob#80::OnMobDeath";
- set $force_04_80,4;
+OnEnable:
+ donpcevent "force_04ex#80::OnSummonMob_04";
+ monster "force_4-1",80,172,"Nine Tails",1471,1,"force_04mob#80::OnMyMobDead";
+ monster "force_4-1",105,172,"Nine Tails",1471,1,"force_04mob#80::OnMyMobDead";
+ monster "force_4-1",90,172,"Nine Tails",1471,1,"force_04mob#80::OnMyMobDead";
+ monster "force_4-1",117,172,"Nine Tails",1471,1,"force_04mob#80::OnMyMobDead";
end;
-Onreset:
- killmonster "force_4-1","force_04mob#80::OnMobDeath";
+OnReset:
+ killmonster "force_4-1","force_04mob#80::OnMyMobDead";
end;
-OnMobDeath:
- set $force_04_80,$force_04_80 -1;
- if ($force_04_80 < 1) {
- donpcevent "Octus#arena::On04_end";
- donpcevent "arena#80::Onreset_04";
+OnMyMobDead:
+ if (mobcount("force_4-1","force_04mob#80::OnMyMobDead") < 1) {
+ donpcevent "Octus#arena::On04_End";
+ donpcevent "arena#80::OnReset_04";
}
end;
}
- script force_05start#80 -1,{
-
-Onon:
- donpcevent "force_05mob#80::Onon";
+OnEnable:
+ donpcevent "force_05mob#80::OnEnable";
end;
}
- script force_05ex#80 -1,{
-
-Onreset:
- killmonster "force_4-1","force_05ex#80::OnMobEx";
+OnReset:
+ killmonster "force_4-1","force_05ex#80::OnMyMobDead";
end;
-Onsummonmob_05:
- monster "force_4-1",168,190,"Petite",1466,1,"force_05ex#80::OnMobEx";
- monster "force_4-1",173,166,"Petite",1466,1,"force_05ex#80::OnMobEx";
- monster "force_4-1",171,176,"Petite",1466,1,"force_05ex#80::OnMobEx";
- monster "force_4-1",188,167,"Petite",1466,1,"force_05ex#80::OnMobEx";
+OnSummonMob_05:
+ monster "force_4-1",168,190,"Petite",1466,1,"force_05ex#80::OnMyMobDead";
+ monster "force_4-1",173,166,"Petite",1466,1,"force_05ex#80::OnMyMobDead";
+ monster "force_4-1",171,176,"Petite",1466,1,"force_05ex#80::OnMyMobDead";
+ monster "force_4-1",188,167,"Petite",1466,1,"force_05ex#80::OnMyMobDead";
end;
-OnMobEx:
+OnMyMobDead:
end;
}
- script force_05mob#80 -1,{
-
-Onon:
- monster "force_4-1",164,174,"Petite",1465,1,"force_05mob#80::OnMobDeath";
- monster "force_4-1",169,159,"Petite",1465,1,"force_05mob#80::OnMobDeath";
- monster "force_4-1",174,183,"Petite",1465,1,"force_05mob#80::OnMobDeath";
- monster "force_4-1",177,170,"Petite",1465,1,"force_05mob#80::OnMobDeath";
- set $force_05_80,4;
+OnEnable:
+ monster "force_4-1",164,174,"Petite",1465,1,"force_05mob#80::OnMyMobDead";
+ monster "force_4-1",169,159,"Petite",1465,1,"force_05mob#80::OnMyMobDead";
+ monster "force_4-1",174,183,"Petite",1465,1,"force_05mob#80::OnMyMobDead";
+ monster "force_4-1",177,170,"Petite",1465,1,"force_05mob#80::OnMyMobDead";
end;
-Onreset:
- killmonster "force_4-1","force_05mob#80::OnMobDeath";
+OnReset:
+ killmonster "force_4-1","force_05mob#80::OnMyMobDead";
end;
-OnMobDeath:
- set $force_05_80,$force_05_80 -1;
- if ($force_05_80 < 1) {
- donpcevent "Octus#arena::On05_end";
- donpcevent "arena#80::Onreset_05";
+OnMyMobDead:
+ if (mobcount("force_4-1","force_05mob#80::OnMyMobDead") < 1) {
+ donpcevent "Octus#arena::On05_End";
+ donpcevent "arena#80::OnReset_05";
}
- else donpcevent "force_05ex#80::Onsummonmob_05";
+ else donpcevent "force_05ex#80::OnSummonMob_05";
end;
}
- script force_06start#80 -1,{
+OnEnable:
+ donpcevent "force_06mob#80::OnEnable";
+ end;
+}
-Onon:
- donpcevent "force_06mob#80::Onon";
+- script force_06ex#80 -1,{
+OnEnable:
+ donpcevent "Octus#arena::On06_start";
end;
}
- script force_06mob#80 -1,{
-
-Onon:
- monster "force_4-1",173,118,"Baphomet Jr.",1431,1,"force_06mob#80::OnMobDeath";
- monster "force_4-1",173,90,"Baphomet Jr.",1431,1,"force_06mob#80::OnMobDeath";
- monster "force_4-1",177,72,"Baphomet Jr.",1431,1,"force_06mob#80::OnMobDeath";
- monster "force_4-1",171,108,"Deviruchi",1433,1,"force_06mob#80::OnMobDeath";
- monster "force_4-1",171,85,"Deviruchi",1433,1,"force_06mob#80::OnMobDeath";
- monster "force_4-1",171,79,"Alice",1521,1,"force_06mob#80::OnMobDeath";
- monster "force_4-1",175,118,"Alice",1521,1,"force_06mob#80::OnMobDeath";
- monster "force_4-1",175,99,"Alice",1521,1,"force_06mob#80::OnMobDeath";
- set $force_06_80,8;
+OnEnable:
+ monster "force_4-1",173,118,"Baphomet Jr.",1431,1,"force_06mob#80::OnMyMobDead";
+ monster "force_4-1",173,90,"Baphomet Jr.",1431,1,"force_06mob#80::OnMyMobDead";
+ monster "force_4-1",177,72,"Baphomet Jr.",1431,1,"force_06mob#80::OnMyMobDead";
+ monster "force_4-1",171,108,"Deviruchi",1433,1,"force_06mob#80::OnMyMobDead";
+ monster "force_4-1",171,85,"Deviruchi",1433,1,"force_06mob#80::OnMyMobDead";
+ monster "force_4-1",171,79,"Alice",1521,1,"force_06mob#80::OnMyMobDead";
+ monster "force_4-1",175,118,"Alice",1521,1,"force_06mob#80::OnMyMobDead";
+ monster "force_4-1",175,99,"Alice",1521,1,"force_06mob#80::OnMyMobDead";
end;
-Onreset:
- killmonster "force_4-1","force_06mob#80::OnMobDeath";
+OnReset:
+ killmonster "force_4-1","force_06mob#80::OnMyMobDead";
end;
-OnMobDeath:
- set $force_06_80,$force_06_80 -1;
- if ($force_06_80 < 1) {
- donpcevent "Octus#arena::On06_end";
- donpcevent "arena#80::Onreset_06";
+OnMyMobDead:
+ if (mobcount("force_4-1","force_06mob#80::OnMyMobDead") < 1) {
+ donpcevent "Octus#arena::On06_End";
+ donpcevent "arena#80::OnReset_06";
}
end;
}
- script force_07start#80 -1,{
-
-Onon:
- donpcevent "force_07mob#80::Onon";
+OnEnable:
+ donpcevent "force_07mob#80::OnEnable";
end;
}
- script force_07ex#80 -1,{
-
-Onreset:
- killmonster "force_4-1","force_07ex#80::OnMobEx";
+OnReset:
+ killmonster "force_4-1","force_07ex#80::OnMyMobDead";
end;
-Onsummonmob_07:
- monster "force_4-1",160,34,"Merman",1451,1,"force_07ex#80::OnMobEx";
- monster "force_4-1",163,27,"Merman",1451,1,"force_07ex#80::OnMobEx";
- monster "force_4-1",163,23,"Merman",1451,1,"force_07ex#80::OnMobEx";
+OnSummonMob_07:
+ monster "force_4-1",160,34,"Merman",1451,1,"force_07ex#80::OnMyMobDead";
+ monster "force_4-1",163,27,"Merman",1451,1,"force_07ex#80::OnMyMobDead";
+ monster "force_4-1",163,23,"Merman",1451,1,"force_07ex#80::OnMyMobDead";
end;
-OnMobEx:
+OnMyMobDead:
end;
}
- script force_07mob#80 -1,{
-
-Onon:
- donpcevent "force_07ex#80::Onsummonmob_07";
- monster "force_4-1",165,27,"Fur-Seal",1533,1,"force_07mob#80::OnMobDeath";
- monster "force_4-1",184,23,"Fur-Seal",1533,1,"force_07mob#80::OnMobDeath";
- monster "force_4-1",174,19,"Fur-Seal",1533,1,"force_07mob#80::OnMobDeath";
- set $force_07_80,3;
+OnEnable:
+ donpcevent "force_07ex#80::OnSummonMob_07";
+ monster "force_4-1",165,27,"Fur-Seal",1533,1,"force_07mob#80::OnMyMobDead";
+ monster "force_4-1",184,23,"Fur-Seal",1533,1,"force_07mob#80::OnMyMobDead";
+ monster "force_4-1",174,19,"Fur-Seal",1533,1,"force_07mob#80::OnMyMobDead";
end;
-Onreset:
- killmonster "force_4-1","force_07mob#80::OnMobDeath";
+OnReset:
+ killmonster "force_4-1","force_07mob#80::OnMyMobDead";
end;
-OnMobDeath:
- set $force_07_80,$force_07_80 -1;
- if ($force_07_80 < 1) {
- donpcevent "Octus#arena::On07_end";
- donpcevent "arena#80::Onreset_07";
+OnMyMobDead:
+ if (mobcount("force_4-1","force_07mob#80::OnMyMobDead") < 1) {
+ donpcevent "Octus#arena::On07_End";
+ donpcevent "arena#80::OnReset_07";
}
end;
}
- script force_08start#80 -1,{
-
-Onon:
- donpcevent "force_08ex#80::Onon";
+OnEnable:
+ donpcevent "force_08ex#80::OnEnable";
end;
}
- script force_08ex#80 -1,{
-
-Onon:
- donpcevent "arena#80::Onreset_08";
+OnEnable:
+ donpcevent "arena#80::OnReset_08";
end;
}
- script force_09start#80 -1,{
-
-Onon:
- donpcevent "force_09mob#80::Onon";
+OnEnable:
+ donpcevent "force_09mob#80::OnEnable";
end;
}
- script force_09ex#80 -1,{
-
-Onreset:
- killmonster "force_4-1","force_09ex#80::OnMobEx";
+OnReset:
+ killmonster "force_4-1","force_09ex#80::OnMyMobDead";
end;
-Onsummonmob_09:
- monster "force_4-1",91,99,"Argos",1430,1,"force_09ex#80::OnMobEx";
- monster "force_4-1",95,105,"Argos",1430,1,"force_09ex#80::OnMobEx";
- monster "force_4-1",122,99,"Argos",1430,1,"force_09ex#80::OnMobEx";
- monster "force_4-1",88,107,"Argos",1430,1,"force_09ex#80::OnMobEx";
- monster "force_4-1",85,104,"Argos",1430,1,"force_09ex#80::OnMobEx";
+OnSummonMob_09:
+ monster "force_4-1",91,99,"Argos",1430,1,"force_09ex#80::OnMyMobDead";
+ monster "force_4-1",95,105,"Argos",1430,1,"force_09ex#80::OnMyMobDead";
+ monster "force_4-1",122,99,"Argos",1430,1,"force_09ex#80::OnMyMobDead";
+ monster "force_4-1",88,107,"Argos",1430,1,"force_09ex#80::OnMyMobDead";
+ monster "force_4-1",85,104,"Argos",1430,1,"force_09ex#80::OnMyMobDead";
end;
-OnMobEx:
+OnMyMobDead:
end;
}
- script force_09mob#80 -1,{
-
-Onon:
- monster "force_4-1",99,99,"Ancient Mummy",1522,1,"force_09mob#80::OnMobDeath";
- donpcevent "force_09ex#80::Onsummonmob_09";
- set $force_09_80,1;
+OnEnable:
+ monster "force_4-1",99,99,"Ancient Mummy",1522,1,"force_09mob#80::OnMyMobDead";
+ donpcevent "force_09ex#80::OnSummonMob_09";
end;
-Onreset:
- killmonster "force_4-1","force_09mob#80::OnMobDeath";
+OnReset:
+ killmonster "force_4-1","force_09mob#80::OnMyMobDead";
end;
-OnMobDeath:
- set $force_09_80,$force_09_80 -1;
- if ($force_09_80 < 1) {
- donpcevent "Octus#arena::On09_end";
- donpcevent "arena#80::Onreset_09";
- donpcevent "arena#80::Onreset_all";
+OnMyMobDead:
+ if (mobcount("force_4-1","force_09mob#80::OnMyMobDead") < 1) {
+ donpcevent "Octus#arena::On09_End";
+ donpcevent "arena#80::OnReset_09";
+ donpcevent "arena#80::OnReset_All";
set $arena_min80end,gettime(2);
set $arena_sec80end,gettime(1);
}
@@ -803,7 +737,6 @@ OnMobDeath:
}
prt_are_in,181,188,3 script Staff#80-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.";
@@ -825,29 +758,19 @@ prt_are_in,181,188,3 script Staff#80-1 67,{
}
prt_are_in,77,187,3 script Staff#80-2 67,{
-
- if($arena_min80end < $arena_min80st)
- {
- if($arena_sec80end < $arena_sec80st)
- {
+ if($arena_min80end < $arena_min80st) {
+ if($arena_sec80end < $arena_sec80st) {
set @record_min80,60 - $arena_min80st + $arena_min80end -1;
set @record_sec80,60 - $arena_sec80st + $arena_sec80end;
- }
- else
- {
+ } else {
set @record_min80,60 - $arena_min80st + $arena_min80end;
set @record_sec80,$arena_sec80end - $arena_sec80st;
}
- }
- else
- {
- if($arena_sec80end < $arena_sec80st)
- {
+ } else {
+ if($arena_sec80end < $arena_sec80st) {
set @record_min80,$arena_min80end - $arena_min80st -1;
set @record_sec80,60 - $arena_sec80st + $arena_sec80end;
- }
- else
- {
+ } else {
set @record_min80,$arena_min80end - $arena_min80st;
set @record_sec80,$arena_sec80end - $arena_sec80st;
}
@@ -863,7 +786,7 @@ prt_are_in,77,187,3 script Staff#80-2 67,{
mes "Congratulations!";
next;
mes "[Staff]";
- mes "The fastest player among people who cleared lvl 80s arena time force battle is ^3131FF"+$arena_80topn$+"^000000.";
+ mes "The fastest player among people who cleared Lv80 arena time force battle is ^3131FF"+$arena_80topn$+"^000000.";
next;
mes "[Staff]";
mes "^3131FF"+$arena_80topn$+"^000000's running time was ^3131FF"+$top_80min+"^000000minutes ^3131FF"+$top_80sec+"^000000seconds.";
@@ -884,9 +807,7 @@ prt_are_in,77,187,3 script Staff#80-2 67,{
mes "I hope you had a good time and let me guide you to the entrance of arena.";
mes "Thank you.";
close2;
- }
- else
- {
+ } else {
set arena_point, arena_point + 20;
mes "[Staff]";
mes "Let me reward you some arena points.";
@@ -898,15 +819,13 @@ prt_are_in,77,187,3 script Staff#80-2 67,{
close2;
}
specialeffect2 EF_EXIT;
- donpcevent "cast#80::Onnomal1";
+ donpcevent "cast#80::OnNomal1";
warp "arena_room",100,75;
- donpcevent "#arn_timer_80::Onstop";
- donpcevent "alloff#80::Onon";
- donpcevent "lvl 80s Waiting Room::Onstart";
+ donpcevent "#arn_timer_80::OnStop";
+ donpcevent "alloff#80::OnEnable";
+ donpcevent "Lv80 Waiting Room::OnStart";
end;
- }
- else
- {
+ } else {
emotion e_omg;
mes "[Staff]";
mes "Wow! You have renewed the record!";
@@ -917,7 +836,7 @@ prt_are_in,77,187,3 script Staff#80-2 67,{
set $top_80min, @record_min80;
set $top_80sec, @record_sec80;
set $arena_80topn$,strcharinfo(0);
- donpcevent "Vendigos::Onlinerec_80";
+ donpcevent "Vendigos::OnLineRec_80";
next;
if (arena_point > 29980) {
mes "[Staff]";
@@ -931,9 +850,7 @@ prt_are_in,77,187,3 script Staff#80-2 67,{
mes "I hope you had a good time and let me guide you to the entrance of arena.";
mes "Thank you.";
close2;
- }
- else
- {
+ } 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.";
@@ -949,18 +866,17 @@ prt_are_in,77,187,3 script Staff#80-2 67,{
close2;
}
specialeffect2 EF_HIT5;
- donpcevent "cast#80::Onnomal2";
+ donpcevent "cast#80::OnNomal2";
warp "arena_room",100,75;
- donpcevent "#arn_timer_80::Onstop";
- donpcevent "alloff#80::Onon";
- donpcevent "lvl 80s Waiting Room::Onstart";
+ donpcevent "#arn_timer_80::OnStop";
+ donpcevent "alloff#80::OnEnable";
+ donpcevent "Lv80 Waiting Room::OnStart";
end;
}
}
- script #arn_timer_80 -1,{
-
-Onon:
+OnEnable:
initnpctimer;
end;
@@ -977,62 +893,59 @@ OnTimer4000:
end;
OnTimer60000:
- donpcevent "cast#80::Ontimeover2";
- donpcevent "arn_warp_80::Onout";
- donpcevent "#arn_timer_80::Onstop";
- donpcevent "alloff#80::Onon";
- donpcevent "lvl 80s Waiting Room::Onstart";
+ donpcevent "cast#80::OnTimeOver2";
+ donpcevent "arn_warp_80::OnOut";
+ donpcevent "#arn_timer_80::OnStop";
+ donpcevent "alloff#80::OnEnable";
+ donpcevent "Lv80 Waiting Room::OnStart";
end;
-Onstop:
+OnStop:
stopnpctimer;
end;
-
}
- script arn_warp_80 -1,{
-
-Onout:
+OnOut:
areawarp "prt_are_in",66,195,81,178,"arena_room",100,75;
end;
}
- script cast#80 -1,{
-Ontimeover1:
+OnTimeOver1:
mapannounce "force_4-1","Arena will be reactivated due to an error occurred during battle.",0,0xFFCE00;
end;
-Ontimeover2:
+OnTimeOver2:
mapannounce "force_4-1","Arena will be activated due to an error occurred in the waiting room.",0,0xFFCE00;
end;
-Onnomal1:
+OnNomal1:
mapannounce "force_4-1","Arena will be reactivated.",0,0xFFCE00;
end;
-Onnomal2:
+OnNomal2:
mapannounce "force_4-1","Arena will be reactivated.",0,0xFFCE00;
end;
}
- script alloff#80 -1,{
-
-Onon:
+OnEnable:
mapwarp "force_4-1","prt_are_in",126,190,0,0;
- donpcevent "force_01mob#80::Onreset";
- donpcevent "force_02mob#80::Onreset";
- donpcevent "force_03mob#80::Onreset";
- donpcevent "force_04mob#80::Onreset";
- donpcevent "force_05mob#80::Onreset";
- donpcevent "force_06mob#80::Onreset";
- donpcevent "force_07mob#80::Onreset";
- donpcevent "force_08mob#80::Onreset";
- donpcevent "force_09mob#80::Onreset";
- donpcevent "force_01ex#80::Onreset";
- donpcevent "force_03ex#80::Onreset";
- donpcevent "force_04ex#80::Onreset";
- donpcevent "force_05ex#80::Onreset";
- donpcevent "force_07ex#80::Onreset";
- donpcevent "force_08ex#80::Onreset";
- donpcevent "force_09ex#80::Onreset";
- donpcevent "Octus#arena::Ontimeroff";
+ donpcevent "force_01mob#80::OnReset";
+ donpcevent "force_02mob#80::OnReset";
+ donpcevent "force_03mob#80::OnReset";
+ donpcevent "force_04mob#80::OnReset";
+ donpcevent "force_05mob#80::OnReset";
+ donpcevent "force_06mob#80::OnReset";
+ donpcevent "force_07mob#80::OnReset";
+ //donpcevent "force_08mob#80::OnReset";
+ donpcevent "force_09mob#80::OnReset";
+ donpcevent "force_01ex#80::OnReset";
+ donpcevent "force_03ex#80::OnReset";
+ donpcevent "force_04ex#80::OnReset";
+ donpcevent "force_05ex#80::OnReset";
+ donpcevent "force_07ex#80::OnReset";
+ //donpcevent "force_08ex#80::OnReset";
+ donpcevent "force_09ex#80::OnReset";
+ donpcevent "Octus#arena::OnTimerOff";
disablenpc "Octus#arena";
disablenpc "force_01_02#80";
disablenpc "force_02_03#80";
@@ -1044,7 +957,7 @@ Onon:
disablenpc "force_08_09#80";
disablenpc "force_exit#80";
disablenpc "arena#80";
- donpcevent "#arn_timer_80::Onstop";
+ donpcevent "#arn_timer_80::OnStop";
enablenpc "Octus#arena";
enablenpc "arena#80";
end;
@@ -1052,6 +965,4 @@ Onon:
OnInit:
if(!$top_80min && !$top_80sec) set $top_80min,8;
end;
-
}
-