diff options
author | SinSloth <SinSloth@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-31 11:56:28 +0000 |
---|---|---|
committer | SinSloth <SinSloth@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-31 11:56:28 +0000 |
commit | 6ae10f06358dc58c273953e3be0bad464a039e45 (patch) | |
tree | ce7a7ded7effe4d41e3c8239d09f40c3a9a57962 /npc/other/arena/arena_party.txt | |
parent | 01125519eed1ab1d2293e96e859e6711365b3d12 (diff) | |
download | hercules-6ae10f06358dc58c273953e3be0bad464a039e45.tar.gz hercules-6ae10f06358dc58c273953e3be0bad464a039e45.tar.bz2 hercules-6ae10f06358dc58c273953e3be0bad464a039e45.tar.xz hercules-6ae10f06358dc58c273953e3be0bad464a039e45.zip |
* Added Izlude Battle Arena. Please test it and report any bug you find out.
- Level 50/60/70/80 and Party arenas are accessable.
- Updated old warps to official.
- Acolyte-only arena will be added a bit later.
- Arena Points can be obtained by completing arenas as well as exchanging your Turbo Track points.
* Updated several mapflags - 'nomemo' 'noteleport' 'nosave' 'nowarpto' 'restricted' - due to Izlude Battle Arena release.
- Updated 'item_noequip' and 'skill_nocast_db' to match with 'restricted' mapflags.
* Removed useless WIP folder whose quests have been there for a while.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11622 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other/arena/arena_party.txt')
-rw-r--r-- | npc/other/arena/arena_party.txt | 1458 |
1 files changed, 1458 insertions, 0 deletions
diff --git a/npc/other/arena/arena_party.txt b/npc/other/arena/arena_party.txt new file mode 100644 index 000000000..6d339b2db --- /dev/null +++ b/npc/other/arena/arena_party.txt @@ -0,0 +1,1458 @@ +//===== eAthena Script ======================================== +//= Izlude Party Arena +//===== By: ================================================== +//= SinSloth +//===== Current Version: ===================================== +//= 1.0 +//===== Compatible With: ===================================== +//= Any Athena Version +//===== Description: ========================================= +//= Izlude Party Battle Arena +//===== Additional Comments: ================================= +//= 1.0 First version. +//============================================================ + +arena_room,162,88,3 script Ponox 124,{ + end; + +OnInit: + waitingroom "Time Force Battle - Last Party !",11,"Ponox::OnStartArena",1; + enablewaitingroomevent; + end; + +OnStartArena: + donpcevent "toarena#party::OnInit"; + donpcevent "toout#party::OnInit"; + warpwaitingpc "prt_are_in",73,78; + donpcevent "toout#party::OnTime"; + donpcevent "Helper#party::OnEnter"; + disablewaitingroomevent; + end; + +Onstart: + enablewaitingroomevent; + end; +} + +prt_are_in,76,87,3 script Helper#party 67,4,4,{ + + if($arn_partywait == 0) + { + set $arn_partywait,1; + emotion e_gasp,0; + mes "[Helper Iriff]"; + mes "Good day, challengers!"; + mes "You are in the party arena waiting room."; + next; + mes "[Helper Iriff]"; + mes "Only one person at a time is allowed to stay in this waiting room."; + mes "Would you like to start a battle now?"; + next; + switch( select( "No","Yes" ) ) + { + case 1: + set $arn_partywait,0; + mes "[Helper Iriff]"; + mes "I see."; + mes "However, please remember you have only a limited amount of time."; + close; + + case 2: + mes "[Helper Iriff]"; + mes "Thank you, let me start a battle."; + mes "A warp portal leading to the arena room will be open."; + mes "I hope you will survive until the end of the battle and engrave your name on the list of honor..."; + close2; + donpcevent "toarena#party::OnEnter"; + donpcevent "Helper#party::OnStop"; + donpcevent "arena_p::OnStart"; + end; + } + } + else end; + +OnEnter: + enablenpc "Helper#party"; + end; + +OnStop: + disablenpc "Helper#party"; + end; + +OnInit: + set $arn_partywait,0; + end; +} + +prt_are_in,73,78,0 script toarena#party 139,20,20,{ + +OnInit: + disablenpc "toarena#party"; + end; + +OnTouch: + if(Zeny < 1000) warp "arena_room",100,75; + else + { + set Zeny,Zeny -1000; + set $arn_partywait,0; + donpcevent "toout#party::OnStop"; + warp "force_1-2",99,26; + } + +OnEnter: + enablenpc "toarena#party"; + end; +} + +prt_are_in,73,79,0 script toout#party 139,20,20,{ + +OnInit: + disablenpc "toout#party"; + end; + +OnTimer: + initnpctimer; + end; + +OnTimer60000: + set $arn_partywait,0; + enablenpc "toout#party"; + end; + +OnTimer70000: + donpcevent "toout#party::OnStop"; + donpcevent "Ponox::Onstart"; + disablenpc "toout#party"; + +OnTouch: + set $arn_partywait,0; + warp "arena_room",100,75; + +OnEnter: + enablenpc "toout#party"; + end; + +OnStop: +// broadcastinmap "toout turns off the timer." + stopnpctimer; + end; +} + +prt_are_in,73,74,0 script arena_out 139,1,1,{ + +OnTouch: + set $arn_partywait,0; + warp "arena_room",100,75; + end; +} + +force_1-2,99,31,4 script Slipslowrun#party 124,{ + +OnInit: + set $@mapcountpt,0; + end; + +OnStart: + initnpctimer; + set $arena_minptst,gettime(2); + set $arena_secptst,gettime(1); + end; + +OnTimer2000: + mapannounce "force_1-2","Good day, my name is Slipslowrun! I am here to assist you in the party arena battles!",bc_all; + donpcevent "arena_compass::OnStart"; + end; + +OnTimer3000: + mapannounce "force_1-2","The goal of the party arena is eliminating every monster in each room.",bc_all; + end; + +OnTimer4000: + mapannounce "force_1-2","There is no order to enter one among 3 rooms at 3 direction. But remember you will eliminate all monsters in a room in order to procceed to the next step.",bc_all; + end; + +OnTimer5000: + mapannounce "force_1-2","You have 10 minutes from now. I expect you will do your best! ",bc_all; + end; + +OnTimer60000: + if(!getmapusers("force_1-2")) donpcevent "Slipslowrun#party::OnFail"; + mapannounce "force_1-2","Remaining Time : 9 minutes ",bc_all; + end; + +OnTimer120000: + if(!getmapusers("force_1-2")) donpcevent "Slipslowrun#party::OnFail"; + mapannounce "force_1-2","Remaining Time : 8 minutes ",bc_all; + end; + +OnTimer180000: + if(!getmapusers("force_1-2")) donpcevent "Slipslowrun#party::OnFail"; + mapannounce "force_1-2","Remaining Time : 7 minutes ",bc_all; + end; + +OnTimer240000: + if(!getmapusers("force_1-2")) donpcevent "Slipslowrun#party::OnFail"; + mapannounce "force_1-2","Remaining Time : 6 minutes ",bc_all; + end; + +OnTimer300000: + if(!getmapusers("force_1-2")) donpcevent "Slipslowrun#party::OnFail"; + mapannounce "force_1-2","Remaining Time : 5 minutes ",bc_all; + end; + +OnTimer360000: + if(!getmapusers("force_1-2")) donpcevent "Slipslowrun#party::OnFail"; + mapannounce "force_1-2","Remaining Time : 4 minutes ",bc_all; + end; + +OnTimer420000: + if(!getmapusers("force_1-2")) donpcevent "Slipslowrun#party::OnFail"; + mapannounce "force_1-2","Remaining Time : 3 minutes ",bc_all; + end; + +OnTimer480000: + if(!getmapusers("force_1-2")) donpcevent "Slipslowrun#party::OnFail"; + mapannounce "force_1-2","Remaining Time : 2 minutes ",bc_all; + end; + +OnTimer540000: + if(!getmapusers("force_1-2")) donpcevent "Slipslowrun#party::OnFail"; + mapannounce "force_1-2","Remaining Time : 1 minute ",bc_all; + end; + +OnTimer600000: + mapannounce "force_1-2","Time is over! Please make sure you do not leave anything behind you before you leave .",bc_all; + end; + +OnTimer605000: + donpcevent "arena_p::OnReset"; + mapwarp "force_1-2","prt_are_in",177,138; + end; + +OnTimer606000: +OnTimer607000: +OnTimer608000: +OnTimer609000: +OnTimer610000: +OnTimer611000: +OnTimer612000: +OnTimer613000: + mapwarp "force_1-2","prt_are_in",177,138; + end; + +OnTimer614000: + mapwarp "force_1-2","prt_are_in",177,138; + donpcevent "Slipslowrun#party::OnFail"; + end; + +OnFail: + donpcevent "Slipslowrun#party::OnTimeoff"; + mapwarp "force_1-2","prt_are_in",177,138; + donpcevent "arena_p::OnReset"; + donpcevent "alloff#party::OnInit"; + donpcevent "Ponox::Onstart"; + end; + +OnTimeoff: + stopnpctimer; + end; + +On01_end: + mapannounce "force_1-2","A door to the east room has opened!",bc_all; + end; + +On02_end: + mapannounce "force_1-2","A door to the west room has opened!",bc_all; + end; + +On03_end: + mapannounce "force_1-2","A door to the south room has opened!",bc_all; + end; + +On04_start: + mapannounce "force_1-2","A door to the 4th room at the east has opened!",bc_all; + end; + +On04_end1: + mapannounce "force_1-2","A warp portal at the west has opened! Please clear the 5th room at the end of the west hall! ",bc_all; + end; + +On04_end2: + mapannounce "force_1-2","A warp portal at the west north room has opened! ",bc_all; + end; + +On05_end1: + mapannounce "force_1-2","A door to the east room has opened~",bc_all; + end; + +On05_end2: + mapannounce "force_1-2","A door to the north room has opened~",bc_all; + end; + +On06_end: + mapannounce "force_1-2","A door to the east room has opened~",bc_all; + end; + +On07_end: + mapannounce "force_1-2","A door at the north has opened~",bc_all; + end; + +On08_end: + mapannounce "force_1-2","A door to the west hall has opened~",bc_all; + end; + +On09_end: + mapannounce "force_1-2","A west exit has opened!",bc_all; + end; + +On10_end: + mapannounce "force_1-2","Boss stage cleared! An exit at the east has opened! Thank you.",bc_all; + end; +} + +force_1-2,62,104,4 script arena_p 111,1,1,{ + +OnStart: + mapwarp "force_1-2","prt_are_in",177,138; + disablenpc "force_01_00"; + disablenpc "force_02_00"; + disablenpc "force_03_00"; + disablenpc "force_03_05"; + disablenpc "force_03_04"; + disablenpc "force_04_03"; + disablenpc "force_05_03"; + disablenpc "force_05_06"; + disablenpc "force_06_07"; + disablenpc "force_07_08"; + disablenpc "force_08_09"; + disablenpc "force_09_10"; + disablenpc "force_10_09"; + disablenpc "force_09_exit"; + enablenpc "force_01start#party"; + enablenpc "force_02start#party"; + enablenpc "force_03start#party"; + disablenpc "force_04start#party"; + disablenpc "force_05start#party"; + disablenpc "force_06start#party"; + disablenpc "force_07start#party"; + disablenpc "force_08start#party"; + disablenpc "force_09start#party"; + disablenpc "force_10start#party"; + disablenpc "force_exit#party"; + donpcevent "force_01mob#party::OnReset"; + donpcevent "force_02mob#party::OnReset"; + donpcevent "force_03mob#party::OnReset"; + donpcevent "force_04mob#party::OnReset"; + donpcevent "force_05mob#party::OnReset"; + donpcevent "force_06mob#party::OnReset"; + donpcevent "force_07mob#party::OnReset"; + donpcevent "force_08mob#party::OnReset"; + donpcevent "force_09mob#party::OnReset"; + donpcevent "force_10mob-1#party::OnReset"; + donpcevent "force_10mob-2#party::OnReset"; + donpcevent "force_exitmob#party::OnReset"; + donpcevent "Slipslowrun#party::OnStart"; + set $arn_partyc,0; + set $arn_partywait,0; + end; + +On04_start: + enablenpc "force_03_04"; + enablenpc "force_04start#party"; + end; + +On06_start: + enablenpc "force_05_06"; + enablenpc "force_06start#party"; + end; + +On07_start: + enablenpc "force_06_07"; + enablenpc "force_07start#party"; + end; + +On08_start: + enablenpc "force_07_08"; + enablenpc "force_08start#party"; + end; + +On09_start: + enablenpc "force_08_09"; + enablenpc "force_09start#party"; + end; + +On10_start: + enablenpc "force_09_10"; + enablenpc "force_10start#party"; + end; + +Onexit: + enablenpc "force_10_09"; + enablenpc "force_09_exit"; + enablenpc "force_exit#party"; + end; + +OnReset: + donpcevent "force_01mob#party::OnReset"; + donpcevent "force_02mob#party::OnReset"; + donpcevent "force_03mob#party::OnReset"; + donpcevent "force_04mob#party::OnReset"; + donpcevent "force_05mob#party::OnReset"; + donpcevent "force_06mob#party::OnReset"; + donpcevent "force_07mob#party::OnReset"; + donpcevent "force_08mob#party::OnReset"; + donpcevent "force_09mob#party::OnReset"; + donpcevent "force_10mob-1#party::OnReset"; + donpcevent "force_10mob-2#party::OnReset"; + donpcevent "force_exitmob#party::OnReset"; + end; +} + +force_1-2,85,26,1 script force_00_01 45,1,1,{ + +OnTouch: + warp "force_1-2",37,26; + end; +} + +force_1-2,114,26,1 script force_00_02 45,1,1,{ + +OnTouch: + warp "force_1-2",162,26; + end; +} + +force_1-2,99,40,1 script force_00_03 45,1,1,{ + +OnTouch: + warp "force_1-2",99,66; + end; +} + +force_1-2,41,26,1 script force_01_00 45,1,1,{ + +OnTouch: + warp "force_1-2",89,26; + end; +} + +force_1-2,158,26,1 script force_02_00 45,1,1,{ + +OnTouch: + warp "force_1-2",110,26; + end; +} + +force_1-2,99,63,1 script force_03_00 45,1,1,{ + +OnTouch: + warp "force_1-2",99,36; + end; +} + +force_1-2,84,78,1 script force_03_05 45,1,1,{ + +OnTouch: + warp "force_1-2",37,78; + end; +} + +force_1-2,115,78,1 script force_03_04 45,1,1,{ + +OnTouch: + warp "force_1-2",162,78; + end; +} +force_1-2,158,77,1 script force_04_03 45,1,1,{ + +OnTouch: + warp "force_1-2",110,78; + end; +} + +force_1-2,41,77,1 script force_05_03 45,1,1,{ + +OnTouch: + warp "force_1-2",37,78; + end; +} + +force_1-2,25,93,1 script force_05_06 45,1,1,{ + +OnTouch: + warp "force_1-2",26,118; + end; +} + +force_1-2,49,130,1 script force_06_07 45,1,1,{ + +OnTouch: + warp "force_1-2",91,125; + end; +} + +force_1-2,107,145,1 script force_07_08 45,1,1,{ + +OnTouch: + warp "force_1-2",173,118; + end; +} + +force_1-2,158,178,1 script force_08_09 45,1,1,{ + +OnTouch: + warp "force_1-2",133,178; + end; +} + +force_1-2,55,178,1 script force_09_10 45,1,1,{ + +OnTouch: + warp "force_1-2",29,178; + end; +} + +force_1-2,33,178,1 script force_10_09 45,1,1,{ + +OnTouch: + warp "force_1-2",59,178; + end; +} + +force_1-2,95,187,1 script force_09_exit 45,1,1,{ + +OnTouch: + set $arena_minptend,gettime(2); + set $arena_secptend,gettime(1); + warp "prt_are_in",73,139; + donpcevent "#arn_timer_pt::OnEnter"; + donpcevent "arena_p::OnReset"; + donpcevent "Slipslowrun#party::OnTimeoff"; + end; +} + +force_1-2,36,26,0 script force_01start#party 139,1,1,{ + +OnTouch: + donpcevent "force_01mob#party::Onon"; + disablenpc "force_01start#party"; + end; +} + +force_1-2,63,104,1 script force_01mob#party 111,{ + +Onon: + monster "force_1-2",15,35,"Penomena",1441,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",35,35,"Penomena",1441,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",15,15,"Penomena",1441,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",35,15,"Penomena",1441,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",15,25,"Clock",1528,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",17,25,"Clock",1528,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",19,25,"Clock",1528,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",21,25,"Clock",1528,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",15,25,"Clock",1528,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",17,25,"Clock",1528,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",19,25,"Clock",1528,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",21,25,"Clock",1528,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",15,30,"Alarm",1476,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",17,22,"Alarm",1476,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",19,32,"Alarm",1476,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",21,22,"Alarm",1476,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",26,33,"Clock Tower Keeper",1527,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",26,33,"Clock Tower Keeper",1527,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",26,14,"Ancient Worm",1567,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",30,27,"Ancient Worm",1567,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",29,25,"Ancient Worm",1567,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",26,14,"Ancient Worm",1567,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",33,26,"Incubus",1580,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",29,28,"Incubus",1580,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",33,20,"Incubus",1580,1,"force_01mob#party::OnMobDeath"; + monster "force_1-2",33,30,"Incubus",1580,1,"force_01mob#party::OnMobDeath"; + set $force_01_pt,26; + end; + +OnReset: + killmonster "force_1-2","force_01mob#party::OnMobDeath"; + end; + +OnMobDeath: + set $force_01_pt,$force_01_pt -1; + if($force_01_pt < 1) + { + enablenpc "force_01_00"; + donpcevent "Slipslowrun#party::On01_end"; + set $arn_partyc,$arn_partyc +1; + if($arn_partyc == 3) + { + donpcevent "Slipslowrun#party::On04_start"; + enablenpc "force_03_04"; + enablenpc "force_04start#party"; + } + } + end; +} + +force_1-2,162,26,0 script force_02start#party 139,1,1,{ + +OnTouch: + donpcevent "force_02mob#party::Onon"; + disablenpc "force_02start#party"; + end; +} + +force_1-2,63,103,1 script force_02mob#party 111,{ + +Onon: + monster "force_1-2",163,36,"Penomena",1441,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",184,36,"Penomena",1441,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",184,16,"Penomena",1441,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",163,16,"Penomena",1441,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",171,37,"Joker",1437,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",177,37,"Joker",1437,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",184,29,"Joker",1437,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",184,22,"Joker",1437,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",177,16,"Joker",1437,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",170,16,"Joker",1437,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",169,28,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",171,28,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",173,28,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",175,28,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",177,28,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",177,23,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",175,23,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",173,23,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",171,23,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",169,23,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",187,30,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",187,30,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",187,30,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",187,22,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",187,22,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",187,22,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",173,40,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",173,40,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",181,25,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; + monster "force_1-2",181,25,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; + set $force_02_pt,30; + end; + +OnReset: + killmonster "force_1-2","force_02mob#party::OnMobDeath"; + end; + +OnMobDeath: + set $force_02_pt,$force_02_pt -1; + if($force_02_pt < 1) + { + enablenpc "force_02_00"; + donpcevent "Slipslowrun#party::On02_end"; + set $arn_partyc,$arn_partyc +1; + if($arn_partyc == 3) + { + donpcevent "Slipslowrun#party::On04_start"; + enablenpc "force_03_04"; + enablenpc "force_04start#party"; + } + } + end; +} + +force_1-2,99,66,0 script force_03start#party 139,1,1,{ + +OnTouch: + donpcevent "force_03mob#party::Onon"; + disablenpc "force_03start#party"; + end; +} + +force_1-2,63,102,1 script force_03mob#party 111,{ + +Onon: + monster "force_1-2",89,81,"Merman",1451,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",90,81,"Merman",1451,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",91,81,"Merman",1451,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",92,81,"Merman",1451,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",93,81,"Merman",1451,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",96,85,"Wind Ghost",1450,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",98,85,"Wind Ghost",1450,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",100,85,"Wind Ghost",1450,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",102,85,"Wind Ghost",1450,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",104,85,"Wind Ghost",1450,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",88,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",90,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",92,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",94,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",96,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",98,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",100,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",102,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",104,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",106,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",108,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",110,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",91,86,"Wanderer",1490,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",108,86,"Wanderer",1490,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",91,69,"Wanderer",1490,1,"force_03mob#party::OnMobDeath"; + monster "force_1-2",108,69,"Wanderer",1490,1,"force_03mob#party::OnMobDeath"; + set $force_03_pt,26; + end; + +OnReset: + killmonster "force_1-2","force_03mob#party::OnMobDeath"; + end; + +OnMobDeath: + set $force_03_pt,$force_03_pt -1; + if($force_03_pt < 1) + { + enablenpc "force_03_00"; + donpcevent "Slipslowrun#party::On03_end"; + set $arn_partyc,$arn_partyc +1; + if($arn_partyc == 3) + { + donpcevent "Slipslowrun#party::On04_start"; + enablenpc "force_03_04"; + enablenpc "force_04start#party"; + } + } + end; +} + +force_1-2,162,78,0 script force_04start#party 139,3,3,{ + +OnTouch: + donpcevent "force_04mob#party::Onon"; + disablenpc "force_04start#party"; + end; +} + +force_1-2,63,101,1 script force_04mob#party 111,{ + +Onon: + monster "force_1-2",174,78,"Penomena",1441,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",184,78,"Penomena",1441,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",184,68,"Penomena",1441,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",174,68,"Penomena",1441,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",169,87,"Ride Word",1478,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",170,87,"Ride Word",1478,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",171,87,"Ride Word",1478,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",172,87,"Ride Word",1478,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",169,77,"Ride Word",1478,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",170,77,"Ride Word",1478,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",171,77,"Ride Word",1478,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",172,77,"Ride Word",1478,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",183,83,"Wraith Dead",1566,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",183,80,"Wraith Dead",1566,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",183,73,"Wraith Dead",1566,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",183,70,"Wraith Dead",1566,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",179,77,"Wraith Dead",1566,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",169,72,"Assaulter",1364,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",171,72,"Assaulter",1364,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",173,72,"Assaulter",1364,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",175,72,"Assaulter",1364,1,"force_04mob#party::OnMobDeath"; + monster "force_1-2",177,72,"Assaulter",1364,1,"force_04mob#party::OnMobDeath"; + set $force_04_pt,22; + end; + +OnReset: + killmonster "force_1-2","force_04mob#party::OnMobDeath"; + end; + +OnMobDeath: + set $force_04_pt,$force_04_pt -1; + if($force_04_pt < 1) + { + enablenpc "force_04_03"; + enablenpc "force_03_05"; + enablenpc "force_05start#party"; + donpcevent "Slipslowrun#party::On04_end1"; + } + end; +} + +force_1-2,36,77,0 script force_05start#party 139,1,1,{ + +OnTouch: + donpcevent "force_05mob#party::Onon"; + disablenpc "force_05start#party"; + end; +} + +force_1-2,63,100,1 script force_05mob#party 111,{ + +Onon: + monster "force_1-2",25,68,"Penomena",1441,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",36,68,"Penomena",1441,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",16,88,"Penomena",1441,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",15,78,"Penomena",1441,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",33,88,"Sting",1489,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",29,87,"Sting",1489,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",25,81,"Sting",1489,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",25,78,"Sting",1489,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",25,72,"Sting",1489,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",29,70,"Sting",1489,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",21,70,"Sting",1489,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",19,76,"Sting",1489,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",19,83,"Sting",1489,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",23,89,"Sting",1489,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",22,85,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",23,85,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",24,85,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",23,86,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",22,86,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",22,71,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",22,72,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",23,71,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",23,72,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; + monster "force_1-2",24,71,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; + set $force_05_pt,24; + end; + +OnReset: + killmonster "force_1-2","force_05mob#party::OnMobDeath"; + end; + +OnMobDeath: + set $force_05_pt,$force_05_pt -1; + if($force_05_pt < 1) + { + donpcevent "arena_p::On06_start"; + donpcevent "Slipslowrun#party::On05_end2"; + } + end; +} + +force_1-2,26,118,0 script force_06start#party 139,1,1,{ + +OnTouch: + donpcevent "force_06mob#party::Onon"; + disablenpc "force_06start#party"; + end; +} + +force_1-2,63,99,1 script force_06mob#party 111,{ + +Onon: + monster "force_1-2",19,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",24,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",28,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",32,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",24,127,"Shinobi",1560,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",27,127,"Shinobi",1560,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",24,128,"Shinobi",1560,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",27,128,"Shinobi",1560,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",24,129,"Shinobi",1560,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",27,129,"Shinobi",1560,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",16,140,"Tengu",1563,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",16,136,"Tengu",1563,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",16,132,"Tengu",1563,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",16,128,"Tengu",1563,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",16,124,"Tengu",1563,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",16,120,"Tengu",1563,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",16,140,"Wicked Nymph",1564,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",16,136,"Wicked Nymph",1564,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",16,132,"Wicked Nymph",1564,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",16,128,"Wicked Nymph",1564,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",16,124,"Wicked Nymph",1564,1,"force_06mob#party::OnMobDeath"; + monster "force_1-2",16,120,"Wicked Nymph",1564,1,"force_06mob#party::OnMobDeath"; + set $force_06_pt,22; + end; + +OnReset: + killmonster "force_1-2","force_06mob#party::OnMobDeath"; + end; + +OnMobDeath: + set $force_06_pt,$force_06_pt -1; + if($force_06_pt < 1) + { + donpcevent "arena_p::On07_start"; + donpcevent "Slipslowrun#party::On06_end"; + set $arn_partyc,$arn_partyc +1; + } + end; +} + +force_1-2,92,124,0 script force_07start#party 139,1,1,{ + +OnTouch: + donpcevent "force_07mob#party::Onon"; + disablenpc "force_07start#party"; + end; +} + +force_1-2,63,98,1 script force_07mob#party 111,{ + +Onon: + monster "force_1-2",104,134,"Greatest General",1541,1,"force_07mob#party::OnMobDeath"; + monster "force_1-2",104,136,"Greatest General",1541,1,"force_07mob#party::OnMobDeath"; + monster "force_1-2",104,137,"Greatest General",1541,1,"force_07mob#party::OnMobDeath"; + monster "force_1-2",104,139,"Greatest General",1541,1,"force_07mob#party::OnMobDeath"; + monster "force_1-2",111,134,"Greatest General",1541,1,"force_07mob#party::OnMobDeath"; + monster "force_1-2",111,136,"Greatest General",1541,1,"force_07mob#party::OnMobDeath"; + monster "force_1-2",111,137,"Greatest General",1541,1,"force_07mob#party::OnMobDeath"; + monster "force_1-2",111,139,"Greatest General",1541,1,"force_07mob#party::OnMobDeath"; + monster "force_1-2",98,122,"Khalitzburg",1438,1,"force_07mob#party::OnMobDeath"; + monster "force_1-2",90,119,"Khalitzburg",1438,1,"force_07mob#party::OnMobDeath"; + monster "force_1-2",98,122,"Executioner",1487,1,"force_07mob#party::OnMobDeath"; + monster "force_1-2",108,140,"Chimera",1456,1,"force_07mob#party::OnMobDeath"; + set $force_07_pt,12; + end; + +OnReset: + killmonster "force_1-2","force_07mob#party::OnMobDeath"; + end; + +OnMobDeath: + set $force_07_pt,$force_07_pt -1; + if($force_07_pt < 1) + { + donpcevent "arena_p::On08_start"; + donpcevent "Slipslowrun#party::On07_end"; + set $arn_partyc,$arn_partyc +1; + } + end; +} + +force_1-2,173,118,0 script force_08start#party 139,1,1,{ + +OnTouch: + donpcevent "force_08mob#party::Onon"; + disablenpc "force_08start#party"; + end; +} + +force_1-2,63,97,1 script force_08mob#party 111,{ + +Onon: + monster "force_1-2",172,154,"Khalitzburg",1438,1,"force_08mob#party::OnMobDeath"; + monster "force_1-2",174,145,"Ghostring",1576,1,"force_08mob#party::OnMobDeath"; + monster "force_1-2",174,145,"Chimera",1456,1,"force_08mob#party::OnMobDeath"; + set $force_08_pt,4; + if(.arn_injustice != 5) + { + monster "force_1-2",rand(162,184),rand(122,185),"Injustice",1446,1,"force_08mob#party::OnMobDeath"; + set .arn_injustice,.arn_injustice +1; + set $force_08_pt,$force_08_pt +1; + } + monster "force_1-2",rand(162,184),rand(122,185),"Raydric Archer",1453,1,"force_08mob#party::OnMobDeath"; + if(.arn_terror != 5) + { + monster "force_1-2",rand(162,184),rand(122,185),"Nightmare Terror",1554,1,"force_08mob#party::OnMobDeath"; + set .arn_terror,.arn_terror +1; + set $force_08_pt,$force_08_pt +1; + } + if(.arn_mummy != 6) + { + monster "force_1-2",rand(162,184),rand(122,185),"Ancient Mummy",1522,1,"force_08mob#party::OnMobDeath"; + set .arn_mummy,.arn_mummy +1; + set $force_08_pt,$force_08_pt +1; + } + if(.arn_skel != 10) + { + monster "force_1-2",rand(162,184),rand(122,185),"Skel Prisoner",1479,1,"force_08mob#party::OnMobDeath"; + set .arn_skel,.arn_skel +1; + set $force_08_pt,$force_08_pt +1; + } + if(.arn_hunt != 5) + { + monster "force_1-2",rand(162,184),rand(122,185),"Hunter Fly",1422,1,"force_08mob#party::OnMobDeath"; + set .arn_hunt,.arn_hunt +1; + set $force_08_pt,$force_08_pt +1; + } + end; + +OnReset: + killmonster "force_1-2","force_08mob#party::OnMobDeath"; + end; + +OnMobDeath: + set $force_08_pt,$force_08_pt -1; + if($force_08_pt < 1) + { + donpcevent "arena_p::On09_start"; + donpcevent "Slipslowrun#party::On08_end"; + set $arn_partyc,$arn_partyc +1; + } + end; +} + +force_1-2,133,178,0 script force_09start#party 139,1,1,{ + +OnTouch: + donpcevent "force_09mob#party::Onon"; + disablenpc "force_09start#party"; + end; +} + +force_1-2,63,97,1 script force_09mob#party 111,{ + +Onon: + monster "force_1-2",86,180,"Elder",1573,1,"force_09mob#party::OnMobDeath"; + monster "force_1-2",86,176,"Elder",1573,1,"force_09mob#party::OnMobDeath"; + monster "force_1-2",95,183,"Elder",1573,1,"force_09mob#party::OnMobDeath"; + monster "force_1-2",94,175,"Elder",1573,1,"force_09mob#party::OnMobDeath"; + monster "force_1-2",76,178,"Elder",1573,1,"force_09mob#party::OnMobDeath"; + monster "force_1-2",84,179,"Explosion",1532,1,"force_09mob#party::OnMobDeath"; + monster "force_1-2",74,181,"Explosion",1532,1,"force_09mob#party::OnMobDeath"; + monster "force_1-2",73,176,"Explosion",1532,1,"force_09mob#party::OnMobDeath"; + monster "force_1-2",62,178,"Explosion",1532,1,"force_09mob#party::OnMobDeath"; + monster "force_1-2",68,177,"Explosion",1532,1,"force_09mob#party::OnMobDeath"; + monster "force_1-2",122,177,"Lava Golem",1549,1,"force_09mob#party::OnMobDeath"; + monster "force_1-2",112,179,"Lava Golem",1549,1,"force_09mob#party::OnMobDeath"; + monster "force_1-2",122,178,"Anolian",1488,1,"force_09mob#party::OnMobDeath"; + monster "force_1-2",121,177,"Anolian",1488,1,"force_09mob#party::OnMobDeath"; + monster "force_1-2",122,177,"Anolian",1488,1,"force_09mob#party::OnMobDeath"; + set $force_09_pt,15; + end; + +OnReset: + killmonster "force_1-2","force_09mob#party::OnMobDeath"; + end; + +OnMobDeath: + set $force_09_pt,$force_09_pt -1; + if($force_09_pt < 1) + { + donpcevent "arena_p::On10_start"; + donpcevent "Slipslowrun#party::On09_end"; + set $arn_partyc,$arn_partyc +1; + } + end; +} + +force_1-2,29,178,0 script force_10start#party 139,1,1,{ + +OnTouch: + donpcevent "force_10mob-1#party::Onon1"; + disablenpc "force_10start#party"; + end; +} + +force_1-2,63,95,1 script force_10mob-1#party 111,{ + +Onon1: + switch(rand(1,2)) + { + case 1: + monster "force_1-2",16,179,"Evil Snake Lord",1529,1,"force_10mob-1#party::OnMobDeath"; + break; + + case 2: + monster "force_1-2",24,179,"Dracula",1530,1,"force_10mob-1#party::OnMobDeath"; + break; + } + set $force_10_1_pt,1; + end; + +OnReset: + killmonster "force_1-2","force_10mob-1#party::OnMobDeath"; + end; + +OnMobDeath: + set $force_10_1_pt,$force_10_1_pt -1; + if($force_10_1_pt < 1) donpcevent "force_10mob-2#party::Onon2"; + end; +} + +force_1-2,63,96,1 script force_10mob-2#party 111,{ + +Onon2: + monster "force_1-2",16,179,"Samurai Spector",1542,1,"force_10mob-2#party::OnMobDeath"; + monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMobDeath"; + monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMobDeath"; + monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMobDeath"; + monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMobDeath"; + monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMobDeath"; + set $force_10_2_pt,6; + end; + +OnReset: + killmonster "force_1-2","force_10mob-2#party::OnMobDeath"; + end; + +OnMobDeath: + set $force_10_2_pt,$force_10_2_pt -1; + if($force_10_2_pt < 1) + { + donpcevent "arena_p::Onexit"; + donpcevent "Slipslowrun#party::On10_end"; + set $arn_partyc,0; + } + end; +} + +force_1-2,59,178,0 script force_exit#party 139,1,1,{ + +OnTouch: + donpcevent "force_exitmob#party::Onon-1"; + disablenpc "force_exit#party"; + end; +} + +force_1-2,63,94,1 script force_exitmob#party 111,{ + +Onon: + monster "force_1-2",95,177,"Farewell",1393,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"I hate you",1543,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"I like chocolate",1472,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"You like it, huh?",1472,1,"force_exitmob-#party::OnMobDeath"; + monster "force_1-2",95,177,"Sorry",1420,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Tristram II",1562,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"I am hungry",1468,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Bye",1419,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Take care",1394,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Sexy Body",1578,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Pressure",1471,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Take it easy",1491,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Are you gonna hurt me?",1555,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Merchant",1428,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Ms. Kim",1472,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Martial Art",1472,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Part-timer",1420,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Boss",1562,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Old Yellow Box",1474,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Bat",1419,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Extra",1394,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Milk Merchant",1578,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Darling",1471,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Oh noes!",1491,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"I am not a Wraith",1566,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Mom Wraith",1566,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Dad Wraith",1566,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Book[3]",1478,1,"force_exitmob#party::OnMobDeath"; + monster "force_1-2",95,177,"Exchange Diary",1478,1,"force_exitmob#party::OnMobDeath"; + end; + +OnReset: + killmonster "force_1-2","force_exitmob#party::OnMobDeath"; + end; +} + +prt_are_in,181,135,3 script Staff#party-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 4; + warp "arena_room",100,75; + end; +} + +prt_are_in,77,135,3 script Staff#party-2 67,{ + + if($arena_minptend < $arena_minptst) + { + if($arena_secptend < $arena_secptst) + { + set @record_minpt,60 - $arena_minptst + $arena_minptend -1; + set @record_secpt,60 - $arena_secptst + $arena_secptend; + } + else + { + set @record_minpt,60 - $arena_minptst + $arena_minptend; + set @record_secpt,$arena_secptend - $arena_secptst; + } + } + else + { + if($arena_secptend < $arena_secptst) + { + set @record_minpt,$arena_minptend - $arena_minptst -1; + set @record_secpt,60 - $arena_secptst + $arena_secptend; + } + else + { + set @record_minpt,$arena_minptend - $arena_minptst; + set @record_secpt,$arena_secptend - $arena_secptst; + } + } + set @gappt,(60 * $top_ptmin + $top_ptsec) - (60 * @record_minpt + @record_secpt); + 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_minpt+"minutes "+@record_secpt+"seconds."; + mes "Congratulations!"; + next; + mes "[Staff]"; + mes "The fastest party among people who cleared party arena time force battle is ^3131FF"+$arena_pttopn$+"^000000."; + next; + mes "[Staff]"; + mes "^3131FF"+$arena_pttopn$+"^000000's running time was ^3131FF"+$top_ptmin+"^000000minutes ^3131FF"+$top_ptsec+"^000000seconds."; + next; + set .arn_party,getcharid(1); + if (@gappt < 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 + 40; + 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; + } + if(getpartyleader(.arn_party,2) == getcharid(0)) + { + donpcevent "#arn_timer_pt::Onstop"; + donpcevent "alloff#pt::Onon"; + donpcevent "Ponox::Onstart"; + } + specialeffect2 4; + donpcevent "cast#pt::Onnomal1"; + warp "arena_room",100,75; + end; + } + else + { + emotion e_omg; + mes "[Staff]"; + mes "Wow! You have renewed the record!"; + mes "What a great job!"; + next; + if(getpartyleader(.arn_party,2) == getcharid(0)) + { + mes "[Staff]"; + mes "You can record you and your party members on ^FF0000the hall of Arena Time Force Battle party ^000000."; + mes "When you enter a name, the name will be remained on the top unless someone make a new record."; + next; + mes "[Staff]"; + mes "Please enter a name within 10 letters which can represent you and your party members."; + next; + switch( select( "Ok.","Let me think." ) ) + { + case 1: + input .@arnparty$; + mes "[Staff]"; + mes "You have entered ^3131FF"+.@arnparty$+"^000000. Is it correct?"; + next; + switch( select( "Yes","No" ) ) + { + case 1: + set $top_ptmin, @record_minpt; + set $top_ptsec, @record_secpt; + set $arena_pttopn$,.@arnparty$; + donpcevent "Vendigos::Onlinerec_pt"; + mes "[Staff]"; + mes "Your record has been entered."; + next; + break; + + case 2: + mes "[Staff]"; + mes "Please take your time and think up a nice name."; + close; + + } + break; + + case 2: + mes "[Staff]"; + mes "Please take your time and think up a nice name."; + close; + + } + + + } + if (arena_point > 29900) { + 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 + 100; + 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; + } + if(getpartyleader(.arn_party,2) == getcharid(0)) + { + donpcevent "#arn_timer_pt::Onstop"; + donpcevent "alloff#pt::Onon"; + donpcevent "Ponox::Onstart"; + } + specialeffect2 4; + warp "arena_room",100,75; + end; + } + +} + +prt_are_in,66,143,3 script #arn_timer_pt 139,{ + +OnEnter: + initnpctimer; + end; + +OnTimer2000: + mapannounce "prt_are_in","This broadcast informs you about the restriction for party arena.",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#pt::Ontimeover2"; + donpcevent "arn_warp_pt::Onout"; + donpcevent "#arn_timer_pt::Onstop"; + donpcevent "alloff#pt::Onon"; + donpcevent "Ponox::Onstart"; + end; + +Onstop: + stopnpctimer; + end; +} + +prt_are_in,1,1,1 script arn_warp_pt -1,{ + +Onout: + areawarp "prt_are_in",73,131,20,20,"arena_room",100,75; + end; +} + +force_1-2,62,104,4 script cast#pt 139,{ + +Ontimeover1: + mapannounce "force_2-1","Arena will be reactivated due to an error occurred during battle.",0,0xFFCE00; + end; + +Onnomal1: + mapannounce "force_2-1","Arena will be reactivated.",0,0xFFCE00; + end; + +Onnomal2: + mapannounce "force_2-1","Arena will be reactivated.",0,0xFFCE00; + end; + +Ontimeover2: + mapannounce "force_2-1","Arena will be reactivated due to an error occurred in the waiting room.",0,0xFFCE00; + end; +} + +force_1-2,100,60,3 script alloff#pt 139,{ + +Onon: + mapwarp "force_1-2","prt_are_in",126,139,0,0; + donpcevent "force_01mob#party::OnReset"; + donpcevent "force_02mob#party::OnReset"; + donpcevent "force_03mob#party::OnReset"; + donpcevent "force_04mob#party::OnReset"; + donpcevent "force_05mob#party::OnReset"; + donpcevent "force_06mob#party::OnReset"; + donpcevent "force_07mob#party::OnReset"; + donpcevent "force_08mob#party::OnReset"; + donpcevent "force_09mob#party::OnReset"; + donpcevent "force_10-1mob#party::OnReset"; + donpcevent "force_10-2mob#party::OnReset"; + donpcevent "force_exitmob#party::OnReset"; + disablenpc "force_01mob#party"; + disablenpc "force_02mob#party"; + disablenpc "force_03mob#party"; + disablenpc "force_04mob#party"; + disablenpc "force_05mob#party"; + disablenpc "force_06mob#party"; + disablenpc "force_07mob#party"; + disablenpc "force_08mob#party"; + disablenpc "force_09mob#party"; + disablenpc "force_10mob-1#party"; + disablenpc "force_10mob-2#party"; + enablenpc "force_01start#party"; + enablenpc "force_02start#party"; + enablenpc "force_03start#party"; + disablenpc "force_04start#party"; + disablenpc "force_05start#party"; + disablenpc "force_06start#party"; + disablenpc "force_07start#party"; + disablenpc "force_08start#party"; + disablenpc "force_09start#party"; + disablenpc "force_10start#party"; + disablenpc "force_exit#party"; + disablenpc "force_01_00"; + disablenpc "force_02_00"; + disablenpc "force_03_00"; + disablenpc "force_03_05"; + disablenpc "force_03_04"; + disablenpc "force_04_03"; + disablenpc "force_05_03"; + disablenpc "force_05_06"; + disablenpc "force_06_07"; + disablenpc "force_07_08"; + disablenpc "force_08_09"; + disablenpc "force_09_10"; + disablenpc "force_10_09"; + disablenpc "force_09_exit"; + disablenpc "arena_p"; + donpcevent "Slipslowrun#party::Ontimeroff"; + disablenpc "Slipslowrun#party"; + disablenpc "arn_warp_pt"; + set $arn_partywait,0; + set $arn_partyc,0; + donpcevent "#arn_timer_pt::Onstop"; + enablenpc "Slipslowrun#party"; + enablenpc "arena_p"; + end; + +OnInit: + if(!$top_ptmin && !$top_ptsec) set $top_ptmin,10; + end; + +}
\ No newline at end of file |