diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-05 11:34:32 +0300 |
---|---|---|
committer | gumi <git@gumi.ca> | 2020-07-29 15:02:44 +0000 |
commit | 9d59f82368082fb1cf3aec225c483f9e32b4c075 (patch) | |
tree | 0200835722c95b4c789ed597cea40d293a650bd3 /npc/other/arena | |
parent | e8ccbb249b5dcf3aeaa4ba440b20b1c6c1feeaa0 (diff) | |
download | hercules-9d59f82368082fb1cf3aec225c483f9e32b4c075.tar.gz hercules-9d59f82368082fb1cf3aec225c483f9e32b4c075.tar.bz2 hercules-9d59f82368082fb1cf3aec225c483f9e32b4c075.tar.xz hercules-9d59f82368082fb1cf3aec225c483f9e32b4c075.zip |
Remove unused dirs
Diffstat (limited to 'npc/other/arena')
-rw-r--r-- | npc/other/arena/arena_aco.txt | 1806 | ||||
-rw-r--r-- | npc/other/arena/arena_lvl50.txt | 1034 | ||||
-rw-r--r-- | npc/other/arena/arena_lvl60.txt | 1047 | ||||
-rw-r--r-- | npc/other/arena/arena_lvl70.txt | 1011 | ||||
-rw-r--r-- | npc/other/arena/arena_lvl80.txt | 990 | ||||
-rw-r--r-- | npc/other/arena/arena_party.txt | 1266 | ||||
-rw-r--r-- | npc/other/arena/arena_point.txt | 196 | ||||
-rw-r--r-- | npc/other/arena/arena_room.txt | 1036 |
8 files changed, 0 insertions, 8386 deletions
diff --git a/npc/other/arena/arena_aco.txt b/npc/other/arena/arena_aco.txt deleted file mode 100644 index 2f6c0a023..000000000 --- a/npc/other/arena/arena_aco.txt +++ /dev/null @@ -1,1806 +0,0 @@ -//================= Hercules Script ======================================= -//= _ _ _ -//= | | | | | | -//= | |_| | ___ _ __ ___ _ _| | ___ ___ -//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| -//= | | | | __/ | | (__| |_| | | __/\__ \ -//= \_| |_/\___|_| \___|\__,_|_|\___||___/ -//================= License =============================================== -//= This file is part of Hercules. -//= http://herc.ws - http://github.com/HerculesWS/Hercules -//= -//= Copyright (C) 2012-2020 Hercules Dev Team -//= Copyright (C) Euphy -//= Copyright (C) Kisuka -//= Copyright (C) L0ne_W0lf -//= -//= Hercules is free software: you can redistribute it and/or modify -//= it under the terms of the GNU General Public License as published by -//= the Free Software Foundation, either version 3 of the License, or -//= (at your option) any later version. -//= -//= This program is distributed in the hope that it will be useful, -//= but WITHOUT ANY WARRANTY; without even the implied warranty of -//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -//= GNU General Public License for more details. -//= -//= You should have received a copy of the GNU General Public License -//= along with this program. If not, see <http://www.gnu.org/licenses/>. -//========================================================================= -//= Izlude Arena Script -//================= Description =========================================== -//= Izlude Acolyte Battle Arena -//================= Current Version ======================================= -//= 1.5 -//========================================================================= - -arena_room,114,102,0 script onlyaco#arena WARPNPC,1,1,{ -OnTouch: - if (BaseClass == Job_Acolyte) { - warp "arena_room",135,129; - end; - } - else { - mes "Only Acolyte class are applicable to join this mode."; - close; - } -} - -arena_room,136,138,3 script Acolyte Waiting Room 4_F_TELEPORTER,{ - end; - -OnInit: - waitingroom "Personal Force, Acolyte Class",50,"Acolyte Waiting Room::OnStartArena",1,1000,10; - enablewaitingroomevent; - end; - -OnStartArena: - warpwaitingpc "force_5-1",99,12; - enablenpc "arena#aco"; - disablewaitingroomevent; - end; - -OnStart: - enablewaitingroomevent; - end; -} - -force_5-1,100,12,0 script arena#aco FAKE_NPC,5,5,{ -OnTouch: - donpcevent "allkill#aco::OnEnable"; - if (BaseJob == Job_Acolyte) { - donpcevent "arena_aco1::OnStart"; - } - else { - donpcevent "arena_aco2::OnStart"; - } - disablenpc "arena#aco"; - end; -} - -- script arena_aco1 FAKE_NPC,{ -OnStart: - donpcevent "Trocco#aco1::OnEnable"; - end; - -OnReset_01: - enablenpc "force_01_02#aco"; - enablenpc "force_02start#aco"; - end; - -OnReset_02: - donpcevent "force_02mob#aco::OnReset"; - enablenpc "force_02_03#aco"; - enablenpc "force_03start#aco"; - end; - -OnReset_03: - enablenpc "force_03_04#aco"; - enablenpc "force_04start#aco"; - end; - -OnReset_04: - enablenpc "force_04_05#aco"; - enablenpc "force_05start#aco"; - end; - -OnReset_05: - enablenpc "force_05_06#aco"; - enablenpc "force_06start#aco"; - end; - -OnReset_06: - enablenpc "force_06_07#aco"; - enablenpc "force_07start#aco"; - end; - -OnReset_07: - enablenpc "force_07_08#aco"; - enablenpc "force_08start#aco"; - end; - -OnReset_08: - enablenpc "force_08_09#aco"; - enablenpc "force_09start#aco"; - end; - -OnReset_09: - enablenpc "force_exit#aco"; - end; -} - -- script Trocco#aco1 FAKE_NPC,{ -OnEnable: - initnpctimer; - $@arn_1 = gettimetick(2); - end; - -OnTimer2000: - mapannounce "force_5-1","Good day! I am Trocco, your host for the Acolyte Class Time Force Battle!",bc_map|bc_npc; - end; - -OnTimer3000: - mapannounce "force_5-1","Make your decisions carefully. Here, the right choices make the difference between victory and defeat!",bc_map|bc_npc; - end; - -OnTimer4000: - mapannounce "force_5-1","You now have 8 minutes to complete this challenge. Enter the Left Entrance now to begin. Remember that you will be traveling clockwise as you clear the stages.",bc_map|bc_npc; - end; - -OnTimer60000: - if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco1::OnFailClearStage"; - } - mapannounce "force_5-1","Time left: 7 Minutes",bc_map|bc_npc; - end; - -OnTimer120000: - if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco1::OnFailClearStage"; - } - mapannounce "force_5-1","Time left: 6 Minutes",bc_map|bc_npc; - end; - -OnTimer180000: - if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco1::OnFailClearStage"; - } - mapannounce "force_5-1","Time left: 5 Minutes",bc_map|bc_npc; - end; - -OnTimer240000: - if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco1::OnFailClearStage"; - } - mapannounce "force_5-1","Time left: 4 Minutes",bc_map|bc_npc; - end; - -OnTimer300000: - if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco1::OnFailClearStage"; - } - mapannounce "force_5-1","Time left: 3 Minutes",bc_map|bc_npc; - end; - -OnTimer360000: - if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco1::OnFailClearStage"; - } - mapannounce "force_5-1","Time left: 2 Minutes",bc_map|bc_npc; - end; - -OnTimer420000: - if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco1::OnFailClearStage"; - } - mapannounce "force_5-1","Time left: 1 Minute",bc_map|bc_npc; - end; - -OnTimer480000: - mapannounce "force_5-1","Time's up! I hope you had fun!",bc_map|bc_npc; - end; - -OnTimer485000: -OnTimer486000: -OnTimer487000: -OnTimer488000: -OnTimer489000: -OnTimer490000: -OnTimer491000: -OnTimer492000: -OnTimer493000: -OnTimer494000: - mapwarp "force_5-1","prt_are_in",177,86; - end; - -OnTimer495000: - mapwarp "force_5-1","prt_are_in",177,86; - donpcevent "Trocco#aco1::OnFailClearStage"; - end; - -OnTimerOff: - stopnpctimer; - end; - -OnFailClearStage: - mapwarp "force_5-1","prt_are_in",177,86; - donpcevent "Trocco#aco1::OnTimerOff"; - //donpcevent "arena_aco1::OnReset"; - donpcevent "Acolyte Waiting Room::OnStart"; - end; - -On01_Start: - mapannounce "force_5-1","Objective: Destroy all Red Plants!",bc_map|bc_npc; - end; - -On01_End: - mapannounce "force_5-1","The North Exit has opened!",bc_map|bc_npc; - end; - -On02_Start: - mapannounce "force_5-1","Objective: Kill at least 10 Drops!",bc_map|bc_npc; - end; - -On02_End: - mapannounce "force_5-1","The North Exit has opened!",bc_map|bc_npc; - end; - -On03_Start: - mapannounce "force_5-1","Objective: Terminate all Zombies!",bc_map|bc_npc; - end; - -On03_End: - mapannounce "force_5-1","The East Exit has opened!",bc_map|bc_npc; - end; - -On04_Start: - mapannounce "force_5-1","As a courtesy, we'll restore some of your HP and SP. Now, head to the next room! Go go go!!",bc_map|bc_npc; - end; - -On05_Start: - mapannounce "force_5-1","Objective: Obliterate all Orc Zombies!",bc_map|bc_npc; - end; - -On05_End: - mapannounce "force_5-1","The South Exit has opened!",bc_map|bc_npc; - end; - -On06_Start: - mapannounce "force_5-1","Objective: Reach the South Exit while dodging Hydras!",bc_map|bc_npc; - end; - -On07_Start: - mapannounce "force_5-1","Objective: Kill all Archer Skeletons and Firelock Soldiers!",bc_map|bc_npc; - end; - -On07_End: - mapannounce "force_5-1","The West Exit has opened!",bc_map|bc_npc; - end; - -On08_Start: - mapannounce "force_5-1","Objective: Boss Battle. Please proceed to the room to the north!",bc_map|bc_npc; - end; - -On09_Start: - mapannounce "force_5-1","Objective: Kill Zombie Prisoners, Skel Prisoners and Zombie Troops!",bc_map|bc_npc; - end; - -On09_End: - mapannounce "force_5-1","Boss Defeated! The North Exit has opened. Thank you.",bc_map|bc_npc; - end; -} - -force_5-1,40,26,0 script force_01start#aco FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_01mob#aco::OnEnable"; - disablenpc "force_01start#aco"; - end; -} - -- script force_01mob#aco FAKE_NPC,{ -OnEnable: - donpcevent "Trocco#aco1::On01_Start"; - monster "force_5-1",22,29,"Red Plant",1078,1,"force_01mob#aco::OnMyMobDead"; - monster "force_5-1",29,29,"Red Plant",1078,1,"force_01mob#aco::OnMyMobDead"; - monster "force_5-1",29,22,"Red Plant",1078,1,"force_01mob#aco::OnMyMobDead"; - monster "force_5-1",22,22,"Red Plant",1078,1,"force_01mob#aco::OnMyMobDead"; - monster "force_5-1",25,25,"Red Plant",1078,1,"force_01mob#aco::OnMyMobDead"; - end; - -OnReset: - killmonster "force_5-1","force_01mob#aco::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_5-1","force_01mob#aco::OnMyMobDead") < 1) { - donpcevent "Trocco#aco1::On01_End"; - donpcevent "arena_aco1::OnReset_01"; - } - end; -} - -force_5-1,25,69,0 script force_02start#aco FAKE_NPC,1,1,{ -OnTouch: - $@drop_gate = 0; - donpcevent "force_02mob#aco::OnEnable"; - disablenpc "force_02start#aco"; - end; -} - -- script force_02mob#aco FAKE_NPC,{ -OnEnable: - donpcevent "Trocco#aco1::On02_Start"; - areamonster "force_5-1",22,69,29,130,"Drops",1572,20,"force_02mob#aco::OnMyMobDead"; - end; - -OnReset: - killmonster "force_5-1","force_02mob#aco::OnMyMobDead"; - end; - -OnMyMobDead: - if ((mobcount("force_5-1","force_02mob#aco::OnMyMobDead") < 11) && ($@drop_gate == 0)) { - $@drop_gate = 1; - donpcevent "Trocco#aco1::On02_End"; - donpcevent "arena_aco1::OnReset_02"; - } - end; -} - -force_5-1,25,159,0 script force_03start#aco FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_03mob#aco::OnEnable"; - disablenpc "force_03start#aco"; -} - -- script force_03mob#aco FAKE_NPC,{ -OnEnable: - donpcevent "Trocco#aco1::On03_Start"; - areamonster "force_5-1",9,157,41,190,"Zombie",1394,10,"force_03mob#aco::OnMyMobDead"; - end; - -OnReset: - killmonster "force_5-1","force_03mob#aco::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_5-1","force_03mob#aco::OnMyMobDead") < 1) { - donpcevent "Trocco#aco1::On03_End"; - donpcevent "arena_aco1::OnReset_03"; - } - end; -} - -force_5-1,69,174,0 script force_04start#aco FAKE_NPC,1,1,{ -OnTouch: - donpcevent "Trocco#aco1::On04_Start"; - donpcevent "arena_aco1::OnReset_04"; - percentheal 50,50; - disablenpc "force_04start#aco"; - end; -} - -force_5-1,159,174,0 script force_05start#aco FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_05mob#aco::OnEnable"; - disablenpc "force_05start#aco"; - end; -} - -- script force_05mob#aco FAKE_NPC,{ -OnEnable: - donpcevent "Trocco#aco1::On05_Start"; - areamonster "force_5-1",159,157,187,190,"Orc Zombie",1463,8,"force_05mob#aco::OnMyMobDead"; - end; - -OnReset: - killmonster "force_5-1","force_05mob#aco::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_5-1","force_05mob#aco::OnMyMobDead") < 1) { - donpcevent "Trocco#aco1::On05_End"; - donpcevent "arena_aco1::OnReset_05"; - } - end; -} - -force_5-1,174,130,0 script force_06start#aco FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_06mob#aco::OnEnable"; - donpcevent "arena_aco1::OnReset_06"; - disablenpc "force_06start#aco"; - end; -} - -- script force_06mob#aco FAKE_NPC,{ -OnEnable: - donpcevent "Trocco#aco1::On06_Start"; - monster "force_5-1",170,124,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; - monster "force_5-1",170,121,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; - monster "force_5-1",173,116,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; - monster "force_5-1",175,113,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; - monster "force_5-1",175,110,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; - monster "force_5-1",170,106,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; - monster "force_5-1",173,106,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; - monster "force_5-1",176,106,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; - monster "force_5-1",179,106,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; - monster "force_5-1",174,100,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; - monster "force_5-1",174,96,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; - monster "force_5-1",174,92,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; - monster "force_5-1",174,88,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; - monster "force_5-1",170,80,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; - monster "force_5-1",173,80,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; - monster "force_5-1",176,80,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; - monster "force_5-1",179,80,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; - end; - -OnReset: - killmonster "force_5-1","force_06mob#aco::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -force_5-1,174,40,0 script force_07start#aco FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_07mob#aco::OnEnable"; - disablenpc "force_07start#aco"; -} - -- script force_07mob#aco FAKE_NPC,{ -OnEnable: - donpcevent "Trocco#aco1::On07_Start"; - monster "force_5-1",170,32,"Archer Skeleton",1420,1,"force_07mob#aco::OnMyMobDead"; - monster "force_5-1",184,23,"Archer Skeleton",1420,1,"force_07mob#aco::OnMyMobDead"; - monster "force_5-1",165,9,"Archer Skeleton",1420,1,"force_07mob#aco::OnMyMobDead"; - monster "force_5-1",184,15,"Firelock Soldier",1523,1,"force_07mob#aco::OnMyMobDead"; - monster "force_5-1",189,23,"Firelock Soldier",1523,1,"force_07mob#aco::OnMyMobDead"; - end; - -OnReset: - killmonster "force_5-1","force_07mob#aco::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_5-1","force_07mob#aco::OnMyMobDead") < 1) { - donpcevent "Trocco#aco1::On07_End"; - donpcevent "arena_aco1::OnReset_07"; - } - end; -} - -force_5-1,132,26,0 script force_08start#aco FAKE_NPC,1,1,{ -OnTouch: - percentheal 50,50; - donpcevent "Trocco#aco1::On08_Start"; - donpcevent "arena_aco1::OnReset_08"; - disablenpc "force_08start#aco"; - end; -} - -force_5-1,99,82,0 script force_09start#aco FAKE_NPC,1,1,{ -OnTouch: - donpcevent "Trocco#aco1::On09_Start"; - donpcevent "force_09mob#aco::OnEnable"; - disablenpc "force_09start#aco"; - end; -} - -- script force_09mob#aco FAKE_NPC,{ -OnEnable: - monster "force_5-1",rand(88,111),rand(89,110),"Zombie Prisoner",1480,1,"force_09mob#aco::OnMyMobDead"; - monster "force_5-1",rand(88,111),rand(89,110),"Skel Prisoner",1479,1,"force_09mob#aco::OnMyMobDead"; - areamonster "force_5-1",88,89,111,110,"Zombie",1394,4,"force_09mob#aco::OnMyMobDead"; - end; - -OnReset: - killmonster "force_5-1","force_09mob#aco::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_5-1","force_09mob#aco::OnMyMobDead") < 1) { - donpcevent "Trocco#aco1::On09_End"; - $@arn_2 = gettimetick(2); - donpcevent "arena_aco1::OnReset_09"; - } - end; -} - -- script arena_aco2 FAKE_NPC,{ -OnStart: - donpcevent "Trocco#aco2::OnEnable"; - end; - -OnReset_01: - enablenpc "force_01_02#aco"; - enablenpc "force_02start#pri"; - end; - -OnReset_02: - donpcevent "force_02mob#pri::OnReset"; - enablenpc "force_02_03#aco"; - enablenpc "force_03start#pri"; - end; - -OnReset_03: - enablenpc "force_03_04#aco"; - enablenpc "force_04start#pri"; - end; - -OnReset_04: - enablenpc "force_04_05#aco"; - enablenpc "force_05start#pri"; - end; - -OnReset_05: - enablenpc "force_05_06#aco"; - enablenpc "force_06start#pri"; - end; - -OnReset_06: - enablenpc "force_06_07#aco"; - enablenpc "force_07start#pri"; - end; - -OnReset_07: - enablenpc "force_07_08#aco"; - enablenpc "force_08start#pri"; - end; - -OnReset_08: - enablenpc "force_08_09#aco"; - enablenpc "force_09start#pri"; - end; - -OnReset_09: - enablenpc "force_exit#aco"; -} - -- script Trocco#aco2 FAKE_NPC,{ -OnEnable: - initnpctimer; - $@arn_1 = gettimetick(2); - end; - -OnTimer2000: - mapannounce "force_5-1","Good day! I am Trocco, your host for the Acolyte Class Time Force Battle!",bc_map|bc_npc; - end; - -OnTimer3000: - mapannounce "force_5-1","Make your decisions carefully. Here, the right choices make the difference between victory and defeat!",bc_map|bc_npc; - end; - -OnTimer4000: - mapannounce "force_5-1","You now have 8 minutes to complete this challenge. Enter the Left Entrance now to begin. Remember that you will be traveling clockwise as you clear the stages.",bc_map|bc_npc; - end; - -OnTimer60000: - if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco2::OnFailClearStage"; - } - mapannounce "force_5-1","Time left: 7 Minutes",bc_map|bc_npc; - end; - -OnTimer120000: - if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco2::OnFailClearStage"; - } - mapannounce "force_5-1","Time left: 6 Minutes",bc_map|bc_npc; - end; - -OnTimer180000: - if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco2::OnFailClearStage"; - } - mapannounce "force_5-1","Time left: 5 Minutes",bc_map|bc_npc; - end; - -OnTimer240000: - if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco2::OnFailClearStage"; - } - mapannounce "force_5-1","Time left: 4 Minutes",bc_map|bc_npc; - end; - -OnTimer300000: - if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco2::OnFailClearStage"; - } - mapannounce "force_5-1","Time left: 3 Minutes",bc_map|bc_npc; - end; - -OnTimer360000: - if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco2::OnFailClearStage"; - } - mapannounce "force_5-1","Time left: 2 Minutes",bc_map|bc_npc; - end; - -OnTimer420000: - if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco2::OnFailClearStage"; - } - mapannounce "force_5-1","Time left: 1 Minute",bc_map|bc_npc; - end; - -OnTimer480000: - mapannounce "force_5-1","Time's up! I hope you had fun!",bc_map|bc_npc; - end; - -OnTimer485000: -OnTimer486000: -OnTimer487000: -OnTimer488000: -OnTimer489000: -OnTimer490000: -OnTimer491000: -OnTimer492000: -OnTimer493000: -OnTimer494000: - mapwarp "force_5-1","prt_are_in",177,86; - end; - -OnTimer495000: - mapwarp "force_5-1","prt_are_in",177,86; - donpcevent "Trocco#aco2::OnFailClearStage"; - end; - -OnTimerOff: - stopnpctimer; - end; - -OnFailClearStage: - mapwarp "force_5-1","prt_are_in",177,86; - donpcevent "Trocco#aco2::OnTimerOff"; - //donpcevent "arena_aco2::OnReset"; - donpcevent "Acolyte Waiting Room::OnStart"; - end; - -On01_Start: - mapannounce "force_5-1","Objective: Kill all Zombies!",bc_map|bc_npc; - end; - -On01_End: - mapannounce "force_5-1","The North Exit has opened!",bc_map|bc_npc; - end; - -On02_Start: - mapannounce "force_5-1","Objective: Defeat all monsters!",bc_map|bc_npc; - end; - -On02_End: - mapannounce "force_5-1","The North Exit has opened!",bc_map|bc_npc; - end; - -On03_Start: - mapannounce "force_5-1","Objective: Destroy all Red Plants!",bc_map|bc_npc; - end; - -On03_End: - mapannounce "force_5-1","The East Exit has opened!",bc_map|bc_npc; - end; - -On04_Start: - mapannounce "force_5-1","Objective: Obliterate every monster!",bc_map|bc_npc; - end; - -On04_End: - mapannounce "force_5-1","The East Exit has opened!",bc_map|bc_npc; - end; - -On05_Start: - mapannounce "force_5-1","Objective: Defeat Gargoyle!",bc_map|bc_npc; - end; - -On05_End: - mapannounce "force_5-1","The South Exit has opened!",bc_map|bc_npc; - end; - -On06_Start: - mapannounce "force_5-1","Objective: Kill all Khalitzburgs!",bc_map|bc_npc; - end; - -On06_End: - mapannounce "force_5-1","The South Exit has opened!",bc_map|bc_npc; - end; - -On07_Start: - mapannounce "force_5-1","Objective: Kill 1 Ancient Mummy!",bc_map|bc_npc; - end; - -On07_End: - mapannounce "force_5-1","The West Exit has opened!",bc_map|bc_npc; - end; - -On08_Start: - mapannounce "force_5-1","The time has come for the Boss Battle. Please move north into the next room...",bc_map|bc_npc; - end; - -On09_Start: - mapannounce "force_5-1","Objective: Defeat the Boss Monster!",bc_map|bc_npc; - end; - -On09_End: - mapannounce "force_5-1","Boss Cleared! The North Exit has opened! Thank you.",bc_map|bc_npc; - end; -} - -force_5-1,40,26,0 script force_01start#pri FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_01mob#pri::OnEnable"; - disablenpc "force_01start#pri"; - end; -} - -- script force_01mob#pri FAKE_NPC,{ -OnEnable: - donpcevent "Trocco#aco2::On01_Start"; - areamonster "force_5-1",13,9,38,41,"Zombie",1394,10,"force_01mob#pri::OnMyMobDead"; - end; - -OnReset: - killmonster "force_5-1","force_01mob#pri::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_5-1","force_01mob#pri::OnMyMobDead") < 1) { - donpcevent "Trocco#aco2::On01_End"; - donpcevent "arena_aco2::OnReset_01"; - } - end; -} - -force_5-1,25,69,0 script force_02start#pri FAKE_NPC,1,1,{ -OnTouch: - if (BaseLevel < 70) { - donpcevent "force_02mob#pri::OnOn1"; - } - else { - donpcevent "force_02mob#pri::OnOn2"; - } - disablenpc "force_02start#pri"; - end; -} - -- script force_02mob#pri FAKE_NPC,{ -OnOn1: - donpcevent "Trocco#aco2::On02_Start"; - areamonster "force_5-1",22,69,29,130,"Orc Skeleton",1462,5,"force_02mob#pri::OnMyMobDead"; - end; - -OnOn2: - donpcevent "Trocco#aco2::On02_Start"; - areamonster "force_5-1",22,69,29,130,"Ghoul",1423,5,"force_02mob#pri::OnMyMobDead"; - end; - -OnReset: - killmonster "force_5-1","force_02mob#pri::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_5-1","force_02mob#pri::OnMyMobDead") < 1) { - donpcevent "Trocco#aco2::On02_End"; - donpcevent "arena_aco2::OnReset_02"; - } - end; -} - -force_5-1,25,159,0 script force_03start#pri FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_03mob#pri::OnEnable"; - disablenpc "force_03start#pri"; - end; -} - -- script force_03mob#pri FAKE_NPC,{ -OnEnable: - donpcevent "Trocco#aco2::On03_Start"; - areamonster "force_5-1",14,163,37,185,"Red Plant",1078,5,"force_03mob#pri::OnMyMobDead"; - end; - -OnReset: - killmonster "force_5-1","force_03mob#pri::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_5-1","force_03mob#pri::OnMyMobDead") < 1) { - donpcevent "Trocco#aco2::On03_End"; - donpcevent "arena_aco2::OnReset_03"; - } - end; -} - -force_5-1,69,174,0 script force_04start#pri FAKE_NPC,1,1,{ -OnTouch: - if (BaseLevel < 90) { - donpcevent "force_04mob#pri::OnOn1"; - } - else { - donpcevent "force_04mob#pri::OnOn2"; - } - disablenpc "force_04start#pri"; - end; -} - -- script force_04mob#pri FAKE_NPC,{ -OnOn1: - donpcevent "Trocco#aco2::On04_Start"; - monster "force_5-1",rand(71,130),rand(170,178),"Evil Druid",1435,1,"force_04mob#pri::OnMyMobDead"; - monster "force_5-1",rand(71,130),rand(170,178),"Wrath",1475,1,"force_04mob#pri::OnMyMobDead"; - monster "force_5-1",rand(71,130),rand(170,178),"Zombie Prisoner",1480,1,"force_04mob#pri::OnMyMobDead"; - monster "force_5-1",rand(71,130),rand(170,178),"Skel Prisoner",1479,1,"force_04mob#pri::OnMyMobDead"; - end; - -OnOn2: - donpcevent "Trocco#aco2::On04_Start"; - areamonster "force_5-1",71,170,130,178,"Evil Druid",1435,2,"force_04mob#pri::OnMyMobDead"; - areamonster "force_5-1",71,170,130,178,"Wrath",1475,2,"force_04mob#pri::OnMyMobDead"; - areamonster "force_5-1",71,170,130,178,"Zombie Prisoner",1480,2,"force_04mob#pri::OnMyMobDead"; - monster "force_5-1",rand(71,130),rand(170,178),"Skel Prisoner",1479,1,"force_04mob#pri::OnMyMobDead"; - end; - -OnReset: - killmonster "force_5-1","force_04mob#pri::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_5-1","force_04mob#pri::OnMyMobDead") < 1) { - donpcevent "Trocco#aco2::On04_End"; - donpcevent "arena_aco2::OnReset_04"; - } - end; -} - -force_5-1,159,174,0 script force_05start#pri FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_05mob#pri::OnEnable"; - if (BaseLevel < 70) { - donpcevent "force_05ex#pri::OnOn1"; - } - else { - donpcevent "force_05ex#pri::OnOn2"; - } - disablenpc "force_05start#pri"; - end; -} - -- script force_05ex#pri FAKE_NPC,{ -OnOn1: - areamonster "force_5-1",161,159,187,190,"Hydra",1579,10,"force_05ex#pri::OnMyMobDead"; - end; - -OnOn2: - areamonster "force_5-1",161,159,187,190,"Penomena",1441,10,"force_05ex#pri::OnMyMobDead"; - end; - -OnReset: - killmonster "force_5-1","force_05ex#pri::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_05mob#pri FAKE_NPC,{ -OnEnable: - donpcevent "Trocco#aco2::On05_Start"; - areamonster "force_5-1",161,159,187,190,"Gargoyle",1597,4,"force_05mob#pri::OnMyMobDead"; - end; - -OnReset: - killmonster "force_5-1","force_05mob#pri::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_5-1","force_05mob#pri::OnMyMobDead") < 1) { - donpcevent "force_05ex#pri::OnReset"; - donpcevent "Trocco#aco2::On05_End"; - donpcevent "arena_aco2::OnReset_05"; - } - end; -} - -force_5-1,174,130,0 script force_06start#pri FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_06ex#pri::OnEnable"; - if (BaseLevel < 70) { - donpcevent "force_06mob#pri::OnOn1"; - } - else if (BaseLevel < 80) { - donpcevent "force_06mob#pri::OnOn2"; - } - else { - donpcevent "force_06mob#pri::OnOn3"; - } - disablenpc "force_06start#pri"; - end; -} - -- script force_06ex#pri FAKE_NPC,{ -OnEnable: - areamonster "force_5-1",170,67,178,131,"Permeter",1314,5,"force_06ex#pri::OnMyMobDead"; - end; - -OnReset: - killmonster "force_5-1","force_06ex#pri::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_06mob#pri FAKE_NPC,{ -OnOn1: - donpcevent "Trocco#aco2::On06_Start"; - monster "force_5-1",rand(170,178),rand(67,131),"Khalitzburg",1438,1,"force_06mob#pri::OnMyMobDead"; - end; - -OnOn2: - donpcevent "Trocco#aco2::On06_Start"; - areamonster "force_5-1",170,67,178,131,"Khalitzburg",1438,2,"force_06mob#pri::OnMyMobDead"; - end; - -OnOn3: - donpcevent "Trocco#aco2::On06_Start"; - areamonster "force_5-1",170,67,178,131,"Khalitzburg",1438,4,"force_06mob#pri::OnMyMobDead"; - end; - -OnReset: - killmonster "force_5-1","force_06mob#pri::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_5-1","force_06mob#pri::OnMyMobDead") < 1) { - donpcevent "force_06ex#pri::OnReset"; - donpcevent "Trocco#aco2::On06_End"; - donpcevent "arena_aco2::OnReset_06"; - } - end; -} - -force_5-1,174,40,0 script force_07start#pri FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_07mob#pri::OnEnable"; - disablenpc "force_07start#pri"; - end; -} - -- script force_07mob#pri FAKE_NPC,{ -OnEnable: - donpcevent "Trocco#aco2::On07_Start"; - monster "force_5-1",rand(160,188),rand(9,42),"Ancient Mummy",1522,1,"force_07mob#pri::OnMyMobDead"; - end; - -OnReset: - killmonster "force_5-1","force_07mob#pri::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_5-1","force_07mob#pri::OnMyMobDead") < 1) { - donpcevent "Trocco#aco2::On07_End"; - donpcevent "arena_aco2::OnReset_07"; - } - end; -} - -force_5-1,132,26,0 script force_08start#pri FAKE_NPC,1,1,{ -OnTouch: - donpcevent "Trocco#aco2::On08_Start"; - donpcevent "arena_aco2::OnReset_08"; - disablenpc "force_08start#pri"; - end; -} - -force_5-1,99,82,0 script force_09start#pri FAKE_NPC,1,1,{ -OnTouch: - donpcevent "Trocco#aco2::On09_Start"; - if (BaseLevel < 70) { - donpcevent "force_09mob#pri::OnOn4"; - } - else if (BaseLevel < 80) { - donpcevent "force_09mob#pri::OnOn1"; - } - else if (BaseLevel < 90) { - donpcevent "force_09mob#pri::OnOn2"; - } - else { - donpcevent "force_09mob#pri::OnOn3"; - } - disablenpc "force_09start#pri"; - end; -} - -- script force_09mob#pri FAKE_NPC,{ -OnOn1: - monster "force_5-1",rand(88,111),rand(89,110),"Mimic",1474,1,"force_09mob#pri::OnMyMobDead"; - end; - -OnOn2: - monster "force_5-1",rand(88,111),rand(89,110),"Wrath Dead",1566,1,"force_09mob#pri::OnMyMobDead"; - end; - -OnOn3: - monster "force_5-1",rand(88,111),rand(89,110),"Dark Illusion",1605,1,"force_09mob#pri::OnMyMobDead"; - end; - -OnOn4: - monster "force_5-1",rand(88,111),rand(89,110),"Zombie Prisoner",1480,1,"force_09mob#pri::OnMyMobDead"; - monster "force_5-1",rand(88,111),rand(89,110),"Skel Prisoner",1479,1,"force_09mob#pri::OnMyMobDead"; - areamonster "force_5-1",88,89,111,110,"Zombie",1394,4,"force_09mob#pri::OnMyMobDead"; - end; - -OnReset: - killmonster "force_5-1","force_09mob#pri::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_5-1","force_09mob#pri::OnMyMobDead") < 1) { - donpcevent "Trocco#aco2::On09_End"; - $@arn_2 = gettimetick(2); - donpcevent "arena_aco2::OnReset_09"; - } - end; -} - -force_5-1,62,26,0 script force_08_01#aco WARPNPC,1,1,{ -OnTouch: - warp "force_5-1",40,26; - if (BaseJob == Job_Acolyte) { - enablenpc "force_01start#aco"; - } - else { - enablenpc "force_01start#pri"; - } - end; -} - -force_5-1,99,124,0 script force_exit#aco WARPNPC,1,1,{ -OnTouch: - donpcevent "Trocco#aco1::OnTimerOff"; - donpcevent "#arn_timer_aco::OnEnable"; - mapwarp "force_5-1","prt_are_in",21,35; - end; -} - -prt_are_in,181,83,3 script Staff#aco-1 1_F_02,{ - mes "[Staff]"; - mes "Nice work!"; - mes "You might have failed"; - mes "the Time Attack battle,"; - mes "but you still earned a"; - mes "small Arena Point reward~"; - next; - if (arena_point == 30000) { - mes "[Staff]"; - mes "Wait, I'm sorry, but you"; - mes "have too many Arena Points."; - mes "Since you've reached the point"; - mes "limitation, I can't give you any point rewards until you spend"; - mes "some of your Arena Points."; - next; - } - else { - ++arena_point; - } - mes "[Staff]"; - mes "Well, let me guide"; - mes "you back outside."; - mes "I hope you enjoyed"; - mes "your battle in the area~"; - close2; - specialeffect(EF_EXIT, AREA, playerattached()); - warp "arena_room",100,75; - end; -} - -prt_are_in,25,31,3 script Staff#aco-2 1_F_02,{ - .@start_timeaco = $@arn_1; - .@hour_startaco = .@start_timeaco / 10000; - .@min_startaco = ((.@start_timeaco % 10000) / 100); - .@sec_startaco = .@start_timeaco % 100; - .@end_timeaco = $@arn_2; - .@hour_endaco = .@end_timeaco / 10000; - .@min_endaco = ((.@end_timeaco % 10000) / 100); - .@sec_endaco = .@end_timeaco % 100; - if ((.@hour_startaco == 23) && (.@hour_endaco == 0)) { - .@hour_endaco = 24; - } - .@st_to_secaco = ((.@hour_startaco * 3600) + (.@min_startaco * 60) + (.@sec_startaco)); - .@et_to_secaco = ((.@hour_endaco * 3600) + (.@min_endaco * 60) + (.@sec_endaco)); - .@record_timeaco = (.@et_to_secaco - .@st_to_secaco); - .@record_houraco = .@record_timeaco / 3600; - .@record_minaco = ((.@record_timeaco % 3600) / 60); - .@record_secaco = .@record_timeaco % 60; - if ((.@record_timeaco < 0 ) || (.@record_houraco < 0) || (.@record_minaco < 0 ) || (.@record_secaco < 0)) { - emotion e_omg; - mes "[Staff]"; - mes "How did you...?"; - mes "According to these re-"; - mes "Uh oh. These records"; - mes "got messed up somehow."; - mes "Th-This isn't good at all!"; - mes "Now what am I gonna do?"; - next; - mes "[Staff]"; - mes "Well, I'll give you the"; - mes "benefit of the doubt and"; - mes "assume you completed the"; - mes "arena battle under the time"; - mes "limit. So, let me give you the"; - mes "standard Arena Point reward."; - next; - mes "[Staff]"; - mes "I'm really sorry about"; - mes "this, especially if you"; - mes "broke some record, but"; - mes "all I can do is restore your"; - mes "HP and SP for you, "+strcharinfo(PC_NAME)+"."; - percentheal 100,100; - next; - mes "[Staff]"; - emotion e_korea; - mes "Thank you."; - mes "I hope you enjoy"; - mes "your time in the Arena~"; - close2; - if (arena_point < 29981) { - arena_point += 20; - warp "arena_room",100,75; - donpcevent "#arn_timer_aco::OnStop"; - donpcevent "Acolyte Waiting Room::OnStart"; - } - else { - warp "arena_room",100,75; - donpcevent "#arn_timer_aco::OnStop"; - donpcevent "Acolyte Waiting Room::OnStart"; - } - end; - } - else { - if (BaseJob == Job_Acolyte) { - .@acotop_t = $arn_acotop; - .@acotop_n$ = $arn_acotopn$; - } - else { - if (BaseLevel < 70) { - .@acotop_t = $arn_pritop60; - .@acotop_n$ = $arn_pritopn60$; - } - else if (BaseLevel < 80) { - .@acotop_t = $arn_pritop70; - .@acotop_n$ = $arn_pritopn70$; - } - else if (BaseLevel < 90) { - .@acotop_t = $arn_pritop80; - .@acotop_n$ = $arn_pritopn80$; - } - else { - .@acotop_t = $arn_pritop90; - .@acotop_n$ = $arn_pritopn90$; - } - } - .@topbunaco = ((.@acotop_t % 3600) / 60); - .@topchoaco = .@acotop_t % 60; - .@gapaco = .@acotop_t - .@record_timeaco; - mes "[Staff]"; - mes "^3131FF"+strcharinfo(PC_NAME)+"^000000, right?"; - mes "Hey, you did great! You"; - mes "completed this Arena Battle"; - mes "in "+.@record_minaco+" min and "+.@record_secaco+" seconds!"; - next; - mes "[Staff]"; - mes "Currently, ^3131FF"+.@acotop_n$+"^000000"; - mes "is the top player, with a record"; - mes "of ^3131FF"+.@topbunaco+"^000000 minutes, ^3131FF"+.@topchoaco+"^000000 seconds, of the Acolyte Class Time Force Battle."; - next; - if ((.@acotop_t < 0) || (.@topbunaco < 0 ) || (.@topchoaco < 0)) { - emotion e_omg; - mes "[Staff]"; - mes "Wait a second..."; - mes "Your time is better"; - mes "than that. Well now."; - mes "It's time I made a little"; - mes "correction to the records."; - next; - emotion e_no1; - mes "[Staff]"; - mes "Wow! A new record!"; - mes "Excellent!"; - next; - mes "[Staff]"; - mes "^333333*Ahem*^000000 Oh wow!"; - mes "A new record! Your"; - mes "name will now be listed"; - mes "under the Time Force Battle"; - mes "Arena - Acolyte Class Record!"; - if (BaseJob == Job_Acolyte) { - $arn_acotop = .@record_timeaco; - $arn_acotopn$ = strcharinfo(PC_NAME); - donpcevent "Vendigos::OnLineRec_aco"; - } - else { - if (BaseLevel < 70) { - $arn_pritop60 = .@record_timeaco; - $arn_pritopn60$ = strcharinfo(PC_NAME); - } - else if (BaseLevel < 80) { - $arn_pritop70 = .@record_timeaco; - $arn_pritopn70$ = strcharinfo(PC_NAME); - } - else if (BaseLevel < 90) { - $arn_pritop80 = .@record_timeaco; - $arn_pritopn80$ = strcharinfo(PC_NAME); - } - else { - $arn_pritop90 = .@record_timeaco; - $arn_pritopn90$ = strcharinfo(PC_NAME); - } - donpcevent "Vendigos::OnLineRec_pri"; - } - next; - if (arena_point == 30000) { - mes "[Staff]"; - mes "Alright, let me reward you"; - mes "with some Arena Poi--Wait."; - mes "I can't. Your Arena Points are"; - mes "already maxed out. I'm sorry,"; - mes "but you'll have to spend some before you can receive more points."; - next; - mes "[Staff]"; - mes "Anyway, you can check"; - mes "your current Arena Point"; - mes "total in the Arena Lobby"; - mes "with Vendigos. Well, I hope"; - mes "you enjoyed your battle. Now, let me guide you back outside..."; - close2; - } - else if (arena_point > 29950) { - mes "[Staff]"; - mes "Let me reward you with some"; - mes "Arena Points. This time, you'll"; - mes "be getting more points since"; - mes "you set a new record. Please"; - mes "talk with ^3131FFVendigos^000000 in the lobby"; - mes "to check your new point total."; - next; - mes "[Staff]"; - mes "Well, I hope you"; - mes "enjoyed your battle."; - mes "Now let me guide you"; - mes "back to the Arena Lobby..."; - close2; - arena_point = 30000; - } - else { - mes "[Staff]"; - mes "Let me reward you with some"; - mes "Arena Points. This time, you'll"; - mes "be getting more points since"; - mes "you set a new record. Please"; - mes "talk with ^3131FFVendigos^000000 in the lobby"; - mes "to check your new point total."; - next; - mes "[Staff]"; - mes "Well, I hope you"; - mes "enjoyed your battle."; - mes "Now let me guide you"; - mes "back to the Arena Lobby..."; - close2; - arena_point += 50; - } - specialeffect(EF_EXIT, AREA, playerattached()); - warp "arena_room",100,75; - donpcevent "#arn_timer_aco::OnStop"; - donpcevent "allkill#aco::OnEnable"; - donpcevent "Acolyte Waiting Room::OnStart"; - end; - } - if (gapaco < 0) { - mes "[Staff]"; - mes "You didn't break the"; - mes "current record this time,"; - mes "but you still gave an awesome"; - mes "performance. Excellent work!"; - next; - if (arena_point == 30000) { - mes "[Staff]"; - mes "Alright, let me reward you"; - mes "with some Arena Poi--Wait."; - mes "I can't. Your Arena Points are"; - mes "already maxed out. I'm sorry,"; - mes "but you'll have to spend some before you can receive more points."; - next; - mes "[Staff]"; - mes "Anyway, you can check"; - mes "your current Arena Point"; - mes "total in the Arena Lobby"; - mes "with Vendigos. Well, I hope"; - mes "you enjoyed your battle. Now, let me guide you back outside..."; - close2; - } - else if (arena_point > 29980) { - mes "[Staff]"; - mes "Let me reward you"; - mes "with some Arena Points."; - mes "Please check your new"; - mes "Arena Point total in the"; - mes "Arena Lobby by speaking"; - mes "to the friendly ^3131FFVendigos.^000000"; - next; - mes "[Staff]"; - mes "Well, I hope you"; - mes "enjoyed your battle."; - mes "Now let me guide you"; - mes "back to the Arena Lobby..."; - close2; - arena_point = 30000; - } - else { - mes "[Staff]"; - mes "Let me reward you"; - mes "with some Arena Points."; - mes "Please check your new"; - mes "Arena Point total in the"; - mes "Arena Lobby by speaking"; - mes "to the friendly ^3131FFVendigos.^000000"; - next; - mes "[Staff]"; - mes "Well, I hope you"; - mes "enjoyed your battle."; - mes "Now let me guide you"; - mes "back to the Arena Lobby..."; - close2; - arena_point += 20; - } - specialeffect(EF_EXIT, AREA, playerattached()); - warp "arena_room",100,75; - donpcevent "#arn_timer_aco::OnStop"; - donpcevent "allkill#aco::OnEnable"; - donpcevent "Acolyte Waiting Room::OnStart"; - end; - } - else { - emotion e_omg; - mes "[Staff]"; - mes "Wow! A new record!"; - mes "This is awsome!"; - next; - mes "[Staff]"; - mes "Oooh... A brand new"; - mes "record. ^3131FF"+ strcharinfo(PC_NAME)+"^000000, your"; - mes "name will now be listed in"; - mes "the Time Force Battle Arena"; - mes "Acolyte Class Records."; - mes "Congratulations~"; - if (BaseJob == Job_Acolyte) { - $arn_acotop = .@record_timeaco; - $arn_acotopn$ = strcharinfo(PC_NAME); - donpcevent "#Vendigos::OnLineRec_aco"; - } - else { - if (BaseLevel < 70) { - $arn_pritop60 = .@record_timeaco; - $arn_pritopn60$ = strcharinfo(PC_NAME); - donpcevent "#Vendigos::OnLineRec_pri60"; - } - else if (BaseLevel < 80) { - $arn_pritop70 = .@record_timeaco; - $arn_pritopn70$ = strcharinfo(PC_NAME); - donpcevent "#Vendigos::OnLineRec_pri70"; - } - else if (BaseLevel < 90) { - $arn_pritop80 = .@record_timeaco; - $arn_pritopn80$ = strcharinfo(PC_NAME); - donpcevent "#Vendigos::OnLineRec_pri80"; - } - else { - $arn_pritop90 = .@record_timeaco; - $arn_pritopn90$ = strcharinfo(PC_NAME); - donpcevent "#Vendigos::OnLineRec_pri90"; - } - } - next; - if (arena_point == 30000) { - mes "[Staff]"; - mes "Alright, let me reward you"; - mes "with some Arena Poi--Wait."; - mes "I can't. Your Arena Points are"; - mes "already maxed out. I'm sorry,"; - mes "but you'll have to spend some before you can receive more points."; - next; - mes "[Staff]"; - mes "Anyway, you can check"; - mes "your current Arena Point"; - mes "total in the Arena Lobby"; - mes "with Vendigos. Well, I hope"; - mes "you enjoyed your battle. Now, let me guide you back outside..."; - close2; - } - else if (arena_point > 29980) { - mes "[Staff]"; - mes "Let me reward you with some"; - mes "Arena Points. This time, you'll"; - mes "be getting more points since"; - mes "you set a new record. Please"; - mes "talk with ^3131FFVendigos^000000 in the lobby"; - mes "to check your new point total."; - next; - mes "[Staff]"; - mes "Well, I hope you"; - mes "enjoyed your battle."; - mes "Now let me guide you"; - mes "back to the Arena Lobby..."; - close2; - arena_point = 30000; - } - else { - mes "[Staff]"; - mes "Let me reward you with some"; - mes "Arena Points. This time, you'll"; - mes "be getting more points since"; - mes "you set a new record. Please"; - mes "talk with ^3131FFVendigos^000000 in the lobby"; - mes "to check your new point total."; - next; - mes "[Staff]"; - mes "Well, I hope you"; - mes "enjoyed your battle."; - mes "Now let me guide you"; - mes "back to the Arena Lobby..."; - close2; - arena_point += 20; - } - specialeffect(EF_EXIT, AREA, playerattached()); - warp "arena_room",100,75; - donpcevent "#arn_timer_aco::OnStop"; - donpcevent "allkill#aco::OnEnable"; - donpcevent "Acolyte Waiting Room::OnStart"; - } - end; - } -} - -- script #arn_timer_aco FAKE_NPC,{ -OnEnable: - initnpctimer; - end; - -OnTimer2000: - mapannounce "prt_are_in","This broadcast is to inform you about the Acolyte Class Arena.",bc_map,"0xFFCE00"; - end; - -OnTimer3000: - mapannounce "prt_are_in","For smoother game play, the Warp Portal in the Final Waiting Room will activate in 1 minute.",bc_map,"0xFFCE00"; - end; - -OnTimer4000: - mapannounce "prt_are_in","Thank you.",bc_map,"0xFFCE00"; - end; - -OnTimer60000: - donpcevent "arn_warp_aco::OnOut"; - donpcevent "#arn_timer_aco::OnStop"; - //donpcevent "alloff#aco::OnEnable"; - donpcevent "Acolyte Waiting Room::OnStart"; - end; - -OnStop: - stopnpctimer; - end; -} - -prt_are_in,22,29,0 script arn_warp_aco FAKE_NPC,20,20,{ -OnInit: - disablenpc "arn_warp_aco"; - end; - -OnOut: - enablenpc "arn_warp_aco"; - end; - -OnHide: - disablenpc "arn_warp_aco"; - end; - -OnTouch: - warp "arena_room",100,75; - donpcevent "arn_warp_aco::OnHide"; - end; -} - -- script timer_aco2 FAKE_NPC,{ -OnEnable: - initnpctimer; - end; - -OnStop: - stopnpctimer; - end; -} - -- script allkill#aco FAKE_NPC,{ -OnEnable: - donpcevent "force_01mob#aco::OnReset"; - donpcevent "force_02mob#aco::OnReset"; - donpcevent "force_03mob#aco::OnReset"; - donpcevent "force_05mob#aco::OnReset"; - donpcevent "force_06mob#aco::OnReset"; - donpcevent "force_07mob#aco::OnReset"; - donpcevent "force_09mob#aco::OnReset"; - donpcevent "force_01mob#pri::OnReset"; - donpcevent "force_02mob#pri::OnReset"; - donpcevent "force_03mob#pri::OnReset"; - donpcevent "force_04mob#pri::OnReset"; - donpcevent "force_05mob#pri::OnReset"; - donpcevent "force_06mob#pri::OnReset"; - donpcevent "force_07mob#pri::OnReset"; - donpcevent "force_09mob#pri::OnReset"; - donpcevent "force_05ex#pri::OnReset"; - disablenpc "force_01start#aco"; - disablenpc "force_02start#aco"; - disablenpc "force_03start#aco"; - disablenpc "force_04start#aco"; - disablenpc "force_05start#aco"; - disablenpc "force_06start#aco"; - disablenpc "force_07start#aco"; - disablenpc "force_08start#aco"; - disablenpc "force_09start#aco"; - disablenpc "force_01start#pri"; - disablenpc "force_02start#pri"; - disablenpc "force_03start#pri"; - disablenpc "force_04start#pri"; - disablenpc "force_05start#pri"; - disablenpc "force_06start#pri"; - disablenpc "force_07start#pri"; - disablenpc "force_08start#pri"; - disablenpc "force_09start#pri"; - disablenpc "force_01_02#aco"; - disablenpc "force_02_03#aco"; - disablenpc "force_03_04#aco"; - disablenpc "force_04_05#aco"; - disablenpc "force_05_06#aco"; - disablenpc "force_06_07#aco"; - disablenpc "force_07_08#aco"; - disablenpc "force_08_09#aco"; - disablenpc "force_exit#aco"; - disablenpc "arn_warp_aco"; //050630 - donpcevent "Trocco#aco1::OnTimerOff"; - donpcevent "Trocco#aco2::OnTimerOff"; - donpcevent "#arn_timer_aco::OnStop"; - end; -} - -arena_room,94,82,7 script Arena Record Staff#aco 1_F_PRIEST,{ - mes "[Mathea]"; - mes "Hello, I'm in charge of"; - mes "the Acolyte Class Records"; - mes "in the Arena. If you'd like to"; - mes "view the other records, please"; - mes "talk to the Arena Record Staff,"; - mes "Owen Kheuv, and he'll help you."; - next; - mes "[Mathea]"; - mes "Would you like to"; - mes "see who are the top"; - mes "players in the Acolyte"; - mes "Class Arena Challenges?"; - mes "Please choose from the menu."; - next; - switch(select("Acolyte Mode", "Priest - Level 70 or lower", "Priest - Level 80 or lower", "Priest - Level 90 or lower", "Priest - Level 91 ~ "+(RENEWAL?"160":"99"))) { - case 1: - .@acotop_t = $arn_acotop; - .@acotop_n$ = $arn_acotopn$; - .@acotopbun = ((.@acotop_t % 3600) / 60 ); - .@acotopcho = (.@acotop_t % 60); - mes "[Mathea]"; - mes "^3131FF"+.@acotop_n$+"^000000"; - mes "is the top player of the"; - mes "Acolyte Mode, finishing"; - mes "with a time of ^3131FF"+.@acotopbun+"^000000 minutes"; - mes "and ^3131FF"+.@acotopcho+"^000000 seconds. Thank you"; - mes "for participating in the Arena."; - close; - case 2: - .@pritop_t = $arn_pritop60; - .@pritop_n$ = $arn_pritopn60$; - break; - case 3: - .@pritop_t = $arn_pritop70; - .@pritop_n$ = $arn_pritopn70$; - break; - case 4: - .@pritop_t = $arn_pritop80; - .@pritop_n$ = $arn_pritopn80$; - break; - case 5: - .@pritop_t = $arn_pritop90; - .@pritop_n$ = $arn_pritopn90$; - break; - } - .@pritopbun = ((.@pritop_t % 3600) / 60 ); - .@pritopcho = (.@pritop_t % 60); - mes "[Mathea]"; - mes "^3131FF"+.@pritop_n$+"^000000"; - mes "is the top player of this"; - mes "Priest Mode, finishing "; - mes "with a time of ^3131FF"+.@pritopbun+" minutes"; - mes "and ^3131FF"+.@pritopcho+" seconds. Thank you"; - mes "for participating in the Arena."; - close; - -OnInit: - if ($arn_acotopn$ == "") { - $arn_pritop60 = 480; - $arn_pritop70 = 480; - $arn_pritop80 = 480; - $arn_pritop90 = 480; - $arn_acotop = 480; - $arn_pritopn60$ = "Default"; - $arn_pritopn70$ = "Default"; - $arn_pritopn80$ = "Default"; - $arn_pritopn90$ = "Default"; - $arn_acotopn$ = "Default"; - } - end; -} - -- script #Vendigos FAKE_NPC,{ -OnLineRec_aco: - mapannounce "arena_room","Vendigos: "+$arn_acotopn$+" has made a new record in the Arena Time Force Battle - Acolyte Mode. Congratulations!",bc_map,"0xFFFF00"; - end; - -OnLineRec_pri60: - mapannounce "arena_room","Vendigos: "+$arn_pritopn60$+" has made a new record in the Arena Time Force Battle - Priest: Level 70 or lower. Congratulations!",bc_map,"0xFFFF00"; - end; - -OnLineRec_pri70: - mapannounce "arena_room","Vendigos: "+$arn_pritopn70$+" has made a new record in the Arena Time Force Battle - Priest: Level 80 or lower. Congratulations!",bc_map,"0xFFFF00"; - end; - -OnLineRec_pri80: - mapannounce "arena_room","Vendigos: "+$arn_pritopn80$+" has made a new record in the Arena Time Force Battle - Priest: Level 90 or lower. Congratulations!",bc_map,"0xFFFF00"; - end; - -OnLineRec_pri90: - mapannounce "arena_room","Vendigos: "+$arn_pritopn90$+" has made a new record in the Arena Time Force Battle - Priest: Level 91~"+(RENEWAL?"160":"99")+". Congratulations!",bc_map,"0xFFFF00"; - end; -} - -arena_room,140,136,3 script Guide Alias 4_F_NOVICE,{ - mes "[Alias]"; - mes "Hello there, I'm here"; - mes "to inform you about"; - mes "the Izlude Arena's"; - mes "Acolyte Class Mode."; - mes "My name is Alias,"; - mes "your Arena Guide."; - next; - mes "[Alias]"; - mes "Now, there are two modes"; - mes "under Acolyte Class Mode."; - mes "These are ^3131FFAcolyte Mode^000000 and"; - mes "^3131FFPriest Mode^000000. For both modes,"; - mes "you will need to wait inside the ^3131FFAcolyte Class Waiting Room^000000."; - next; - mes "[Alias]"; - mes "Once it's your turn,"; - mes "you'll be sent out of the"; - mes "waiting room and guided to"; - mes "the arena grounds. Oh, and"; - mes "the entrance fee is 1,000 zeny."; - next; - mes "[Alias]"; - mes "It'll be handy to know"; - mes "that the Red Plants and"; - mes "Permeters in the Acolyte"; - mes "Class Mode will drop items"; - mes "and give experience. Other"; - mes "monsters, however, won't."; - next; - mes "[Alias]"; - mes "Once you've been guided"; - mes "to the actual arena grounds,"; - mes "listen to ^3131FFTrocco^000000 for the mission objectives that you will have to"; - mes "complete within the time limit"; - mes "of ^3131FF8 minutes^000000. Don't forget~"; - next; - mes "[Alias]"; - mes "Upon completing the"; - mes "entire stage, you will be"; - mes "warped to the ^3131DDFinale Waiting"; - mes "Room^000000 where you'll be rewarded"; - mes "with Arena Points. But you must get your points within 1 minute."; - next; - mes "[Alias]"; - mes "Once you're automatically"; - mes "sent outside of the Finale"; - mes "Waiting Room, you won't have"; - mes "the chance to get your Arena"; - mes "Points if you didn't get them"; - mes "there, so be careful~"; - next; - mes "[Alias]"; - mes "Well, I hope you enjoy"; - mes "the Acolyte Mode Arena!"; - mes "Good luck and good fighting!"; - close; -} - -arena_room,195,5,3 script log-on-aco#arena 4_NFWISP,{ - .@i = callfunc("F_GM_NPC",1357,0); - if (.@i == -1) { - mes "^3355FFIncorrect Password.^000000"; - close; - } else if (.@i == 0) { - end; - } else { - mes "[!!CAUTION!!]"; - mes "^3355FFThe following menu"; - mes "the record for that"; - mes "particular mode in the"; - mes "Arena Acolyte Class Mode.^000000"; - next; - switch(select("Cancel", "Acolyte", "~level 70", "~level 80", "~level 90", "~level "+(RENEWAL?"160":"99"))) { - case 1: - mes "^3355FFCommand has"; - mes "been canceled.^000000"; - close; - case 2: - $arn_acotop = 480; - $arn_acotopn$ = "Default"; - break; - case 3: - $arn_pritop60 = 480; - $arn_pritopn60$ = "Default"; - break; - case 4: - $arn_pritop70 = 480; - $arn_pritopn70$ = "Default"; - break; - case 5: - $arn_pritop80 = 480; - $arn_pritopn80$ = "Default"; - break; - case 6: - $arn_pritop90 = 480; - $arn_pritopn90$ = "Default"; - break; - } - close; - } -} - -arena_room,195,10,3 script acolink#arena 4_NFWISP,{ - .@i = callfunc("F_GM_NPC",1357,0); - if (.@i == -1) { - mes "Command has"; - mes "been canceled."; - close; - } else if (.@i == 0) { - end; - } else { - mes "This NPC opens and"; - mes "closes the Warp Portal"; - mes "to the Arena's Acolyte"; - mes "Class Mode. Choose"; - mes "an option from the menu."; - next; - switch(select("Cancel", "Warp ON", "Warp OFF")) { - case 1: - mes "Command has"; - mes "been canceled."; - close; - case 2: - enablenpc "onlyaco#arena"; - mes "The Warp Portal"; - mes "will be opened shortly."; - close; - case 3: - disablenpc "onlyaco#arena"; - mes "The Warp Portal"; - mes "will be closed shortly."; - close; - } - } -} diff --git a/npc/other/arena/arena_lvl50.txt b/npc/other/arena/arena_lvl50.txt deleted file mode 100644 index 3e44c1b30..000000000 --- a/npc/other/arena/arena_lvl50.txt +++ /dev/null @@ -1,1034 +0,0 @@ -//================= Hercules Script ======================================= -//= _ _ _ -//= | | | | | | -//= | |_| | ___ _ __ ___ _ _| | ___ ___ -//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| -//= | | | | __/ | | (__| |_| | | __/\__ \ -//= \_| |_/\___|_| \___|\__,_|_|\___||___/ -//================= License =============================================== -//= This file is part of Hercules. -//= http://herc.ws - http://github.com/HerculesWS/Hercules -//= -//= Copyright (C) 2012-2020 Hercules Dev Team -//= Copyright (C) Euphy -//= Copyright (C) Samuray22 -//= Copyright (C) SinSloth -//= -//= Hercules is free software: you can redistribute it and/or modify -//= it under the terms of the GNU General Public License as published by -//= the Free Software Foundation, either version 3 of the License, or -//= (at your option) any later version. -//= -//= This program is distributed in the hope that it will be useful, -//= but WITHOUT ANY WARRANTY; without even the implied warranty of -//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -//= GNU General Public License for more details. -//= -//= You should have received a copy of the GNU General Public License -//= along with this program. If not, see <http://www.gnu.org/licenses/>. -//========================================================================= -//= Izlude Arena Level 50 -//================= Description =========================================== -//= Izlude Battle Arena Level 50 -//================= Current Version ======================================= -//= 1.3 -//========================================================================= - -arena_room,64,138,5 script Lv50 Waiting Room 4_F_TELEPORTER,{ - end; - -OnInit: - waitingroom "Individual; Level 50 to 69",50,"Lv50 Waiting Room::OnStartArena",1,1000,50,69; - enablewaitingroomevent; - end; - -OnStartArena: - warpwaitingpc "force_1-1",99,12; - donpcevent "arena#50::OnStart"; - disablewaitingroomevent; - end; - -OnStart: - enablewaitingroomevent; - end; -} - -force_1-1,99,20,4 script Heel and Toe#arena 4_F_TELEPORTER,{ - end; - -OnStart: - initnpctimer; - $arena_min50st = gettime(GETTIME_MINUTE); - $arena_sec50st = gettime(GETTIME_SECOND); - end; - -OnTimer3000: - mapannounce "force_1-1","Good day, my name is Heel and Toe, the guide of Time Force Battle for lvl 50s!",0; - end; - -OnTimer4000: - mapannounce "force_1-1","Remember your right decision will save a lot of your time!",0; - end; - -OnTimer5000: - mapannounce "force_1-1","In order to complete this battle course, you must start from the far left of this room to the clock wise direction. Please move to the far left side. You have 5 minutes from now.",0; - end; - -OnTimer60000: - if (getmapusers("force_1-1") == 0) { - donpcevent "Heel and Toe#arena::OnFailClearStage"; - } - mapannounce "force_1-1","Remaining Time : 4 minutes ",0; - end; - -OnTimer120000: - if (getmapusers("force_1-1") == 0) { - donpcevent "Heel and Toe#arena::OnFailClearStage"; - } - mapannounce "force_1-1","Remaining Time : 3 minutes ",0; - end; - -OnTimer180000: - if (getmapusers("force_1-1") == 0) { - donpcevent "Heel and Toe#arena::OnFailClearStage"; - } - mapannounce "force_1-1","Remaining Time : 2 minutes ",0; - end; - -OnTimer240000: - if (getmapusers("force_1-1") == 0) { - donpcevent "Heel and Toe#arena::OnFailClearStage"; - } - mapannounce "force_1-1","Remaining Time : 1 minute ",0; - end; - -OnTimer300000: - mapannounce "force_1-1","Your time is over. I hope you had a good time~",0; - end; - -OnTimer305000: -OnTimer306000: -OnTimer307000: -OnTimer308000: -OnTimer309000: -OnTimer310000: -OnTimer311000: -OnTimer312000: -OnTimer313000: -OnTimer314000: - mapwarp "force_1-1","prt_are_in",126,190,0,0; - end; - -OnTimer315000: - mapwarp "force_1-1","prt_are_in",126,190,0,0; - donpcevent "Heel and Toe#arena::OnFailClearStage"; - end; - -OnTimerOff: - stopnpctimer; - end; - -OnFailClearStage: - donpcevent "cast#50::OnTimeOver1"; - mapwarp "force_1-1","prt_are_in",126,190,0,0; - donpcevent "Heel and Toe#arena::OnTimerOff"; - donpcevent "arena#50::OnReset_All"; - donpcevent "alloff#50::OnEnable"; - donpcevent "Lv50 Waiting Room::OnStart"; - end; - -On01_Start: - mapannounce "force_1-1","In order to clear this battle, you must kill all Smokies!",0; - end; - -On01_End: - mapannounce "force_1-1","A door to the north room has opened!",0; - end; - -On02_Start: - mapannounce "force_1-1","Please escape to the door from monsters!",0; - end; - -On02_End: - mapannounce "force_1-1","A door to the north room has opened!",0; - end; - -On03_Start: - mapannounce "force_1-1","In order to clear this battle, you must kill all Karakasa!",0; - end; - -On03_End: - mapannounce "force_1-1","Clear! A door to the east room has opened!",0; - end; - -On04_Start: - mapannounce "force_1-1","In order to clear this battle, you must kill all Kobolds and escape to the east room!",0; - end; - -On04_End: - mapannounce "force_1-1","A door to the east room has opened!",0; - end; - -On05_Start: - mapannounce "force_1-1","In order to clear this battle, you must kill all monsters except obstructor monsters!",0; - end; - -On05_End: - mapannounce "force_1-1","Clear! A door to the south room has opened!",0; - end; - -On06_Start: - mapannounce "force_1-1","In order to clear this battle, you must kill all Drops and escape to the south room!",0; - end; - -On06_End: - mapannounce "force_1-1","A door to the south room has opened!",0; - end; - -On07_Start: - mapannounce "force_1-1","In order to clear this battle, you must get rid of a Red Plant in the center of this room while dodging attacks from Hydras!",0; - end; - -On07_End: - mapannounce "force_1-1","Clear! A door to the west room has opened!",0; - end; - -On08_Start: - mapannounce "force_1-1","Please escape to the north exit!",0; - end; - -On09_Start: - mapannounce "force_1-1","In order to clear this battle, you must defeat a Vocal!",0; - end; - -On09_End: - mapannounce "force_1-1","Boss Clear! - A door at the north has opened. Thank you. ",0; - end; -} - -- script arena#50 FAKE_NPC,{ -OnReset_01: - donpcevent "force_01ex#50::OnReset"; - donpcevent "force_02start#50::OnEnable"; - enablenpc "force_01_02#50"; - enablenpc "force_02_03#50"; - end; - -OnReset_02: - donpcevent "force_02mob#50::OnReset"; - donpcevent "force_03start#50::OnEnable"; - end; - -OnReset_03: - enablenpc "force_03_04#50"; - donpcevent "force_04start#50::OnEnable"; - donpcevent "force_03ex#50::OnReset"; - end; - -OnReset_04: - enablenpc "force_04_05#50"; - donpcevent "force_05start#50::OnEnable"; - donpcevent "force_04ex#50::OnReset"; - end; - -OnReset_05: - enablenpc "force_05_06#50"; - donpcevent "force_06start#50::OnEnable"; - donpcevent "force_05ex#50::OnReset"; - end; - -OnReset_06: - enablenpc "force_06_07#50"; - donpcevent "force_07start#50::OnEnable"; - donpcevent "force_06ex#50::OnReset"; - end; - -OnReset_07: - enablenpc "force_07_08#50"; - donpcevent "force_07ex#50::OnReset"; - donpcevent "force_08start#50::OnEnable"; - end; - -OnReset_08: - donpcevent "force_09start#50::OnEnable"; - enablenpc "force_08_09#50"; - end; - -OnReset_09: - enablenpc "force_exit#50"; - end; - -OnStart: - disablenpc "force_01_02#50"; - disablenpc "force_02_03#50"; - disablenpc "force_03_04#50"; - disablenpc "force_04_05#50"; - disablenpc "force_05_06#50"; - disablenpc "force_06_07#50"; - disablenpc "force_07_08#50"; - disablenpc "force_08_09#50"; - disablenpc "force_exit#50"; - donpcevent "Heel and Toe#arena::OnTimerOff"; - donpcevent "force_01mob#50::OnReset"; - donpcevent "force_02mob#50::OnReset"; - donpcevent "force_03mob#50::OnReset"; - donpcevent "force_04mob#50::OnReset"; - donpcevent "force_05mob#50::OnReset"; - donpcevent "force_06mob#50::OnReset"; - donpcevent "force_07mob#50::OnReset"; - donpcevent "force_09mob#50::OnReset"; - donpcevent "force_01ex#50::OnReset"; - donpcevent "force_03ex#50::OnReset"; - donpcevent "force_04ex#50::OnReset"; - donpcevent "force_05ex#50::OnReset"; - donpcevent "force_06ex#50::OnReset"; - donpcevent "force_07ex#50::OnReset"; - //donpcevent "force_08ex#50::OnReset"; - donpcevent "force_09ex#50::OnReset"; - enablenpc "force_08_01#50"; - donpcevent "force_01start#50::OnEnable"; - donpcevent "Heel and Toe#arena::OnStart"; - end; - -OnReset_All: - donpcevent "force_01mob#50::OnReset"; - donpcevent "force_02mob#50::OnReset"; - donpcevent "force_03mob#50::OnReset"; - donpcevent "force_04mob#50::OnReset"; - donpcevent "force_05mob#50::OnReset"; - donpcevent "force_06mob#50::OnReset"; - donpcevent "force_07mob#50::OnReset"; - donpcevent "force_09mob#50::OnReset"; - donpcevent "force_01ex#50::OnReset"; - donpcevent "force_03ex#50::OnReset"; - donpcevent "force_04ex#50::OnReset"; - donpcevent "force_05ex#50::OnReset"; - donpcevent "force_06ex#50::OnReset"; - donpcevent "force_07ex#50::OnReset"; - //donpcevent "force_08ex#50::OnReset"; - donpcevent "force_09ex#50::OnReset"; - end; -} - -force_1-1,62,26,1 script force_08_01#50 WARPNPC,1,1,{ -OnTouch: - donpcevent "Heel and Toe#arena::On01_Start"; - warp "force_1-1",40,26; - end; -} - -force_1-1,25,44,1 script force_01_02#50 WARPNPC,1,1,{ -OnTouch: - donpcevent "Heel and Toe#arena::On02_Start"; - warp "force_1-1",25,69; - end; -} - -force_1-1,25,134,1 script force_02_03#50 WARPNPC,1,1,{ -OnTouch: - donpcevent "arena#50::OnReset_02"; - donpcevent "Heel and Toe#arena::On03_Start"; - warp "force_1-1",25,159; - end; -} - -force_1-1,44,174,1 script force_03_04#50 WARPNPC,1,1,{ -OnTouch: - donpcevent "Heel and Toe#arena::On04_Start"; - warp "force_1-1",69,174; - end; -} - -force_1-1,134,174,1 script force_04_05#50 WARPNPC,1,1,{ -OnTouch: - donpcevent "Heel and Toe#arena::On05_Start"; - warp "force_1-1",159,174; - end; -} - -force_1-1,174,155,1 script force_05_06#50 WARPNPC,1,1,{ -OnTouch: - donpcevent "Heel and Toe#arena::On06_Start"; - warp "force_1-1",174,130; - end; -} - -force_1-1,174,65,1 script force_06_07#50 WARPNPC,1,1,{ -OnTouch: - donpcevent "Heel and Toe#arena::On07_Start"; - warp "force_1-1",174,40; - end; -} - -force_1-1,155,26,1 script force_07_08#50 WARPNPC,1,1,{ -OnTouch: - donpcevent "Heel and Toe#arena::On08_Start"; - warp "force_1-1",132,26; - enablenpc "force_08_09#50"; - end; -} - -force_1-1,99,54,1 script force_08_09#50 WARPNPC,1,1,{ -OnTouch: - donpcevent "Heel and Toe#arena::On09_Start"; - warp "force_1-1",99,82; - end; -} - -force_1-1,99,124,1 script force_exit#50 WARPNPC,1,1,{ -OnTouch: - donpcevent "Heel and Toe#arena::OnTimerOff"; - donpcevent "#arn_timer_50::OnEnable"; - mapwarp "force_1-1","prt_are_in",22,191,0,0; - end; -} - -- script force_01start#50 FAKE_NPC,{ -OnEnable: - donpcevent "force_01mob#50::OnEnable"; - end; -} - -- script force_01ex#50 FAKE_NPC,{ -OnReset: - killmonster "force_1-1","force_01ex#50::OnMyMobDead"; - end; - -OnSummonMob1: - monster "force_1-1",25,26,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",15,25,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",30,25,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",25,31,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",24,19,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",25,28,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",18,23,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",24,25,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",23,18,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",20,18,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",35,31,"Hydra",1579,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",35,28,"Hydra",1579,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",35,25,"Hydra",1579,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",35,21,"Hydra",1579,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",26,16,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",26,15,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",26,14,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",23,17,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",23,18,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",23,19,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",29,20,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",23,16,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",19,16,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; - monster "force_1-1",32,19,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_01mob#50 FAKE_NPC,{ -OnEnable: - donpcevent "force_01ex#50::OnSummonMob1"; - monster "force_1-1",25,25,"Smokie",1561,1,"force_01mob#50::OnMyMobDead"; - monster "force_1-1",18,25,"Smokie",1561,1,"force_01mob#50::OnMyMobDead"; - monster "force_1-1",32,25,"Smokie",1561,1,"force_01mob#50::OnMyMobDead"; - monster "force_1-1",25,32,"Smokie",1561,1,"force_01mob#50::OnMyMobDead"; - monster "force_1-1",25,18,"Smokie",1561,1,"force_01mob#50::OnMyMobDead"; - end; - -OnReset: - killmonster "force_1-1","force_01mob#50::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_1-1","force_01mob#50::OnMyMobDead") < 1) { - donpcevent "Heel and Toe#arena::On01_End"; - donpcevent "arena#50::OnReset_01"; - } - end; -} - -- script force_02start#50 FAKE_NPC,{ -OnEnable: - donpcevent "force_02mob#50::OnSummonMob2"; - end; -} - -- script force_02mob#50 FAKE_NPC,{ -OnReset: - killmonster "force_1-1","force_02mob#50::OnMyMobDead"; - end; - -OnSummonMob2: - monster "force_1-1",24,76,"Familiar",1419,1,"force_02mob#50::OnMyMobDead"; - monster "force_1-1",28,76,"Familiar",1419,1,"force_02mob#50::OnMyMobDead"; - monster "force_1-1",24,86,"Familiar",1419,1,"force_02mob#50::OnMyMobDead"; - monster "force_1-1",26,86,"Ghoul",1423,1,"force_02mob#50::OnMyMobDead"; - monster "force_1-1",25,100,"Ghoul",1423,1,"force_02mob#50::OnMyMobDead"; - monster "force_1-1",26,118,"Ghoul",1423,1,"force_02mob#50::OnMyMobDead"; - monster "force_1-1",28,79,"Mummy",1393,1,"force_02mob#50::OnMyMobDead"; - monster "force_1-1",23,87,"Mummy",1393,1,"force_02mob#50::OnMyMobDead"; - monster "force_1-1",28,99,"Mummy",1393,1,"force_02mob#50::OnMyMobDead"; - monster "force_1-1",23,112,"Mummy",1393,1,"force_02mob#50::OnMyMobDead"; - monster "force_1-1",28,128,"Mummy",1393,1,"force_02mob#50::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_03start#50 FAKE_NPC,{ -OnEnable: - donpcevent "force_03mob#50::OnEnable"; - end; -} - -- script force_03ex#50 FAKE_NPC,{ -OnReset: - killmonster "force_1-1","force_03ex#50::OnMyMobDead"; - end; - -OnSummonMob_03: - monster "force_1-1",26,173,"Hydra",1579,1,"force_03ex#50::OnMyMobDead"; - monster "force_1-1",21,173,"Hydra",1579,1,"force_03ex#50::OnMyMobDead"; - monster "force_1-1",31,173,"Hydra",1579,1,"force_03ex#50::OnMyMobDead"; - monster "force_1-1",26,186,"Marse",1551,1,"force_03ex#50::OnMyMobDead"; - monster "force_1-1",26,161,"Marse",1551,1,"force_03ex#50::OnMyMobDead"; - monster "force_1-1",13,173,"Marse",1551,1,"force_03ex#50::OnMyMobDead"; - monster "force_1-1",38,173,"Marse",1551,1,"force_03ex#50::OnMyMobDead"; - monster "force_1-1",29,174,"Marse",1551,1,"force_03ex#50::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_03mob#50 FAKE_NPC,{ -OnEnable: - donpcevent "force_03ex#50::OnSummonMob_03"; - monster "force_1-1",23,174,"Karakasa",1544,1,"force_03mob#50::OnMyMobDead"; - monster "force_1-1",18,173,"Karakasa",1544,1,"force_03mob#50::OnMyMobDead"; - monster "force_1-1",33,173,"Karakasa",1544,1,"force_03mob#50::OnMyMobDead"; - monster "force_1-1",26,181,"Karakasa",1544,1,"force_03mob#50::OnMyMobDead"; - monster "force_1-1",26,166,"Karakasa",1544,1,"force_03mob#50::OnMyMobDead"; - end; - -OnReset: - killmonster "force_1-1","force_03mob#50::OnMyMobDead"; - end; - -OnMyMobDead: - //donpcevent "force_03mob#50::OnSummonMob_03"; - if (mobcount("force_1-1","force_03mob#50::OnMyMobDead") < 1) { - donpcevent "Heel and Toe#arena::On03_End"; - donpcevent "arena#50::OnReset_03"; - } - end; -} - -- script force_04start#50 FAKE_NPC,{ -OnEnable: - donpcevent "force_04mob#50::OnEnable"; - end; -} - -- script force_04ex#50 FAKE_NPC,{ -OnReset: - killmonster "force_1-1","force_04ex#50::OnMyMobDead"; - end; - -OnSummonMob_04: - monster "force_1-1",99,174,"Familiar",1419,1,"force_04ex#50::OnMyMobDead"; - monster "force_1-1",103,174,"Familiar",1419,1,"force_04ex#50::OnMyMobDead"; - monster "force_1-1",107,174,"Familiar",1419,1,"force_04ex#50::OnMyMobDead"; - monster "force_1-1",111,176,"Familiar",1419,1,"force_04ex#50::OnMyMobDead"; - monster "force_1-1",115,176,"Familiar",1419,1,"force_04ex#50::OnMyMobDead"; - monster "force_1-1",119,172,"Familiar",1419,1,"force_04ex#50::OnMyMobDead"; - monster "force_1-1",95,178,"Familiar",1419,1,"force_04ex#50::OnMyMobDead"; - monster "force_1-1",100,178,"Familiar",1419,1,"force_04ex#50::OnMyMobDead"; - monster "force_1-1",105,172,"Familiar",1419,1,"force_04ex#50::OnMyMobDead"; - monster "force_1-1",110,172,"Flora",1575,1,"force_04ex#50::OnMyMobDead"; - monster "force_1-1",115,172,"Flora",1575,1,"force_04ex#50::OnMyMobDead"; - monster "force_1-1",120,172,"Flora",1575,1,"force_04ex#50::OnMyMobDead"; - monster "force_1-1",125,172,"Flora",1575,1,"force_04ex#50::OnMyMobDead"; - monster "force_1-1",105,178,"Flora",1575,1,"force_04ex#50::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_04mob#50 FAKE_NPC,{ -OnEnable: - donpcevent "force_04ex#50::OnSummonMob_04"; - monster "force_1-1",85,172,"Kobold",1547,1,"force_04mob#50::OnMyMobDead"; - monster "force_1-1",95,172,"Kobold",1547,1,"force_04mob#50::OnMyMobDead"; - monster "force_1-1",120,172,"Kobold",1545,1,"force_04mob#50::OnMyMobDead"; - end; -OnReset: - killmonster "force_1-1","force_04mob#50::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_1-1","force_04mob#50::OnMyMobDead") < 1) { - donpcevent "Heel and Toe#arena::On04_End"; - donpcevent "arena#50::OnReset_04"; - } - end; -} - -- script force_05start#50 FAKE_NPC,{ -OnEnable: - donpcevent "force_05mob#50::OnEnable"; - end; -} - -- script force_05ex#50 FAKE_NPC,{ -OnReset: - killmonster "force_1-1","force_05ex#50::OnMyMobDead"; - end; - -OnSummonMob_05: - switch(rand(1,2)) { - case 1: - monster "force_1-1",174,174,"Desert Wolf",1432,1,"force_05ex#50::OnMyMobDead"; - break; - case 2: - monster "force_1-1",173,173,"Zerom",1470,1,"force_05ex#50::OnMyMobDead"; - break; - } - end; - -OnMyMobDead: - end; -} - -- script force_05mob#50 FAKE_NPC,{ -OnEnable: - monster "force_1-1",173,166,"Hydra",1579,1,"force_05mob#50::OnMyMobDead"; - monster "force_1-1",171,170,"Hydra",1579,1,"force_05mob#50::OnMyMobDead"; - monster "force_1-1",177,170,"Hydra",1579,1,"force_05mob#50::OnMyMobDead"; - monster "force_1-1",183,173,"Orc Lady",1452,1,"force_05mob#50::OnMyMobDead"; - monster "force_1-1",173,173,"Orc Lady",1452,1,"force_05mob#50::OnMyMobDead"; - monster "force_1-1",181,173,"Golem",1540,1,"force_05mob#50::OnMyMobDead"; - monster "force_1-1",171,177,"Golem",1540,1,"force_05mob#50::OnMyMobDead"; - end; - -OnReset: - killmonster "force_1-1","force_05mob#50::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_1-1","force_05mob#50::OnMyMobDead") < 1) { - donpcevent "Heel and Toe#arena::On05_End"; - donpcevent "arena#50::OnReset_05"; - } - else donpcevent "force_05ex#50::OnSummonMob_05"; - end; -} - -- script force_06start#50 FAKE_NPC,{ -OnEnable: - donpcevent "force_06mob#50::OnEnable"; - end; -} - -- script force_06ex#50 FAKE_NPC,{ -OnReset: - killmonster "force_1-1","force_06ex#50::OnMyMobDead"; - end; - -OnSummonMob_06: - monster "force_1-1",173,118,"Smokie",1561,1,"force_06ex#50::OnMyMobDead"; - monster "force_1-1",173,108,"Smokie",1561,1,"force_06ex#50::OnMyMobDead"; - monster "force_1-1",173,99,"Smokie",1561,1,"force_06ex#50::OnMyMobDead"; - monster "force_1-1",171,108,"Golem",1540,1,"force_06ex#50::OnMyMobDead"; - monster "force_1-1",171,99,"Skel Worker",1469,1,"force_06ex#50::OnMyMobDead"; - monster "force_1-1",171,85,"Skel Worker",1469,1,"force_06ex#50::OnMyMobDead"; - monster "force_1-1",171,90,"Golem",1540,1,"force_06ex#50::OnMyMobDead"; - monster "force_1-1",171,79,"Scorpion",1559,1,"force_06ex#50::OnMyMobDead"; - monster "force_1-1",175,118,"Scorpion",1559,1,"force_06ex#50::OnMyMobDead"; - monster "force_1-1",175,108,"Sandman",1558,1,"force_06ex#50::OnMyMobDead"; - monster "force_1-1",175,99,"Sandman",1558,1,"force_06ex#50::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_06mob#50 FAKE_NPC,{ -OnEnable: - donpcevent "force_06ex#50::OnSummonMob_06"; - monster "force_1-1",173,90,"Drops",1572,1,"force_06mob#50::OnMyMobDead"; - monster "force_1-1",173,79,"Drops",1572,1,"force_06mob#50::OnMyMobDead"; - monster "force_1-1",172,70,"Drops",1572,1,"force_06mob#50::OnMyMobDead"; - monster "force_1-1",175,70,"Drops",1572,1,"force_06mob#50::OnMyMobDead"; - monster "force_1-1",171,118,"Drops",1572,1,"force_06mob#50::OnMyMobDead"; - end; - -OnReset: - killmonster "force_1-1","force_06mob#50::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_1-1","force_06mob#50::OnMyMobDead") < 1) { - donpcevent "Heel and Toe#arena::On06_End"; - donpcevent "arena#50::OnReset_06"; - } - end; -} - -- script force_07start#50 FAKE_NPC,{ -OnEnable: - donpcevent "force_07mob#50::OnEnable"; - end; -} - -- script force_07ex#50 FAKE_NPC,{ -OnReset: - killmonster "force_1-1","force_07ex#50::OnMyMobDead"; - end; - -OnSummonMob_07: - monster "force_1-1",163,36,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",167,36,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",171,36,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",175,36,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",179,36,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",183,36,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",183,32,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",183,28,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",183,24,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",183,20,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",183,16,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",179,16,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",175,16,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",171,16,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",167,16,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",163,16,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",163,20,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",163,24,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",163,28,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",163,32,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",163,31,"Punk",1481,1,"force_07ex#50::OnMyMobDead"; - monster "force_1-1",163,23,"Punk",1481,1,"force_07ex#50::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_07mob#50 FAKE_NPC,{ -OnEnable: - donpcevent "force_07ex#50::OnSummonMob_07"; - monster "force_1-1",174,25,"Red Plant",1078,1,"force_07mob#50::OnMyMobDead"; - end; - -OnReset: - killmonster "force_1-1","force_07mob#50::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_1-1","force_07mob#50::OnMyMobDead") < 1) { - donpcevent "Heel and Toe#arena::On07_End"; - donpcevent "arena#50::OnReset_07"; - } - end; -} - -- script force_08start#50 FAKE_NPC,{ -OnEnable: - donpcevent "force_08ex#50::OnEnable"; - end; -} - -- script force_08ex#50 FAKE_NPC,{ -OnEnable: - donpcevent "arena#50::OnReset_08"; - end; -} - -- script force_09start#50 FAKE_NPC,{ -OnEnable: - donpcevent "force_09mob#50::OnEnable"; - end; -} - -- script force_09ex#50 FAKE_NPC,{ -OnReset: - killmonster "force_1-1","force_09ex#50::OnMyMobDead"; - end; - -OnSummonMob_09: - monster "force_1-1",110,110,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; - monster "force_1-1",89,110,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; - monster "force_1-1",89,89,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; - monster "force_1-1",110,89,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; - monster "force_1-1",105,105,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; - monster "force_1-1",94,105,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; - monster "force_1-1",94,94,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; - monster "force_1-1",110,110,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; - monster "force_1-1",89,110,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; - monster "force_1-1",89,89,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; - monster "force_1-1",110,89,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; - monster "force_1-1",105,105,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; - monster "force_1-1",94,105,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; - monster "force_1-1",94,94,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; - monster "force_1-1",105,94,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_09mob#50 FAKE_NPC,{ -OnEnable: - monster "force_1-1",99,99,"Vocal",1581,1,"force_09mob#50::OnMyMobDead"; - donpcevent "force_09ex#50::OnSummonMob_09"; - end; - -OnReset: - killmonster "force_1-1","force_09mob#50::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_1-1","force_09mob#50::OnMyMobDead") < 1) { - donpcevent "Heel and Toe#arena::On09_End"; - donpcevent "arena#50::OnReset_09"; - donpcevent "arena#50::OnReset_All"; - $arena_min50end = gettime(GETTIME_MINUTE); - $arena_sec50end = gettime(GETTIME_SECOND); - } - end; -} - -prt_are_in,129,188,3 script Staff#50-1 1_F_02,{ - 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 { - ++arena_point; - } - mes "[Staff]"; - mes "Let me guide you outside. I hope you had a good time."; - close2; - specialeffect(EF_EXIT, AREA, playerattached()); - warp "arena_room",100,75; - end; -} - -prt_are_in,25,188,3 script Staff#50-2 1_F_02,{ - if($arena_min50end < $arena_min50st) { - if($arena_sec50end < $arena_sec50st) { - @record_min50 = 60 - $arena_min50st + $arena_min50end -1; - @record_sec50 = 60 - $arena_sec50st + $arena_sec50end; - } else { - @record_min50 = 60 - $arena_min50st + $arena_min50end; - @record_sec50 = $arena_sec50end - $arena_sec50st; - } - } else { - if($arena_sec50end < $arena_sec50st) { - @record_min50 = $arena_min50end - $arena_min50st -1; - @record_sec50 = 60 - $arena_sec50st + $arena_sec50end; - } else { - @record_min50 = $arena_min50end - $arena_min50st; - @record_sec50 = $arena_sec50end - $arena_sec50st; - } - } - @gap50 = (60 * $top_50min + $top_50sec) - (60 * @record_min50 + @record_sec50); - mes "[Staff]"; - mes "Wow, you did a good job~ "; - mes "Your name is...^3131FF" + strcharinfo(PC_NAME) +"^000000, isn't it?"; - mes "^3131FF"+ strcharinfo(PC_NAME) +"^000000, total time you spent to pass the battle.."; - next; - mes "[Staff]"; - mes "is "+@record_min50+"minutes "+@record_sec50+"seconds."; - mes "Congratulations!"; - next; - mes "[Staff]"; - mes "The fastest player among people who cleared lvl 50s arena time force battle is ^3131FF"+$arena_50topn$+"^000000."; - next; - mes "[Staff]"; - mes "^3131FF"+$arena_50topn$+"^000000's running time was ^3131FF"+$top_50min+"^000000minutes ^3131FF"+$top_50sec+"^000000seconds."; - next; - if (@gap50 < 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 { - 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; - } - specialeffect(EF_EXIT, AREA, playerattached()); - donpcevent "cast#50::OnNomal1"; - warp "arena_room",100,75; - donpcevent "#arn_timer_50::OnStop"; - donpcevent "alloff#50::OnEnable"; - donpcevent "Lv50 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 50s^000000, ^3131FF"+strcharinfo(PC_NAME)+"^000000."; - $top_50min = @record_min50; - $top_50sec = @record_sec50; - $arena_50topn$ = strcharinfo(PC_NAME); - donpcevent "Vendigos::OnLineRec_50"; - next; - if (arena_point > 29950) { - 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; - 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; - } - specialeffect(EF_HIT5, AREA, playerattached()); - donpcevent "cast#50::OnNomal2"; - warp "arena_room",100,75; - donpcevent "#arn_timer_50::OnStop"; - donpcevent "alloff#50::OnEnable"; - donpcevent "Lv50 Waiting Room::OnStart"; - end; - } -} - -- script #arn_timer_50 FAKE_NPC,{ -OnEnable: - initnpctimer; - end; - -OnTimer2000: - mapannounce "prt_are_in","This broadcast informs you about the restriction for arena lvl 50s.",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#50::OnTimeOver2"; - donpcevent "arn_warp_50::OnOut"; - donpcevent "#arn_timer_50::OnStop"; - donpcevent "alloff#50::OnEnable"; - donpcevent "Lv50 Waiting Room::OnStart"; - end; - -OnStop: - stopnpctimer; - end; -} - -- script arn_warp_50 FAKE_NPC,{ -OnOut: - areawarp "prt_are_in",14,195,29,178,"arena_room",100,75; - end; -} - -- script cast#50 FAKE_NPC,{ -OnTimeOver1: - mapannounce "force_1-1","Arena will be reactivated due to an error occurred during battle.",0,0xFFCE00; - end; -OnTimeOver2: - mapannounce "force_1-1","Arena will be activated due to an error occurred in the waiting room.",0,0xFFCE00; - end; -OnNomal1: - mapannounce "force_1-1","Arena will be reactivated.",0,0xFFCE00; - end; -OnNomal2: - mapannounce "force_1-1","Arena will be reactivated.",0,0xFFCE00; - end; -} - -- script alloff#50 FAKE_NPC,{ -OnEnable: - mapwarp "force_1-1","prt_are_in",126,190,0,0; - donpcevent "force_01mob#50::OnReset"; - donpcevent "force_02mob#50::OnReset"; - donpcevent "force_03mob#50::OnReset"; - donpcevent "force_04mob#50::OnReset"; - donpcevent "force_05mob#50::OnReset"; - donpcevent "force_06mob#50::OnReset"; - donpcevent "force_07mob#50::OnReset"; - donpcevent "force_09mob#50::OnReset"; - donpcevent "force_01ex#50::OnReset"; - donpcevent "force_03ex#50::OnReset"; - donpcevent "force_04ex#50::OnReset"; - donpcevent "force_05ex#50::OnReset"; - donpcevent "force_06ex#50::OnReset"; - donpcevent "force_07ex#50::OnReset"; - //donpcevent "force_08ex#50::OnReset"; - donpcevent "force_09ex#50::OnReset"; - donpcevent "Heel and Toe#arena::OnTimerOff"; - disablenpc "Heel and Toe#arena"; - disablenpc "force_01_02#50"; - disablenpc "force_02_03#50"; - disablenpc "force_03_04#50"; - disablenpc "force_04_05#50"; - disablenpc "force_05_06#50"; - disablenpc "force_06_07#50"; - disablenpc "force_07_08#50"; - disablenpc "force_08_09#50"; - disablenpc "force_exit#50"; - disablenpc "arena#50"; - donpcevent "#arn_timer_50::OnStop"; - enablenpc "Heel and Toe#arena"; - enablenpc "arena#50"; - end; - -OnInit: - if(!$top_50min && !$top_50sec) $top_50min = 5; - end; -} diff --git a/npc/other/arena/arena_lvl60.txt b/npc/other/arena/arena_lvl60.txt deleted file mode 100644 index 2282cf9fa..000000000 --- a/npc/other/arena/arena_lvl60.txt +++ /dev/null @@ -1,1047 +0,0 @@ -//================= Hercules Script ======================================= -//= _ _ _ -//= | | | | | | -//= | |_| | ___ _ __ ___ _ _| | ___ ___ -//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| -//= | | | | __/ | | (__| |_| | | __/\__ \ -//= \_| |_/\___|_| \___|\__,_|_|\___||___/ -//================= License =============================================== -//= This file is part of Hercules. -//= http://herc.ws - http://github.com/HerculesWS/Hercules -//= -//= Copyright (C) 2012-2020 Hercules Dev Team -//= Copyright (C) Euphy -//= Copyright (C) Samuray22 -//= Copyright (C) L0ne_W0lf -//= Copyright (C) SinSloth -//= -//= Hercules is free software: you can redistribute it and/or modify -//= it under the terms of the GNU General Public License as published by -//= the Free Software Foundation, either version 3 of the License, or -//= (at your option) any later version. -//= -//= This program is distributed in the hope that it will be useful, -//= but WITHOUT ANY WARRANTY; without even the implied warranty of -//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -//= GNU General Public License for more details. -//= -//= You should have received a copy of the GNU General Public License -//= along with this program. If not, see <http://www.gnu.org/licenses/>. -//========================================================================= -//= Izlude Arena Level 60 -//================= Description =========================================== -//= Izlude Battle Arena Level 60 -//================= Current Version ======================================= -//= 1.4 -//========================================================================= - -arena_room,38,88,5 script Lv60 Waiting Room 4_F_TELEPORTER,{ - end; - -OnInit: - waitingroom "Individual; Level 60 to 79",50,"Lv60 Waiting Room::OnStartArena",1,1000,60,79; - enablewaitingroomevent; - end; - -OnStartArena: - warpwaitingpc "force_2-1",99,12; - donpcevent "arena#60::OnStart"; - disablewaitingroomevent; - end; - -OnStart: - enablewaitingroomevent; - end; -} - -force_2-1,99,20,4 script Minilover#arena 4_F_TELEPORTER,{ - end; - -OnStart: - initnpctimer; - $arena_min60st = gettime(GETTIME_MINUTE); - $arena_sec60st = gettime(GETTIME_SECOND); - end; - -OnTimer3000: - mapannounce "force_2-1","Good day, my name is Minilover, the guide of Time Force Battle for lvl 60s!",0; - end; - -OnTimer4000: - mapannounce "force_2-1","Remember your right decision will save a lot of your time!",0; - end; - -OnTimer5000: - mapannounce "force_2-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 6 minutes from now.",0; - end; - -OnTimer60000: - if (getmapusers("force_2-1") == 0) { - donpcevent "Minilover#arena::OnFailClearStage"; - } - mapannounce "force_2-1","Remaining Time : 5 minutes ",0; - end; - -OnTimer120000: - if (getmapusers("force_2-1") == 0) { - donpcevent "Minilover#arena::OnFailClearStage"; - } - mapannounce "force_2-1","Remaining Time : 4 minutes ",0; - end; - -OnTimer180000: - if (getmapusers("force_2-1") == 0) { - donpcevent "Minilover#arena::OnFailClearStage"; - } - mapannounce "force_2-1","Remaining Time : 3 minutes ",0; - end; - -OnTimer240000: - if (getmapusers("force_2-1") == 0) { - donpcevent "Minilover#arena::OnFailClearStage"; - } - mapannounce "force_2-1","Remaining Time : 2 minutes ",0; - end; - -OnTimer300000: - if (getmapusers("force_2-1") == 0) { - donpcevent "Minilover#arena::OnFailClearStage"; - } - mapannounce "force_2-1","Remaining Time : 1 minute ",0; - end; - -OnTimer360000: - mapannounce "force_2-1","Your time is over. I hope you had a good time~",0; - end; - -OnTimer365000: -OnTimer366000: -OnTimer367000: -OnTimer368000: -OnTimer369000: -OnTimer370000: -OnTimer371000: -OnTimer372000: -OnTimer373000: -OnTimer374000: - mapwarp "force_2-1","prt_are_in",126,139,0,0; - end; - -OnTimer375000: - mapwarp "force_2-1","prt_are_in",126,139,0,0; - donpcevent "Minilover#arena::OnFailClearStage"; - end; - -OnTimerOff: - stopnpctimer; - end; - -OnFailClearStage: - donpcevent "cast#60::OnTimeOver1"; - mapwarp "force_2-1","prt_are_in",126,139,0,0; - donpcevent "Minilover#arena::OnTimerOff"; - donpcevent "arena#60::OnReset_All"; - donpcevent "alloff#60::OnEnable"; - donpcevent "Lv60 Waiting Room::OnStart"; - end; - -On01_Start: - mapannounce "force_2-1","In order to clear this battle, you must kill at least 5 Goblins while dodging Rotar Zairos!",0; - end; - -On01_End: - mapannounce "force_2-1","A door to the north room has opened!",0; - end; - -On02_Start: - mapannounce "force_2-1","Escape to the north exit from the monsters!",0; - end; - -On02_End: - mapannounce "force_2-1","A door to the north room has opened!",0; - end; - -On03_Start: - mapannounce "force_2-1","In order to clear this battle, you must kill all Mantises!",0; - end; - -On03_End: - mapannounce "force_2-1","Clear! A door to the east room has opened!",0; - end; - -On04_Start: - mapannounce "force_2-1","In order to clear this battle, you must kill all non-aggressive monsters while dodging aggressive monsters!",0; - end; - -On04_End: - mapannounce "force_2-1","A door to the east room has opened!",0; - end; - -On05_Start: - mapannounce "force_2-1","In order to clear this battle, you must kill all monsters except Hydras and Kaphas!",0; - end; - -On05_End: - mapannounce "force_2-1","Clear! A door to the south room has opened!",0; - end; - -On06_Start: - mapannounce "force_2-1","In order to clear this battle, you must kill all Miyabi Dolls and escape to the south exit!",0; - end; - -On06_End: - mapannounce "force_2-1","A door to the south room has opened!",0; - end; - -On07_Start: - mapannounce "force_2-1","In order to clear this battle, you must kill all monsters!",0; - end; - -On07_End: - mapannounce "force_2-1","Clear! A door to the west room has opened!",0; - end; - -On08_Start: - mapannounce "force_2-1","Please escape to the north exit!",0; - end; - -On09_Start: - mapannounce "force_2-1","In order to clear this battle, you must defeat a Goblin Leader!",0; - end; - -On09_End: - mapannounce "force_2-1","Boss Clear! - North exit has opened. Thank you.",0; - end; -} - -- script arena#60 FAKE_NPC,{ -OnReset_01: - donpcevent "force_01ex#60::OnReset"; - donpcevent "force_01mob#60::OnReset"; - donpcevent "force_02start#60::OnEnable"; - enablenpc "force_01_02#60"; - enablenpc "force_02_03#60"; - end; - -OnReset_02: - donpcevent "force_02mob#60::OnReset"; - donpcevent "force_03start#60::OnEnable"; - end; - -OnReset_03: - enablenpc "force_03_04#60"; - donpcevent "force_04start#60::OnEnable"; - donpcevent "force_03ex#60::OnReset"; - end; - -OnReset_04: - enablenpc "force_04_05#60"; - donpcevent "force_05start#60::OnEnable"; - donpcevent "force_04ex#60::OnReset"; - end; - -OnReset_05: - enablenpc "force_05_06#60"; - donpcevent "force_06start#60::OnEnable"; - donpcevent "force_05ex#60::OnReset"; - donpcevent "force_05mob#60::OnReset"; - end; - -OnReset_06: - enablenpc "force_06_07#60"; - donpcevent "force_07start#60::OnEnable"; - donpcevent "force_06ex#60::OnReset"; - donpcevent "force_06mob#60::OnReset"; - end; - -OnReset_07: - enablenpc "force_07_08#60"; - donpcevent "force_08start#60::OnEnable"; - end; - -OnReset_08: - donpcevent "force_09start#60::OnEnable"; - enablenpc "force_08_09#60"; - end; - -OnReset_09: - enablenpc "force_exit#60"; - end; - -OnStart: - disablenpc "force_01_02#60"; - disablenpc "force_02_03#60"; - disablenpc "force_03_04#60"; - disablenpc "force_04_05#60"; - disablenpc "force_05_06#60"; - disablenpc "force_06_07#60"; - disablenpc "force_07_08#60"; - disablenpc "force_08_09#60"; - disablenpc "force_exit#60"; - donpcevent "Minilover#arena::OnTimerOff"; - donpcevent "force_01mob#60::OnReset"; - donpcevent "force_02mob#60::OnReset"; - donpcevent "force_03mob#60::OnReset"; - donpcevent "force_04mob#60::OnReset"; - donpcevent "force_05mob#60::OnReset"; - donpcevent "force_06mob#60::OnReset"; - donpcevent "force_07mob#60::OnReset"; - //donpcevent "force_08mob#60::OnReset"; - donpcevent "force_09mob#60::OnReset"; - donpcevent "force_01ex#60::OnReset"; - donpcevent "force_03ex#60::OnReset"; - donpcevent "force_04ex#60::OnReset"; - donpcevent "force_05ex#60::OnReset"; - donpcevent "force_06ex#60::OnReset"; - //donpcevent "force_08ex#60::OnReset"; - donpcevent "force_09ex#60::OnReset"; - enablenpc "force_08_01#60"; - donpcevent "force_01start#60::OnEnable"; - donpcevent "Minilover#arena::OnStart"; - end; - -OnReset_All: - donpcevent "force_01mob#60::OnReset"; - donpcevent "force_02mob#60::OnReset"; - donpcevent "force_03mob#60::OnReset"; - donpcevent "force_04mob#60::OnReset"; - donpcevent "force_05mob#60::OnReset"; - donpcevent "force_06mob#60::OnReset"; - donpcevent "force_07mob#60::OnReset"; - //donpcevent "force_08mob#60::OnReset"; - donpcevent "force_09mob#60::OnReset"; - donpcevent "force_01ex#60::OnReset"; - donpcevent "force_03ex#60::OnReset"; - donpcevent "force_04ex#60::OnReset"; - donpcevent "force_05ex#60::OnReset"; - donpcevent "force_06ex#60::OnReset"; - //donpcevent "force_08ex#60::OnReset"; - donpcevent "force_09ex#60::OnReset"; - end; -} - -force_2-1,62,26,1 script force_08_01#60 WARPNPC,1,1,{ -OnTouch: - donpcevent "Minilover#arena::On01_Start"; - warp "force_2-1",40,26; - end; -} - -force_2-1,25,44,1 script force_01_02#60 WARPNPC,1,1,{ -OnTouch: - donpcevent "Minilover#arena::On02_Start"; - warp "force_2-1",25,69; - end; -} - -force_2-1,25,134,1 script force_02_03#60 WARPNPC,1,1,{ -OnTouch: - donpcevent "arena#60::OnReset_02"; - donpcevent "Minilover#arena::On03_Start"; - warp "force_2-1",25,159; - end; -} - -force_2-1,44,174,1 script force_03_04#60 WARPNPC,1,1,{ -OnTouch: - donpcevent "Minilover#arena::On04_Start"; - warp "force_2-1",69,174; - end; -} - -force_2-1,134,174,1 script force_04_05#60 WARPNPC,1,1,{ -OnTouch: - donpcevent "Minilover#arena::On05_Start"; - warp "force_2-1",159,174; - end; -} - -force_2-1,174,155,1 script force_05_06#60 WARPNPC,1,1,{ -OnTouch: - donpcevent "Minilover#arena::On06_Start"; - warp "force_2-1",174,130; - end; -} - -force_2-1,174,65,1 script force_06_07#60 WARPNPC,1,1,{ -OnTouch: - donpcevent "Minilover#arena::On07_Start"; - warp "force_2-1",174,40; - end; -} - -force_2-1,155,26,1 script force_07_08#60 WARPNPC,1,1,{ -OnTouch: - donpcevent "Minilover#arena::On08_Start"; - warp "force_2-1",132,26; - enablenpc "force_08_09#60"; - end; -} - -force_2-1,99,54,1 script force_08_09#60 WARPNPC,1,1,{ -OnTouch: - donpcevent "Minilover#arena::On09_Start"; - warp "force_2-1",99,82; - end; -} - -force_2-1,99,124,1 script force_exit#60 WARPNPC,1,1,{ -OnTouch: - donpcevent "Minilover#arena::OnTimerOff"; - donpcevent "#arn_timer_60::OnEnable"; - mapwarp "force_2-1","prt_are_in",22,139,0,0; - end; -} - -- script force_01start#60 FAKE_NPC,{ -OnEnable: - donpcevent "force_01mob#60::OnEnable"; - end; -} - -- script force_01ex#60 FAKE_NPC,{ -OnReset: - killmonster "force_2-1","force_01ex#60::OnMyMobDead"; - end; - -OnEnable: - monster "force_2-1",25,25,"Rotar Zairo",1392,1,"force_01ex#60::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_01mob#60 FAKE_NPC,{ -OnReset: - killmonster "force_2-1","force_01mob#60::OnMyMobDead"; - end; - -OnEnable: - donpcevent "force_01ex#60::OnEnable"; - monster "force_2-1",25,32,"Goblin Archer",1577,1,"force_01mob#60::OnMyMobDead"; - monster "force_2-1",21,26,"Goblin",1534,1,"force_01mob#60::OnMyMobDead"; - monster "force_2-1",25,36,"Goblin",1536,1,"force_01mob#60::OnMyMobDead"; - monster "force_2-1",25,15,"Goblin",1534,1,"force_01mob#60::OnMyMobDead"; - monster "force_2-1",40,30,"Goblin",1536,1,"force_01mob#60::OnMyMobDead"; - monster "force_2-1",25,24,"Goblin",1534,1,"force_01mob#60::OnMyMobDead"; - monster "force_2-1",25,9,"Goblin",1536,1,"force_01mob#60::OnMyMobDead"; - monster "force_2-1",28,15,"Goblin Archer",1577,1,"force_01mob#60::OnMyMobDead"; - monster "force_2-1",12,33,"Goblin",1536,1,"force_01mob#60::OnMyMobDead"; - monster "force_2-1",24,20,"Goblin",1535,1,"force_01mob#60::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_2-1","force_01mob#60::OnMyMobDead") < 6) { - donpcevent "Minilover#arena::On01_End"; - donpcevent "arena#60::OnReset_01"; - } - end; -} - -- script force_02start#60 FAKE_NPC,{ -OnEnable: - donpcevent "force_02mob#60::OnEnable"; - end; -} - -- script force_02mob#60 FAKE_NPC,{ -OnReset: - killmonster "force_2-1","force_02mob#60::OnMyMobDead"; - end; -OnEnable: - monster "force_2-1",24,76,"Drainliar",1434,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",28,76,"Drainliar",1434,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",24,86,"Drainliar",1434,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",24,76,"Drainliar",1434,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",28,76,"Drainliar",1434,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",24,86,"Drainliar",1434,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",24,76,"Drainliar",1434,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",28,76,"Drainliar",1434,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",23,76,"Requiem",1468,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",27,76,"Requiem",1468,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",25,86,"Requiem",1468,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",26,86,"Ghoul",1423,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",25,100,"Ghoul",1423,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",26,118,"Ghoul",1423,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",25,100,"Ghoul",1423,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",26,118,"Ghoul",1423,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",28,79,"Zerom",1470,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",23,87,"Zerom",1470,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",28,99,"Zerom",1470,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",23,112,"Zerom",1470,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMyMobDead"; - monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_03start#60 FAKE_NPC,{ -OnEnable: - donpcevent "force_03mob#60::OnEnable"; - end; -} - -- script force_03ex#60 FAKE_NPC,{ -OnReset: - killmonster "force_2-1","force_03ex#60::OnMyMobDead"; - end; - -OnEnable: - monster "force_2-1",26,173,"Hydra",1579,1,"force_03ex#60::OnMyMobDead"; - monster "force_2-1",21,173,"Hydra",1579,1,"force_03ex#60::OnMyMobDead"; - monster "force_2-1",31,173,"Hydra",1579,1,"force_03ex#60::OnMyMobDead"; - monster "force_2-1",26,178,"Hydra",1579,1,"force_03ex#60::OnMyMobDead"; - monster "force_2-1",21,178,"Hydra",1579,1,"force_03ex#60::OnMyMobDead"; - monster "force_2-1",31,178,"Hydra",1579,1,"force_03ex#60::OnMyMobDead"; - monster "force_2-1",19,174,"Obeaune",1425,1,"force_03ex#60::OnMyMobDead"; - monster "force_2-1",26,161,"Obeaune",1425,1,"force_03ex#60::OnMyMobDead"; - monster "force_2-1",13,173,"Obeaune",1425,1,"force_03ex#60::OnMyMobDead"; - monster "force_2-1",38,173,"Obeaune",1425,1,"force_03ex#60::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_03mob#60 FAKE_NPC,{ -OnEnable: - donpcevent "force_03ex#60::OnEnable"; - monster "force_2-1",23,174,"Mantis",1457,1,"force_03mob#60::OnMyMobDead"; - monster "force_2-1",18,173,"Mantis",1457,1,"force_03mob#60::OnMyMobDead"; - monster "force_2-1",33,173,"Mantis",1457,1,"force_03mob#60::OnMyMobDead"; - monster "force_2-1",26,181,"Mantis",1457,1,"force_03mob#60::OnMyMobDead"; - end; - -OnReset: - killmonster "force_2-1","force_mob01#60::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_2-1","force_03mob#60::OnMyMobDead") < 1) { - donpcevent "Minilover#arena::On03_End"; - donpcevent "arena#60::OnReset_03"; - } - end; -} - -- script force_04start#60 FAKE_NPC,{ -OnEnable: - donpcevent "force_04mob#60::OnEnable"; - end; -} - -- script force_04ex#60 FAKE_NPC,{ -OnReset: - killmonster "force_2-1","force_04ex#60::OnMyMobDead"; - end; - -OnEnable: - monster "force_2-1",84,177,"Sasquatch",1442,1,"force_04ex#60::OnMyMobDead"; - monster "force_2-1",125,170,"Sasquatch",1442,1,"force_04ex#60::OnMyMobDead"; - monster "force_2-1",109,172,"Baby Leopard",1524,1,"force_04ex#60::OnMyMobDead"; - monster "force_2-1",121,172,"Baby Leopard",1524,1,"force_04ex#60::OnMyMobDead"; - monster "force_2-1",104,173,"Chepet",1444,1,"force_04ex#60::OnMyMobDead"; - monster "force_2-1",75,174,"Dokebi",1491,1,"force_04ex#60::OnMyMobDead"; - monster "force_2-1",102,176,"Dokebi",1491,1,"force_04ex#60::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_04mob#60 FAKE_NPC,{ -OnReset: - killmonster "force_2-1","force_04mob#60::OnMyMobDead"; - end; - -OnEnable: - donpcevent "force_04ex#60::OnEnable"; - monster "force_2-1",79,174,"Golem",1540,1,"force_04mob#60::OnMyMobDead"; - monster "force_2-1",131,178,"Marse",1551,1,"force_04mob#60::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_2-1","force_04mob#60::OnMyMobDead") < 1) { - donpcevent "force_04ex#60::OnReset"; - donpcevent "Minilover#arena::On04_End"; - donpcevent "arena#60::OnReset_04"; - } - end; -} - -- script force_05start#60 FAKE_NPC,{ -OnEnable: - donpcevent "force_05mob#60::OnEnable"; - end; -} - -- script force_05ex#60 FAKE_NPC,{ -OnReset: - killmonster "force_2-1","force_05ex#60::OnMyMobDead"; - end; - -OnSummonMob_05: - monster "force_2-1",168,177,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; - monster "force_2-1",170,179,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; - monster "force_2-1",177,179,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; - monster "force_2-1",179,178,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; - monster "force_2-1",179,170,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; - monster "force_2-1",177,168,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; - monster "force_2-1",170,168,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; - monster "force_2-1",173,174,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; - monster "force_2-1",174,174,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; - monster "force_2-1",173,173,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; - monster "force_2-1",174,173,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; - monster "force_2-1",173,181,"Kapha",1543,1,"force_05ex#60::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_05mob#60 FAKE_NPC,{ -OnReset: - killmonster "force_2-1","force_05mob#60::OnMyMobDead"; - end; - -OnEnable: - donpcevent "force_05ex#60::OnSummonMob_05"; - monster "force_2-1",163,173,"Drainliar",1434,1,"force_05mob#60::OnMyMobDead"; - monster "force_2-1",173,173,"Myst",1553,1,"force_05mob#60::OnMyMobDead"; - monster "force_2-1",181,173,"Orc Skeleton",1462,1,"force_05mob#60::OnMyMobDead"; - monster "force_2-1",171,177,"Orc Skeleton",1462,1,"force_05mob#60::OnMyMobDead"; - monster "force_2-1",173,181,"Raggler",1445,1,"force_05mob#60::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_2-1","force_05mob#60::OnMyMobDead") < 1) { - donpcevent "Minilover#arena::On05_End"; - donpcevent "arena#60::OnReset_05"; - } - end; -} - -- script force_06start#60 FAKE_NPC,{ -OnEnable: - donpcevent "force_06mob#60::OnEnable"; - end; -} - -- script force_06ex#60 FAKE_NPC,{ -OnReset: - killmonster "force_2-1","force_06ex#60::OnMyMobDead"; - end; - -OnEnable: - monster "force_2-1",169,130,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",178,130,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",169,125,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",178,125,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",169,120,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",178,120,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",169,115,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",178,115,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",169,110,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",178,110,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",169,105,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",178,105,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",169,100,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",178,100,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",169,95,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",178,95,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",169,90,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",178,90,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",169,85,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",178,85,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",169,80,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",178,80,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",169,75,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - monster "force_2-1",178,75,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; - end; - -OnSubOn: - switch(rand(1,3)) { - case 1: - monster "force_2-1",rand(170,177),rand(70,120),"Sidewinder",1424,1,"force_06ex#60::OnMyMobDead"; - break; - case 2: - monster "force_2-1",rand(170,177),rand(70,120),"Hermit Plant",1565,1,"force_06ex#60::OnMyMobDead"; - break; - case 3: - monster "force_2-1",rand(170,177),rand(70,120),"Cruiser",1443,1,"force_06ex#60::OnMyMobDead"; - break; - } - end; - -OnMyMobDead: - end; -} - -- script force_06mob#60 FAKE_NPC,{ -OnReset: - killmonster "force_2-1","force_06mob#60::OnMyMobDead"; - end; - -OnEnable: - donpcevent "force_06ex#60::OnEnable"; - monster "force_2-1",174,100,"Miyabi Doll",1552,1,"force_06mob#60::OnMyMobDead"; - monster "force_2-1",174,80,"Miyabi Doll",1552,1,"force_06mob#60::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_2-1","force_06mob#60::OnMyMobDead") < 1) { - donpcevent "Minilover#arena::On06_End"; - donpcevent "arena#60::OnReset_06"; - } - else donpcevent "force_06ex#60::OnSubOn"; - end; -} - -- script force_07start#60 FAKE_NPC,{ -OnEnable: - donpcevent "force_07mob#60::OnEnable"; - end; -} - -- script force_07mob#60 FAKE_NPC,{ -OnReset: - killmonster "force_2-1","force_07mob#60::OnMyMobDead"; - end; - -OnEnable: - monster "force_2-1",170,25,"Jakk",1436,1,"force_07mob#60::OnMyMobDead"; - monster "force_2-1",170,25,"Jakk",1436,1,"force_07mob#60::OnMyMobDead"; - monster "force_2-1",175,25,"Myst",1553,1,"force_07mob#60::OnMyMobDead"; - monster "force_2-1",179,25,"Isis",1421,1,"force_07mob#60::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_2-1","force_07mob#60::OnMyMobDead") < 1) { - donpcevent "Minilover#arena::On07_End"; - donpcevent "arena#60::OnReset_07"; - } - end; -} - -- script force_08start#60 FAKE_NPC,{ -OnEnable: - donpcevent "force_08ex#60::OnEnable"; - end; -} - -- script force_08ex#60 FAKE_NPC,{ -OnEnable: - donpcevent "arena#60::OnReset_08"; - end; -} - -- script force_09start#60 FAKE_NPC,{ -OnEnable: - donpcevent "force_09mob#60::OnEnable"; - end; -} - -- script force_09ex#60 FAKE_NPC,{ -OnReset: - killmonster "force_2-1","force_09ex#60::OnMyMobDead"; - end; - -OnSummonMob_09: - monster "force_2-1",90,100,"Horong",1578,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",92,100,"Horong",1578,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",99,100,"Horong",1578,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",105,100,"Horong",1578,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",91,108,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",91,104,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",91,100,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",91,96,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",91,92,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",95,108,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",99,108,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",100,108,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",104,108,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",108,108,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",108,104,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",108,100,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",108,96,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",108,92,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",104,102,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",196,102,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",114,100,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",121,100,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",85,100,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",78,100,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",96,118,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - monster "force_2-1",103,118,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_09mob#60 FAKE_NPC,{ -OnEnable: - donpcevent "force_09ex#60::OnSummonMob_09"; - monster "force_2-1",99,99,"Goblin Leader",1539,1,"force_09mob#60::OnMyMobDead"; - end; - -OnReset: - killmonster "force_2-1","force_09mob#60::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_2-1","force_09mob#60::OnMyMobDead") < 1) { - donpcevent "Minilover#arena::On09_End"; - donpcevent "arena#60::OnReset_09"; - donpcevent "arena#60::OnReset_All"; - $arena_min60end = gettime(GETTIME_MINUTE); - $arena_sec60end = gettime(GETTIME_SECOND); - } - end; -} - -prt_are_in,129,135,3 script Staff#60-1 1_F_02,{ - 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 { - ++arena_point; - } - mes "[Staff]"; - mes "Let me guide you outside. I hope you had a good time."; - close2; - specialeffect(EF_EXIT, AREA, playerattached()); - warp "arena_room",100,75; - end; -} - -prt_are_in,25,135,3 script Staff#60-2 1_F_02,{ - if($arena_min60end < $arena_min60st) { - if($arena_sec60end < $arena_sec60st) { - @record_min60 = 60 - $arena_min60st + $arena_min60end -1; - @record_sec60 = 60 - $arena_sec60st + $arena_sec60end; - } else { - @record_min60 = 60 - $arena_min60st + $arena_min60end; - @record_sec60 = $arena_sec60end - $arena_sec60st; - } - } else { - if($arena_sec60end < $arena_sec60st) { - @record_min60 = $arena_min60end - $arena_min60st -1; - @record_sec60 = 60 - $arena_sec60st + $arena_sec60end; - } else { - @record_min60 = $arena_min60end - $arena_min60st; - @record_sec60 = $arena_sec60end - $arena_sec60st; - } - } - @gap60 = (60 * $top_60min + $top_60sec) - (60 * @record_min60 + @record_sec60); - mes "[Staff]"; - mes "Wow, you did a good job~ "; - mes "Your name is...^3131FF" + strcharinfo(PC_NAME) +"^000000, isn't it?"; - mes "^3131FF"+ strcharinfo(PC_NAME) +"^000000, total time you spent to pass the battle.."; - next; - mes "[Staff]"; - mes "is "+@record_min60+"minutes "+@record_sec60+"seconds."; - mes "Congratulations!"; - next; - mes "[Staff]"; - mes "The fastest player among people who cleared Lv60 arena time force battle is ^3131FF"+$arena_60topn$+"^000000."; - next; - mes "[Staff]"; - mes "^3131FF"+$arena_60topn$+"^000000's running time was ^3131FF"+$top_60min+"^000000minutes ^3131FF"+$top_60sec+"^000000seconds."; - next; - if (@gap60 < 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 { - 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; - } - specialeffect(EF_EXIT, AREA, playerattached()); - donpcevent "cast#60::OnNomal1"; - warp "arena_room",100,75; - donpcevent "#arn_timer_60::OnStop"; - donpcevent "alloff#60::OnEnable"; - donpcevent "Lv60 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 60s^000000, ^3131FF"+strcharinfo(PC_NAME)+"^000000."; - $top_60min = @record_min60; - $top_60sec = @record_sec60; - $arena_60topn$ = strcharinfo(PC_NAME); - donpcevent "Vendigos::OnLineRec_60"; - next; - if (arena_point > 29950) { - 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; - 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; - } - specialeffect(EF_HIT5, AREA, playerattached()); - donpcevent "cast#60::OnNomal2"; - warp "arena_room",100,75; - donpcevent "#arn_timer_60::OnStop"; - donpcevent "alloff#60::OnEnable"; - donpcevent "Lv60 Waiting Room::OnStart"; - end; - } -} - -- script #arn_timer_60 FAKE_NPC,{ -OnEnable: - initnpctimer; - end; - -OnTimer2000: - mapannounce "prt_are_in","This broadcast informs you about the restriction for arena lvl 60s.",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#60::OnTimeOver2"; - donpcevent "arn_warp_60::OnOut"; - donpcevent "#arn_timer_60::OnStop"; - donpcevent "alloff#60::OnEnable"; - donpcevent "Lv60 Waiting Room::OnStart"; - end; - -OnStop: - stopnpctimer; - end; -} - -- script arn_warp_60 FAKE_NPC,{ -OnOut: - areawarp "prt_are_in",14,143,29,126,"arena_room",100,75; - end; -} - -- script cast#60 FAKE_NPC,{ -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; -} - -- script alloff#60 FAKE_NPC,{ -OnEnable: - mapwarp "force_2-1","prt_are_in",126,139,0,0; - donpcevent "force_01mob#60::OnReset"; - donpcevent "force_02mob#60::OnReset"; - donpcevent "force_03mob#60::OnReset"; - donpcevent "force_04mob#60::OnReset"; - donpcevent "force_05mob#60::OnReset"; - donpcevent "force_06mob#60::OnReset"; - donpcevent "force_07mob#60::OnReset"; - //donpcevent "force_08mob#60::OnReset"; - donpcevent "force_09mob#60::OnReset"; - donpcevent "force_01ex#60::OnReset"; - donpcevent "force_03ex#60::OnReset"; - donpcevent "force_04ex#60::OnReset"; - donpcevent "force_05ex#60::OnReset"; - donpcevent "force_06ex#60::OnReset"; - //donpcevent "force_08ex#60::OnReset"; - donpcevent "force_09ex#60::OnReset"; - donpcevent "Minilover#arena::OnTimerOff"; - disablenpc "Minilover#arena"; - disablenpc "force_01_02#60"; - disablenpc "force_02_03#60"; - disablenpc "force_03_04#60"; - disablenpc "force_04_05#60"; - disablenpc "force_05_06#60"; - disablenpc "force_06_07#60"; - disablenpc "force_07_08#60"; - disablenpc "force_08_09#60"; - disablenpc "force_exit#60"; - disablenpc "arena#60"; - donpcevent "#arn_timer_60::OnStop"; - enablenpc "Minilover#arena"; - enablenpc "arena#60"; - end; - -OnInit: - if(!$top_60min && !$top_60sec) $top_60min = 6; - end; -} diff --git a/npc/other/arena/arena_lvl70.txt b/npc/other/arena/arena_lvl70.txt deleted file mode 100644 index 1b7adfe05..000000000 --- a/npc/other/arena/arena_lvl70.txt +++ /dev/null @@ -1,1011 +0,0 @@ -//================= Hercules Script ======================================= -//= _ _ _ -//= | | | | | | -//= | |_| | ___ _ __ ___ _ _| | ___ ___ -//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| -//= | | | | __/ | | (__| |_| | | __/\__ \ -//= \_| |_/\___|_| \___|\__,_|_|\___||___/ -//================= License =============================================== -//= This file is part of Hercules. -//= http://herc.ws - http://github.com/HerculesWS/Hercules -//= -//= Copyright (C) 2012-2020 Hercules Dev Team -//= Copyright (C) Euphy -//= Copyright (C) Samuray22 -//= Copyright (C) SinSloth -//= -//= Hercules is free software: you can redistribute it and/or modify -//= it under the terms of the GNU General Public License as published by -//= the Free Software Foundation, either version 3 of the License, or -//= (at your option) any later version. -//= -//= This program is distributed in the hope that it will be useful, -//= but WITHOUT ANY WARRANTY; without even the implied warranty of -//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -//= GNU General Public License for more details. -//= -//= You should have received a copy of the GNU General Public License -//= along with this program. If not, see <http://www.gnu.org/licenses/>. -//========================================================================= -//= Izlude Arena Level 70 -//================= Description =========================================== -//= Izlude Battle Arena Level 70 -//================= Current Version ======================================= -//= 1.3 -//========================================================================= - -arena_room,52,42,7 script Lv70 Waiting Room 4_F_TELEPORTER,{ - end; - -OnInit: - waitingroom "Individual; Level 70 to 89",50,"Lv70 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 4_F_TELEPORTER,{ - end; - -OnStart: - initnpctimer; - $arena_min70st = gettime(GETTIME_MINUTE); - $arena_sec70st = gettime(GETTIME_SECOND); - 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: - if (getmapusers("force_3-1") == 0) { - donpcevent "Cadillac#arena::OnFailClearStage"; - } - mapannounce "force_3-1","Remaining Time : 6 minutes ",0; - end; - -OnTimer120000: - if (getmapusers("force_3-1") == 0) { - donpcevent "Cadillac#arena::OnFailClearStage"; - } - mapannounce "force_3-1","Remaining Time : 5 minutes ",0; - end; - -OnTimer180000: - if (getmapusers("force_3-1") == 0) { - donpcevent "Cadillac#arena::OnFailClearStage"; - } - mapannounce "force_3-1","Remaining Time : 4 minutes ",0; - end; - -OnTimer240000: - if (getmapusers("force_3-1") == 0) { - donpcevent "Cadillac#arena::OnFailClearStage"; - } - mapannounce "force_3-1","Remaining Time : 3 minutes ",0; - end; - -OnTimer300000: - if (getmapusers("force_3-1") == 0) { - donpcevent "Cadillac#arena::OnFailClearStage"; - } - mapannounce "force_3-1","Remaining Time : 2 minutes ",0; - end; - -OnTimer360000: - if (getmapusers("force_3-1") == 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::OnEnable"; - donpcevent "Lv70 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 FAKE_NPC,{ -OnReset_01: - //donpcevent "force_01ex#70::OnReset"; - donpcevent "force_02start#70::OnEnable"; - enablenpc "force_01_02#70"; - end; - -OnReset_02: - donpcevent "force_02ex#70::OnReset"; - donpcevent "force_03start#70::OnEnable"; - enablenpc "force_02_03#70"; - end; - -OnReset_03: - enablenpc "force_03_04#70"; - donpcevent "force_04start#70::OnEnable"; - donpcevent "force_03ex#70::OnReset"; - end; - -OnReset_04: - enablenpc "force_04_05#70"; - donpcevent "force_05start#70::OnEnable"; - donpcevent "force_04ex#70::OnReset"; - end; - -OnReset_05: - enablenpc "force_05_06#70"; - donpcevent "force_06start#70::OnEnable"; - donpcevent "force_05ex#70::OnReset"; - end; - -OnReset_06: - enablenpc "force_06_07#70"; - donpcevent "force_07start#70::OnEnable"; - donpcevent "force_06ex#70::OnReset"; - end; - -OnReset_07: - enablenpc "force_07_08#70"; - donpcevent "force_07ex#70::OnReset"; - donpcevent "force_08start#70::OnEnable"; - end; - -OnReset_08: - donpcevent "force_09start#70::OnEnable"; - 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::OnEnable"; - 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 WARPNPC,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 WARPNPC,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 WARPNPC,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 WARPNPC,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 WARPNPC,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 WARPNPC,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 WARPNPC,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 WARPNPC,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 WARPNPC,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 WARPNPC,1,1,{ -OnTouch: - donpcevent "Cadillac#arena::OnTimerOff"; - donpcevent "#arn_timer_70::OnEnable"; - mapwarp "force_3-1","prt_are_in",22,87,0,0; - end; -} - -- script force_01start#70 FAKE_NPC,{ -OnEnable: - donpcevent "force_01mob#70::OnEnable"; - end; -} - -- script force_01mob#70 FAKE_NPC,{ -OnEnable: - monster "force_3-1",25,36,"Kobold",1545,1,"force_01mob#70::OnMyMobDead"; - monster "force_3-1",20,36,"Kobold",1545,1,"force_01mob#70::OnMyMobDead"; - monster "force_3-1",25,20,"Kobold",1546,1,"force_01mob#70::OnMyMobDead"; - monster "force_3-1",30,36,"Kobold",1547,1,"force_01mob#70::OnMyMobDead"; - monster "force_3-1",28,15,"Kobold",1547,1,"force_01mob#70::OnMyMobDead"; - end; - -OnReset: - killmonster "force_3-1","force_01mob#70::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_3-1","force_01mob#70::OnMyMobDead") < 1) { - donpcevent "Cadillac#arena::On01_End"; - donpcevent "arena#70::OnReset_01"; - } - end; -} - -- script force_02start#70 FAKE_NPC,{ -OnEnable: - donpcevent "force_02mob#70::OnEnable"; - end; -} - -- script force_02ex#70 FAKE_NPC,{ -OnReset: - killmonster "force_3-1","force_02ex#70::OnMyMobDead"; - end; - -OnSummonMob2: - monster "force_3-1",21,78,"Archer Skeleton",1420,1,"force_02ex#70::OnMyMobDead"; - monster "force_3-1",22,93,"Archer Skeleton",1420,1,"force_02ex#70::OnMyMobDead"; - monster "force_3-1",29,93,"Archer Skeleton",1420,1,"force_02ex#70::OnMyMobDead"; - monster "force_3-1",25,101,"Mummy",1393,1,"force_02ex#70::OnMyMobDead"; - monster "force_3-1",26,101,"Mummy",1393,1,"force_02ex#70::OnMyMobDead"; - monster "force_3-1",27,101,"Mummy",1393,1,"force_02ex#70::OnMyMobDead"; - monster "force_3-1",28,101,"Mummy",1393,1,"force_02ex#70::OnMyMobDead"; - monster "force_3-1",24,104,"Ghoul",1423,1,"force_02ex#70::OnMyMobDead"; - monster "force_3-1",24,113,"Ghoul",1423,1,"force_02ex#70::OnMyMobDead"; - monster "force_3-1",29,120,"Ghoul",1423,1,"force_02ex#70::OnMyMobDead"; - monster "force_3-1",29,126,"Ghoul",1423,1,"force_02ex#70::OnMyMobDead"; - monster "force_3-1",30,110,"Ghoul",1423,1,"force_02ex#70::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_02mob#70 FAKE_NPC,{ -OnReset: - killmonster "force_3-1","force_02mob#70::OnMyMobDead"; - end; - -OnEnable: - monster "force_3-1",25,79,"Horong",1578,1,"force_02mob#70::OnMyMobDead"; - monster "force_3-1",29,114,"Horong",1578,1,"force_02mob#70::OnMyMobDead"; - donpcevent "force_02ex#70::OnSummonMob2"; - end; - -OnMyMobDead: - if (mobcount("force_3-1","force_02mob#70::OnMyMobDead") < 1) { - donpcevent "Cadillac#arena::On02_End"; - donpcevent "arena#70::OnReset_02"; - } - end; -} - -- script force_03start#70 FAKE_NPC,{ -OnEnable: - donpcevent "force_03mob#70::OnEnable"; - end; -} - -- script force_03ex#70 FAKE_NPC,{ -OnReset: - killmonster "force_3-1","force_03ex#70::OnMyMobDead"; - end; - -OnSummonMob_03: - monster "force_3-1",10,170,"Enchanted Peach Tree",1550,1,"force_03ex#70::OnMyMobDead"; - monster "force_3-1",26,180,"Enchanted Peach Tree",1550,1,"force_03ex#70::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_03mob#70 FAKE_NPC,{ -OnEnable: - donpcevent "force_03ex#70::OnSummonMob_03"; - monster "force_3-1",23,174,"Parasite",1555,1,"force_03mob#70::OnMyMobDead"; - monster "force_3-1",33,173,"Parasite",1555,1,"force_03mob#70::OnMyMobDead"; - monster "force_3-1",26,166,"Blood Butterfly",1526,1,"force_03mob#70::OnMyMobDead"; - end; - -OnReset: - killmonster "force_3-1","force_03mob#70::OnMyMobDead"; - end; - -OnMyMobDead: - donpcevent "force_03ex#70::OnSummonMob_03"; - if (mobcount("force_3-1","force_03mob#70::OnMyMobDead") < 1) { - donpcevent "Cadillac#arena::On03_End"; - donpcevent "arena#70::OnReset_03"; - } - end; -} - -- script force_04start#70 FAKE_NPC,{ -OnEnable: - donpcevent "force_04mob#70::OnEnable"; - end; -} - -- script force_04ex#70 FAKE_NPC,{ -OnReset: - killmonster "force_3-1","force_04ex#70::OnMyMobDead"; - end; - -OnSummonMob_04: - monster "force_3-1",94,179,"Bathory",1525,1,"force_04ex#70::OnMyMobDead"; - monster "force_3-1",110,179,"Bathory",1525,1,"force_04ex#70::OnMyMobDead"; - monster "force_3-1",90,170,"Bathory",1525,1,"force_04ex#70::OnMyMobDead"; - monster "force_3-1",100,170,"Bathory",1525,1,"force_04ex#70::OnMyMobDead"; - monster "force_3-1",125,178,"Bathory",1525,1,"force_04ex#70::OnMyMobDead"; - monster "force_3-1",125,169,"Bathory",1525,1,"force_04ex#70::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_04mob#70 FAKE_NPC,{ -OnEnable: - donpcevent "force_04ex#70::OnSummonMob_04"; - monster "force_3-1",87,174,"Stem Worm",1440,1,"force_04mob#70::OnMyMobDead"; - monster "force_3-1",103,174,"Stem Worm",1440,1,"force_04mob#70::OnMyMobDead"; - monster "force_3-1",96,170,"Stem Worm",1440,1,"force_04mob#70::OnMyMobDead"; - end; -OnReset: - killmonster "force_3-1","force_04mob#70::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_3-1","force_04mob#70::OnMyMobDead") < 1) { - donpcevent "Cadillac#arena::On04_End"; - donpcevent "arena#70::OnReset_04"; - } - end; -} - -- script force_05start#70 FAKE_NPC,{ -OnEnable: - donpcevent "force_05mob#70::OnEnable"; - end; -} - -- script force_05ex#70 FAKE_NPC,{ -OnReset: - killmonster "force_3-1","force_05ex#70::OnMyMobDead"; - end; - -OnSummonMob_05: - switch(rand(1,2)) { - case 1: - monster "force_3-1",174,174,"Ride Word",1478,1,"force_05ex#70::OnMyMobDead"; - break; - case 2: - monster "force_3-1",173,173,"Mantis",1457,1,"force_05ex#70::OnMyMobDead"; - break; - } - end; - -OnMyMobDead: - end; -} - -- script force_05mob#70 FAKE_NPC,{ -OnEnable: - monster "force_3-1",164,183,"Argiope",1429,1,"force_05mob#70::OnMyMobDead"; - monster "force_3-1",168,158,"Argiope",1429,1,"force_05mob#70::OnMyMobDead"; - monster "force_3-1",175,174,"Argiope",1429,1,"force_05mob#70::OnMyMobDead"; - monster "force_3-1",176,179,"Argiope",1429,1,"force_05mob#70::OnMyMobDead"; - monster "force_3-1",183,160,"Argiope",1429,1,"force_05mob#70::OnMyMobDead"; - end; - -OnReset: - killmonster "force_3-1","force_05mob#70::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_3-1","force_05mob#70::OnMyMobDead") < 1) { - donpcevent "Cadillac#arena::On05_End"; - donpcevent "arena#70::OnReset_05"; - } - else donpcevent "force_05ex#70::OnSummonMob_05"; - end; -} - -- script force_06start#70 FAKE_NPC,{ -OnEnable: - donpcevent "force_06mob#70::OnEnable"; - end; -} - -- script force_06ex#70 FAKE_NPC,{ -OnReset: - killmonster "force_3-1","force_06ex#70::OnMyMobDead"; - end; - -OnSummonMob_06: - monster "force_3-1",176,99,"Goblin",1534,1,"force_06ex#70::OnMyMobDead"; - monster "force_3-1",170,86,"Goblin",1535,1,"force_06ex#70::OnMyMobDead"; - monster "force_3-1",176,97,"Goblin",1535,1,"force_06ex#70::OnMyMobDead"; - monster "force_3-1",170,108,"Goblin",1535,1,"force_06ex#70::OnMyMobDead"; - monster "force_3-1",176,112,"Goblin",1536,1,"force_06ex#70::OnMyMobDead"; - monster "force_3-1",173,120,"Goblin",1536,1,"force_06ex#70::OnMyMobDead"; - monster "force_3-1",177,74,"Goblin",1536,1,"force_06ex#70::OnMyMobDead"; - monster "force_3-1",173,118,"Goblin",1538,1,"force_06ex#70::OnMyMobDead"; - monster "force_3-1",171,101,"Goblin",1538,1,"force_06ex#70::OnMyMobDead"; - monster "force_3-1",174,118,"Goblin",1538,1,"force_06ex#70::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_06mob#70 FAKE_NPC,{ -OnEnable: - donpcevent "force_06ex#70::OnSummonMob_06"; - monster "force_3-1",173,90,"Goblin",1537,1,"force_06mob#70::OnMyMobDead"; - monster "force_3-1",173,79,"Goblin",1537,1,"force_06mob#70::OnMyMobDead"; - monster "force_3-1",172,70,"Goblin",1537,1,"force_06mob#70::OnMyMobDead"; - monster "force_3-1",175,70,"Goblin",1537,1,"force_06mob#70::OnMyMobDead"; - monster "force_3-1",171,118,"Goblin",1537,1,"force_06mob#70::OnMyMobDead"; - end; - -OnReset: - killmonster "force_3-1","force_06mob#70::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_3-1","force_06mob#70::OnMyMobDead") < 1) { - donpcevent "Cadillac#arena::On06_End"; - donpcevent "arena#70::OnReset_06"; - } - end; -} - -- script force_07start#70 FAKE_NPC,{ -OnEnable: - donpcevent "force_07mob#70::OnEnable"; - end; -} - -- script force_07ex#70 FAKE_NPC,{ -OnReset: - killmonster "force_3-1","force_07ex#70::OnMyMobDead"; - end; - -OnSummonMob_07: - monster "force_3-1",168,26,"Nightmare",1427,1,"force_07ex#70::OnMyMobDead"; - monster "force_3-1",186,23,"Nightmare",1427,1,"force_07ex#70::OnMyMobDead"; - monster "force_3-1",160,23,"Nightmare",1427,1,"force_07ex#70::OnMyMobDead"; - monster "force_3-1",188,33,"Nightmare",1427,1,"force_07ex#70::OnMyMobDead"; - monster "force_3-1",174,13,"Raydric",1453,1,"force_07ex#70::OnMyMobDead"; - monster "force_3-1",163,15,"Farmiliar",1419,1,"force_07ex#70::OnMyMobDead"; - monster "force_3-1",164,15,"Farmiliar",1419,1,"force_07ex#70::OnMyMobDead"; - monster "force_3-1",163,16,"Farmiliar",1419,1,"force_07ex#70::OnMyMobDead"; - monster "force_3-1",164,16,"Farmiliar",1419,1,"force_07ex#70::OnMyMobDead"; - monster "force_3-1",187,13,"Farmiliar",1419,1,"force_07ex#70::OnMyMobDead"; - monster "force_3-1",187,14,"Farmiliar",1419,1,"force_07ex#70::OnMyMobDead"; - monster "force_3-1",186,14,"Farmiliar",1419,1,"force_07ex#70::OnMyMobDead"; - monster "force_3-1",186,14,"Farmiliar",1419,1,"force_07ex#70::OnMyMobDead"; - end; - - -OnMyMobDead: - end; -} - -- script force_07mob#70 FAKE_NPC,{ -OnEnable: - donpcevent "force_07ex#70::OnSummonMob_07"; - monster "force_3-1",174,25,"Alice",1521,1,"force_07mob#70::OnMyMobDead"; - end; - -OnReset: - killmonster "force_3-1","force_07mob#70::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_3-1","force_07mob#70::OnMyMobDead") < 1) { - donpcevent "Cadillac#arena::On07_End"; - donpcevent "arena#70::OnReset_07"; - } - end; -} - -- script force_08start#70 FAKE_NPC,{ -OnEnable: - donpcevent "force_08ex#70::OnEnable"; - end; -} - -- script force_08ex#70 FAKE_NPC,{ -OnEnable: - donpcevent "arena#70::OnReset_08"; - end; -} - -- script force_09start#70 FAKE_NPC,{ -OnEnable: - donpcevent "force_09mob#70::OnEnable"; - end; -} - -- script force_09ex#70 FAKE_NPC,{ -OnReset: - killmonster "force_3-1","force_09ex#70::OnMyMobDead"; - end; - -OnSummonMob_09: - monster "force_3-1",93,100,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; - monster "force_3-1",94,100,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; - monster "force_3-1",93,99,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; - monster "force_3-1",85,114,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; - monster "force_3-1",87,114,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; - monster "force_3-1",89,114,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; - monster "force_3-1",91,114,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; - monster "force_3-1",93,114,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; - monster "force_3-1",95,114,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; - monster "force_3-1",85,112,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; - monster "force_3-1",85,110,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; - monster "force_3-1",85,108,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; - monster "force_3-1",85,106,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; - monster "force_3-1",85,104,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -- script force_09mob#70 FAKE_NPC,{ -OnEnable: - monster "force_3-1",99,99,"Kobold Leader",1548,1,"force_09mob#70::OnMyMobDead"; - monster "force_3-1",98,99,"Kobold",1545,1,"force_09mob#70::OnMyMobDead"; - monster "force_3-1",100,99,"Kobold",1546,1,"force_09mob#70::OnMyMobDead"; - monster "force_3-1",99,98,"Kobold",1547,1,"force_09mob#70::OnMyMobDead"; - donpcevent "force_09ex#70::OnSummonMob_09"; - end; - -OnReset: - killmonster "force_3-1","force_09mob#70::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_3-1","force_09mob#70::OnMyMobDead") < 1) { - donpcevent "Cadillac#arena::On09_End"; - donpcevent "arena#70::OnReset_09"; - donpcevent "arena#70::OnReset_All"; - $arena_min70end = gettime(GETTIME_MINUTE); - $arena_sec70end = gettime(GETTIME_SECOND); - } - end; -} - -prt_are_in,129,83,3 script Staff#70-1 1_F_02,{ - 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 { - ++arena_point; - } - mes "[Staff]"; - mes "Let me guide you outside. I hope you had a good time."; - close2; - specialeffect(EF_EXIT, AREA, playerattached()); - warp "arena_room",100,75; - end; -} - -prt_are_in,25,84,3 script Staff#70-2 1_F_02,{ - if($arena_min70end < $arena_min70st) { - if($arena_sec70end < $arena_sec70st) { - @record_min70 = 60 - $arena_min70st + $arena_min70end -1; - @record_sec70 = 60 - $arena_sec70st + $arena_sec70end; - } else { - @record_min70 = 60 - $arena_min70st + $arena_min70end; - @record_sec70 = $arena_sec70end - $arena_sec70st; - } - } else { - if($arena_sec70end < $arena_sec70st) { - @record_min70 = $arena_min70end - $arena_min70st -1; - @record_sec70 = 60 - $arena_sec70st + $arena_sec70end; - } else { - @record_min70 = $arena_min70end - $arena_min70st; - @record_sec70 = $arena_sec70end - $arena_sec70st; - } - } - @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(PC_NAME) +"^000000, isn't it?"; - mes "^3131FF"+ strcharinfo(PC_NAME) +"^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 Lv70 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 { - 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; - } - specialeffect(EF_EXIT, AREA, playerattached()); - donpcevent "cast#70::OnNomal1"; - warp "arena_room",100,75; - donpcevent "#arn_timer_70::OnStop"; - donpcevent "alloff#70::OnEnable"; - donpcevent "Lv70 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(PC_NAME)+"^000000."; - $top_70min = @record_min70; - $top_70sec = @record_sec70; - $arena_70topn$ = strcharinfo(PC_NAME); - 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; - 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; - } - specialeffect(EF_HIT5, AREA, playerattached()); - donpcevent "cast#70::OnNomal2"; - warp "arena_room",100,75; - donpcevent "#arn_timer_70::OnStop"; - donpcevent "alloff#70::OnEnable"; - donpcevent "Lv70 Waiting Room::OnStart"; - end; - } -} - -- script #arn_timer_70 FAKE_NPC,{ -OnEnable: - 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::OnEnable"; - donpcevent "Lv70 Waiting Room::OnStart"; - end; - -OnStop: - stopnpctimer; - end; -} - -- script arn_warp_70 FAKE_NPC,{ -OnOut: - areawarp "prt_are_in",14,91,29,74,"arena_room",100,75; - end; -} - -- script cast#70 FAKE_NPC,{ -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 FAKE_NPC,{ -OnEnable: - 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) $top_70min = 7; - end; -} diff --git a/npc/other/arena/arena_lvl80.txt b/npc/other/arena/arena_lvl80.txt deleted file mode 100644 index ef3627651..000000000 --- a/npc/other/arena/arena_lvl80.txt +++ /dev/null @@ -1,990 +0,0 @@ -//================= Hercules Script ======================================= -//= _ _ _ -//= | | | | | | -//= | |_| | ___ _ __ ___ _ _| | ___ ___ -//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| -//= | | | | __/ | | (__| |_| | | __/\__ \ -//= \_| |_/\___|_| \___|\__,_|_|\___||___/ -//================= License =============================================== -//= This file is part of Hercules. -//= http://herc.ws - http://github.com/HerculesWS/Hercules -//= -//= Copyright (C) 2012-2020 Hercules Dev Team -//= Copyright (C) Euphy -//= Copyright (C) Samuray22 -//= Copyright (C) SinSloth -//= -//= Hercules is free software: you can redistribute it and/or modify -//= it under the terms of the GNU General Public License as published by -//= the Free Software Foundation, either version 3 of the License, or -//= (at your option) any later version. -//= -//= This program is distributed in the hope that it will be useful, -//= but WITHOUT ANY WARRANTY; without even the implied warranty of -//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -//= GNU General Public License for more details. -//= -//= You should have received a copy of the GNU General Public License -//= along with this program. If not, see <http://www.gnu.org/licenses/>. -//========================================================================= -//= Izlude Arena Level 80 -//================= Description =========================================== -//= Izlude Battle Arena Level 80 -//================= Current Version ======================================= -//= 1.3 -//========================================================================= - -arena_room,147,42,1 script Lv80 Waiting Room 4_F_TELEPORTER,{ - end; - -OnInit: - waitingroom "Individual; Level 80 to "+(RENEWAL?"160":"99"),50,"Lv80 Waiting Room::OnStartArena",1,1000,80; - enablewaitingroomevent; - end; - -OnStartArena: - warpwaitingpc "force_4-1",99,12; - donpcevent "arena#80::OnStart"; - disablewaitingroomevent; - end; - -OnStart: - enablewaitingroomevent; - end; -} - -force_4-1,99,20,4 script Octus#arena 4_F_TELEPORTER,{ - end; - -OnStart: - initnpctimer; - $arena_min80st = gettime(GETTIME_MINUTE); - $arena_sec80st = gettime(GETTIME_SECOND); - end; - -OnTimer3000: - mapannounce "force_4-1","Good day, my name is Octus, the guide of Time Force Battle for lvl 80s!",0; - end; - -OnTimer4000: - mapannounce "force_4-1","Remember your right decision will save a lot of your time!",0; - end; - -OnTimer8000: - mapannounce "force_4-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: - if (getmapusers("force_4-1") == 0) { - donpcevent "Octus#arena::OnFailClearStage"; - } - mapannounce "force_4-1","Remaining Time : 7 minutes ",0; - end; - -OnTimer120000: - if (getmapusers("force_4-1") == 0) { - donpcevent "Octus#arena::OnFailClearStage"; - } - mapannounce "force_4-1","Remaining Time : 6 minutes ",0; - end; - -OnTimer180000: - if (getmapusers("force_4-1") == 0) { - donpcevent "Octus#arena::OnFailClearStage"; - } - mapannounce "force_4-1","Remaining Time : 5 minutes ",0; - end; - -OnTimer240000: - if (getmapusers("force_4-1") == 0) { - donpcevent "Octus#arena::OnFailClearStage"; - } - mapannounce "force_4-1","Remaining Time : 4 minutes ",0; - end; - -OnTimer300000: - if (getmapusers("force_4-1") == 0) { - donpcevent "Octus#arena::OnFailClearStage"; - } - mapannounce "force_4-1","Remaining Time : 3 minutes ",0; - end; - -OnTimer360000: - if (getmapusers("force_4-1") == 0) { - donpcevent "Octus#arena::OnFailClearStage"; - } - mapannounce "force_4-1","Remaining Time : 2 minutes ",0; - end; - -OnTimer420000: - if (getmapusers("force_4-1") == 0) { - donpcevent "Octus#arena::OnFailClearStage"; - } - mapannounce "force_4-1","Remaining Time : 1 minute ",0; - end; - -OnTimer480000: - mapannounce "force_4-1","Your time is over. I hope you had a good time~",0; - end; - -OnTimer485000: -OnTimer486000: -OnTimer487000: -OnTimer488000: -OnTimer489000: -OnTimer490000: -OnTimer491000: -OnTimer492000: -OnTimer493000: -OnTimer494000: - mapwarp "force_4-1","prt_are_in",178,190,0,0; - end; - -OnTimer495000: - mapwarp "force_4-1","prt_are_in",178,190,0,0; - donpcevent "Octus#arena::OnFailClearStage"; - end; - -OnTimerOff: - stopnpctimer; - end; - -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::OnEnable"; - donpcevent "Lv80 Waiting Room::OnStart"; - end; - -On01_Start: - mapannounce "force_4-1","In order to clear this battle, you must kill all Nightmares!",0; - end; - -On01_End: - mapannounce "force_4-1","A door to the north room has opened!",0; - end; - -On02_Start: - mapannounce "force_4-1","In order to clear this battle, you must kill all monsters!",0; - end; - -On02_End: - mapannounce "force_4-1","A door to the north room has opened!",0; - end; - -On03_Start: - mapannounce "force_4-1","In order to clear this battle, you must kill all Assaulters!",0; - end; - -On03_End: - mapannounce "force_4-1","Clear! A door to the east room has opened!",0; - end; - -On04_Start: - mapannounce "force_4-1","In order to clear this battle, you must kill all Nine Tails!",0; - end; - -On04_End: - mapannounce "force_4-1","A door to the east room has opened!",0; - end; - -On05_Start: - mapannounce "force_4-1","In order to clear this battle, you must kill all Walking Petites!",0; - end; - -On05_End: - mapannounce "force_4-1","Clear! A door to the south room has opened!",0; - end; - -On06_Start: - mapannounce "force_4-1","In order to clear this battle, kill all monsters in this room!",0; - end; - -On06_End: - mapannounce "force_4-1","A door to the south room has opened!",0; - end; - -On07_Start: - mapannounce "force_4-1","In order to clear this battle, kill all Fur-Seals while dodging Mermen!",0; - end; - -On07_End: - mapannounce "force_4-1","Clear! A door to the west room has opened!",0; - end; - -On08_Start: - mapannounce "force_4-1","Please escape to the north exit!",0; - end; - -On09_Start: - mapannounce "force_4-1","In order to clear this battle, you must defeat an Ancient Mummy!",0; - end; - -On09_End: - mapannounce "force_4-1","Boss Clear! - A door at the north has opened. Thank you. ",0; - end; -} - -- script arena#80 FAKE_NPC,{ -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::OnEnable"; - enablenpc "force_02_03#80"; - end; - -OnReset_03: - enablenpc "force_03_04#80"; - donpcevent "force_04start#80::OnEnable"; - donpcevent "force_03ex#80::OnReset"; - end; - -OnReset_04: - enablenpc "force_04_05#80"; - donpcevent "force_05start#80::OnEnable"; - donpcevent "force_04ex#80::OnReset"; - end; - -OnReset_05: - enablenpc "force_05_06#80"; - donpcevent "force_06start#80::OnEnable"; - donpcevent "force_05ex#80::OnReset"; - end; - -OnReset_06: - enablenpc "force_06_07#80"; - donpcevent "force_07start#80::OnEnable"; - //donpcevent "force_06ex#80::OnReset"; - end; - -OnReset_07: - enablenpc "force_07_08#80"; - donpcevent "force_07ex#80::OnReset"; - donpcevent "force_08start#80::OnEnable"; - end; - -OnReset_08: - donpcevent "force_09start#80::OnEnable"; - enablenpc "force_08_09#80"; - end; - -OnReset_09: - enablenpc "force_exit#80"; - end; - -OnStart: - disablenpc "force_01_02#80"; - disablenpc "force_02_03#80"; - disablenpc "force_03_04#80"; - disablenpc "force_04_05#80"; - disablenpc "force_05_06#80"; - disablenpc "force_06_07#80"; - 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"; - enablenpc "force_08_01#80"; - 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 WARPNPC,1,1,{ -OnTouch: - donpcevent "Octus#arena::On01_Start"; - warp "force_4-1",40,26; - end; -} - -force_4-1,25,44,1 script force_01_02#80 WARPNPC,1,1,{ -OnTouch: - donpcevent "Octus#arena::On02_Start"; - warp "force_4-1",25,69; - end; -} - -force_4-1,25,134,1 script force_02_03#80 WARPNPC,1,1,{ -OnTouch: - donpcevent "Octus#arena::On03_Start"; - warp "force_4-1",25,159; - end; -} - -force_4-1,44,174,1 script force_03_04#80 WARPNPC,1,1,{ -OnTouch: - donpcevent "Octus#arena::On04_Start"; - warp "force_4-1",69,174; - end; - -} - -force_4-1,134,174,1 script force_04_05#80 WARPNPC,1,1,{ -OnTouch: - donpcevent "Octus#arena::On05_Start"; - warp "force_4-1",159,174; - end; -} - -force_4-1,174,155,1 script force_05_06#80 WARPNPC,1,1,{ -OnTouch: - donpcevent "Octus#arena::On06_Start"; - warp "force_4-1",174,130; - end; -} - -force_4-1,174,65,1 script force_06_07#80 WARPNPC,1,1,{ -OnTouch: - donpcevent "Octus#arena::On07_Start"; - warp "force_4-1",174,40; - end; -} - -force_4-1,155,26,1 script force_07_08#80 WARPNPC,1,1,{ -OnTouch: - 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 WARPNPC,1,1,{ -OnTouch: - donpcevent "Octus#arena::On09_Start"; - warp "force_4-1",99,82; - end; -} - -force_4-1,99,124,1 script force_exit#80 WARPNPC,1,1,{ -OnTouch: - 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 FAKE_NPC,{ -OnEnable: - donpcevent "force_01mob#80::OnEnable"; - end; -} - -- script force_01ex#80 FAKE_NPC,{ -OnReset: - killmonster "force_4-1","force_01ex#80::OnMyMobDead"; - end; - -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; - -OnMyMobDead: - end; -} - -- script force_01mob#80 FAKE_NPC,{ -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::OnMyMobDead"; - end; - -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 FAKE_NPC,{ -OnEnable: - donpcevent "force_02mob#80::OnEnable"; - end; -} - -- script force_02mob#80 FAKE_NPC,{ -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 FAKE_NPC,{ -OnEnable: - donpcevent "force_03mob#80::OnEnable"; - end; -} - -- script force_03ex#80 FAKE_NPC,{ -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::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; - -OnMyMobDead: - end; -} - -- script force_03mob#80 FAKE_NPC,{ -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::OnMyMobDead"; - end; - -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 FAKE_NPC,{ -OnEnable: - donpcevent "force_04mob#80::OnEnable"; - end; -} - -- script force_04ex#80 FAKE_NPC,{ -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::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; - -OnMyMobDead: - end; - -} - -- script force_04mob#80 FAKE_NPC,{ -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::OnMyMobDead"; - end; - -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 FAKE_NPC,{ -OnEnable: - donpcevent "force_05mob#80::OnEnable"; - end; -} - -- script force_05ex#80 FAKE_NPC,{ -OnReset: - killmonster "force_4-1","force_05ex#80::OnMyMobDead"; - end; - -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; - -OnMyMobDead: - end; -} - -- script force_05mob#80 FAKE_NPC,{ -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::OnMyMobDead"; - end; - -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"; - end; - -} - -- script force_06start#80 FAKE_NPC,{ -OnEnable: - donpcevent "force_06mob#80::OnEnable"; - end; -} - -- script force_06ex#80 FAKE_NPC,{ -OnEnable: - donpcevent "Octus#arena::On06_start"; - end; -} - -- script force_06mob#80 FAKE_NPC,{ -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::OnMyMobDead"; - end; - -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 FAKE_NPC,{ -OnEnable: - donpcevent "force_07mob#80::OnEnable"; - end; -} - -- script force_07ex#80 FAKE_NPC,{ -OnReset: - killmonster "force_4-1","force_07ex#80::OnMyMobDead"; - end; - -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; - -OnMyMobDead: - end; -} - -- script force_07mob#80 FAKE_NPC,{ -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::OnMyMobDead"; - end; - -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 FAKE_NPC,{ -OnEnable: - donpcevent "force_08ex#80::OnEnable"; - end; -} - -- script force_08ex#80 FAKE_NPC,{ -OnEnable: - donpcevent "arena#80::OnReset_08"; - end; -} - -- script force_09start#80 FAKE_NPC,{ -OnEnable: - donpcevent "force_09mob#80::OnEnable"; - end; -} - -- script force_09ex#80 FAKE_NPC,{ -OnReset: - killmonster "force_4-1","force_09ex#80::OnMyMobDead"; - end; - -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; - -OnMyMobDead: - end; -} - -- script force_09mob#80 FAKE_NPC,{ -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::OnMyMobDead"; - end; - -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"; - $arena_min80end = gettime(GETTIME_MINUTE); - $arena_sec80end = gettime(GETTIME_SECOND); - } - end; -} - -prt_are_in,181,188,3 script Staff#80-1 1_F_02,{ - 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 { - ++arena_point; - } - mes "[Staff]"; - mes "Let me guide you outside. I hope you had a good time."; - close2; - specialeffect(EF_EXIT, AREA, playerattached()); - warp "arena_room",100,75; - end; -} - -prt_are_in,77,187,3 script Staff#80-2 1_F_02,{ - if($arena_min80end < $arena_min80st) { - if($arena_sec80end < $arena_sec80st) { - @record_min80 = 60 - $arena_min80st + $arena_min80end -1; - @record_sec80 = 60 - $arena_sec80st + $arena_sec80end; - } else { - @record_min80 = 60 - $arena_min80st + $arena_min80end; - @record_sec80 = $arena_sec80end - $arena_sec80st; - } - } else { - if($arena_sec80end < $arena_sec80st) { - @record_min80 = $arena_min80end - $arena_min80st -1; - @record_sec80 = 60 - $arena_sec80st + $arena_sec80end; - } else { - @record_min80 = $arena_min80end - $arena_min80st; - @record_sec80 = $arena_sec80end - $arena_sec80st; - } - } - @gap80 = (60 * $top_80min + $top_80sec) - (60 * @record_min80 + @record_sec80); - mes "[Staff]"; - mes "Wow, you did a good job~ "; - mes "Your name is...^3131FF" + strcharinfo(PC_NAME) +"^000000, isn't it?"; - mes "^3131FF"+ strcharinfo(PC_NAME) +"^000000, total time you spent to pass the battle.."; - next; - mes "[Staff]"; - mes "is "+@record_min80+"minutes "+@record_sec80+"seconds."; - mes "Congratulations!"; - next; - mes "[Staff]"; - 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."; - next; - if (@gap80 < 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 { - 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; - } - specialeffect(EF_EXIT, AREA, playerattached()); - donpcevent "cast#80::OnNomal1"; - warp "arena_room",100,75; - donpcevent "#arn_timer_80::OnStop"; - donpcevent "alloff#80::OnEnable"; - donpcevent "Lv80 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 80s^000000, ^3131FF"+strcharinfo(PC_NAME)+"^000000."; - $top_80min = @record_min80; - $top_80sec = @record_sec80; - $arena_80topn$ = strcharinfo(PC_NAME); - donpcevent "Vendigos::OnLineRec_80"; - 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 { - 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; - 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; - } - specialeffect(EF_HIT5, AREA, playerattached()); - donpcevent "cast#80::OnNomal2"; - warp "arena_room",100,75; - donpcevent "#arn_timer_80::OnStop"; - donpcevent "alloff#80::OnEnable"; - donpcevent "Lv80 Waiting Room::OnStart"; - end; - } -} - -- script #arn_timer_80 FAKE_NPC,{ -OnEnable: - initnpctimer; - end; - -OnTimer2000: - mapannounce "prt_are_in","This broadcast informs you about the restriction for arena lvl 80s.",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#80::OnTimeOver2"; - donpcevent "arn_warp_80::OnOut"; - donpcevent "#arn_timer_80::OnStop"; - donpcevent "alloff#80::OnEnable"; - donpcevent "Lv80 Waiting Room::OnStart"; - end; - -OnStop: - stopnpctimer; - end; -} - -- script arn_warp_80 FAKE_NPC,{ -OnOut: - areawarp "prt_are_in",66,195,81,178,"arena_room",100,75; - end; -} - -- script cast#80 FAKE_NPC,{ -OnTimeOver1: - mapannounce "force_4-1","Arena will be reactivated due to an error occurred during battle.",0,0xFFCE00; - end; -OnTimeOver2: - mapannounce "force_4-1","Arena will be activated due to an error occurred in the waiting room.",0,0xFFCE00; - end; -OnNomal1: - mapannounce "force_4-1","Arena will be reactivated.",0,0xFFCE00; - end; -OnNomal2: - mapannounce "force_4-1","Arena will be reactivated.",0,0xFFCE00; - end; -} - -- script alloff#80 FAKE_NPC,{ -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"; - disablenpc "Octus#arena"; - disablenpc "force_01_02#80"; - disablenpc "force_02_03#80"; - disablenpc "force_03_04#80"; - disablenpc "force_04_05#80"; - disablenpc "force_05_06#80"; - disablenpc "force_06_07#80"; - disablenpc "force_07_08#80"; - disablenpc "force_08_09#80"; - disablenpc "force_exit#80"; - disablenpc "arena#80"; - donpcevent "#arn_timer_80::OnStop"; - enablenpc "Octus#arena"; - enablenpc "arena#80"; - end; - -OnInit: - if(!$top_80min && !$top_80sec) $top_80min = 8; - end; -} diff --git a/npc/other/arena/arena_party.txt b/npc/other/arena/arena_party.txt deleted file mode 100644 index 0f1ce3670..000000000 --- a/npc/other/arena/arena_party.txt +++ /dev/null @@ -1,1266 +0,0 @@ -//================= Hercules Script ======================================= -//= _ _ _ -//= | | | | | | -//= | |_| | ___ _ __ ___ _ _| | ___ ___ -//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| -//= | | | | __/ | | (__| |_| | | __/\__ \ -//= \_| |_/\___|_| \___|\__,_|_|\___||___/ -//================= License =============================================== -//= This file is part of Hercules. -//= http://herc.ws - http://github.com/HerculesWS/Hercules -//= -//= Copyright (C) 2012-2020 Hercules Dev Team -//= Copyright (C) Euphy -//= Copyright (C) L0ne_W0lf -//= Copyright (C) Inkfish -//= Copyright (C) Samuray22 -//= Copyright (C) SinSloth -//= -//= Hercules is free software: you can redistribute it and/or modify -//= it under the terms of the GNU General Public License as published by -//= the Free Software Foundation, either version 3 of the License, or -//= (at your option) any later version. -//= -//= This program is distributed in the hope that it will be useful, -//= but WITHOUT ANY WARRANTY; without even the implied warranty of -//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -//= GNU General Public License for more details. -//= -//= You should have received a copy of the GNU General Public License -//= along with this program. If not, see <http://www.gnu.org/licenses/>. -//========================================================================= -//= Izlude Party Arena -//================= Description =========================================== -//= Izlude Party Battle Arena -//================= Current Version ======================================= -//= 1.5 -//========================================================================= - -arena_room,162,88,3 script Ponox 4_F_TELEPORTER,{ - end; - -OnInit: - waitingroom "Party Mode - 5 Member Parties",11,"Ponox::OnStartArena",5,0,10; - enablewaitingroomevent; - end; - -OnStartArena: - donpcevent "toarena#party::OnInit"; - donpcevent "toout#party::OnInit"; - warpwaitingpc "prt_are_in",73,78; - donpcevent "toout#party::OnTimer"; - donpcevent "Helper#party::OnEnter"; - disablewaitingroomevent; - end; - -OnStart: - enablewaitingroomevent; - end; -} - -prt_are_in,76,87,3 script Helper#party 1_F_02,4,4,{ - if($arn_partywait == 0) { - $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: - $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; - } - } - end; - -OnEnter: - enablenpc "Helper#party"; - end; - -OnStop: - disablenpc "Helper#party"; - end; - -OnInit: - $arn_partywait = 0; - end; -} - -prt_are_in,73,78,0 script toarena#party FAKE_NPC,20,20,{ -OnInit: - disablenpc "toarena#party"; - end; - -OnTouch: - if(Zeny < 1000) - warp "arena_room",100,75; - else { - Zeny -= 1000; - $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 FAKE_NPC,20,20,{ -OnInit: - disablenpc "toout#party"; - end; - -OnTimer: - initnpctimer; - end; - -OnTimer60000: - $arn_partywait = 0; - enablenpc "toout#party"; - end; - -OnTimer70000: - donpcevent "toout#party::OnStop"; - donpcevent "Ponox::OnStart"; - disablenpc "toout#party"; - -OnTouch: - $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 FAKE_NPC,1,1,{ -OnTouch: - $arn_partywait = 0; - warp "arena_room",100,75; - end; -} - -force_1-2,99,31,4 script Slipslowrun#party 4_F_TELEPORTER,{ - end; - -OnStart: - initnpctimer; - $arena_minptst = gettime(GETTIME_MINUTE); - $arena_secptst = gettime(GETTIME_SECOND); - 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; - //Official "arena_compass" script is extremely buggy, so we aren't using it. - //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") == 0) - donpcevent "Slipslowrun#party::OnFail"; - mapannounce "force_1-2","Remaining Time : 9 minutes ",bc_all; - end; - -OnTimer120000: - if (getmapusers("force_1-2") == 0) - donpcevent "Slipslowrun#party::OnFail"; - mapannounce "force_1-2","Remaining Time : 8 minutes ",bc_all; - end; - -OnTimer180000: - if (getmapusers("force_1-2") == 0) - donpcevent "Slipslowrun#party::OnFail"; - mapannounce "force_1-2","Remaining Time : 7 minutes ",bc_all; - end; - -OnTimer240000: - if (getmapusers("force_1-2") == 0) - donpcevent "Slipslowrun#party::OnFail"; - mapannounce "force_1-2","Remaining Time : 6 minutes ",bc_all; - end; - -OnTimer300000: - if (getmapusers("force_1-2") == 0) - donpcevent "Slipslowrun#party::OnFail"; - mapannounce "force_1-2","Remaining Time : 5 minutes ",bc_all; - end; - -OnTimer360000: - if (getmapusers("force_1-2") == 0) - donpcevent "Slipslowrun#party::OnFail"; - mapannounce "force_1-2","Remaining Time : 4 minutes ",bc_all; - end; - -OnTimer420000: - if (getmapusers("force_1-2") == 0) - donpcevent "Slipslowrun#party::OnFail"; - mapannounce "force_1-2","Remaining Time : 3 minutes ",bc_all; - end; - -OnTimer480000: - if (getmapusers("force_1-2") == 0) - donpcevent "Slipslowrun#party::OnFail"; - mapannounce "force_1-2","Remaining Time : 2 minutes ",bc_all; - end; - -OnTimer540000: - if (getmapusers("force_1-2") == 0) - 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::OnTimerOff"; - mapwarp "force_1-2","prt_are_in",177,138; - donpcevent "arena_p::OnReset"; - donpcevent "alloff#party::OnInit"; - donpcevent "Ponox::OnStart"; - end; - -OnTimerOff: - 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; -} - -- script arena_p FAKE_NPC,{ -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"; - $arn_partyc = 0; - $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,95,187,0 script force_09_exit WARPNPC,1,1,{ -OnTouch: - $arena_minptend = gettime(GETTIME_MINUTE); - $arena_secptend = gettime(GETTIME_SECOND); - warp "prt_are_in",73,139; - donpcevent "#arn_timer_pt::OnEnter"; - donpcevent "arena_p::OnReset"; - donpcevent "Slipslowrun#party::OnTimerOff"; - end; -} - -force_1-2,36,26,0 script force_01start#party FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_01mob#party::OnEnable"; - disablenpc "force_01start#party"; - end; -} - -- script force_01mob#party FAKE_NPC,{ -OnEnable: - monster "force_1-2",15,35,"Penomena",1441,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",35,35,"Penomena",1441,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",15,15,"Penomena",1441,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",35,15,"Penomena",1441,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",15,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",17,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",19,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",21,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",15,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",17,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",19,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",21,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",15,30,"Alarm",1476,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",17,22,"Alarm",1476,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",19,32,"Alarm",1476,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",21,22,"Alarm",1476,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",26,33,"Clock Tower Keeper",1527,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",26,33,"Clock Tower Keeper",1527,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",26,14,"Ancient Worm",1567,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",30,27,"Ancient Worm",1567,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",29,25,"Ancient Worm",1567,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",26,14,"Ancient Worm",1567,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",33,26,"Incubus",1580,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",29,28,"Incubus",1580,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",33,20,"Incubus",1580,1,"force_01mob#party::OnMyMobDead"; - monster "force_1-2",33,30,"Incubus",1580,1,"force_01mob#party::OnMyMobDead"; - end; - -OnReset: - killmonster "force_1-2","force_01mob#party::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_1-2","force_01mob#party::OnMyMobDead") < 1) { - enablenpc "force_01_00"; - donpcevent "Slipslowrun#party::On01_End"; - ++$arn_partyc; - 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 FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_02mob#party::OnEnable"; - disablenpc "force_02start#party"; - end; -} - -- script force_02mob#party FAKE_NPC,{ -OnEnable: - monster "force_1-2",163,36,"Penomena",1441,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",184,36,"Penomena",1441,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",184,16,"Penomena",1441,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",163,16,"Penomena",1441,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",171,37,"Joker",1437,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",177,37,"Joker",1437,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",184,29,"Joker",1437,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",184,22,"Joker",1437,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",177,16,"Joker",1437,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",170,16,"Joker",1437,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",169,28,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",171,28,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",173,28,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",175,28,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",177,28,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",177,23,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",175,23,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",173,23,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",171,23,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",169,23,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",187,30,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",187,30,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",187,30,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",187,22,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",187,22,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",187,22,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",173,40,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",173,40,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",181,25,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; - monster "force_1-2",181,25,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; - end; - -OnReset: - killmonster "force_1-2","force_02mob#party::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_1-2","force_02mob#party::OnMyMobDead") < 1) { - enablenpc "force_02_00"; - donpcevent "Slipslowrun#party::On02_End"; - ++$arn_partyc; - 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 FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_03mob#party::OnEnable"; - disablenpc "force_03start#party"; - end; -} - -- script force_03mob#party FAKE_NPC,{ -OnEnable: - monster "force_1-2",89,81,"Merman",1451,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",90,81,"Merman",1451,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",91,81,"Merman",1451,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",92,81,"Merman",1451,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",93,81,"Merman",1451,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",96,85,"Wind Ghost",1450,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",98,85,"Wind Ghost",1450,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",100,85,"Wind Ghost",1450,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",102,85,"Wind Ghost",1450,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",104,85,"Wind Ghost",1450,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",88,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",90,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",92,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",94,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",96,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",98,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",100,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",102,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",104,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",106,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",108,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",110,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",91,86,"Wanderer",1490,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",108,86,"Wanderer",1490,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",91,69,"Wanderer",1490,1,"force_03mob#party::OnMyMobDead"; - monster "force_1-2",108,69,"Wanderer",1490,1,"force_03mob#party::OnMyMobDead"; - end; - -OnReset: - killmonster "force_1-2","force_03mob#party::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_1-2","force_03mob#party::OnMyMobDead") < 1) { - enablenpc "force_03_00"; - donpcevent "Slipslowrun#party::On03_End"; - ++$arn_partyc; - 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 FAKE_NPC,3,3,{ -OnTouch: - donpcevent "force_04mob#party::OnEnable"; - disablenpc "force_04start#party"; - end; -} - -- script force_04mob#party FAKE_NPC,{ -OnEnable: - monster "force_1-2",174,78,"Penomena",1441,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",184,78,"Penomena",1441,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",184,68,"Penomena",1441,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",174,68,"Penomena",1441,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",169,87,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",170,87,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",171,87,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",172,87,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",169,77,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",170,77,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",171,77,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",172,77,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",183,83,"Wraith Dead",1566,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",183,80,"Wraith Dead",1566,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",183,73,"Wraith Dead",1566,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",183,70,"Wraith Dead",1566,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",179,77,"Wraith Dead",1566,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",169,72,"Assaulter",1364,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",171,72,"Assaulter",1364,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",173,72,"Assaulter",1364,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",175,72,"Assaulter",1364,1,"force_04mob#party::OnMyMobDead"; - monster "force_1-2",177,72,"Assaulter",1364,1,"force_04mob#party::OnMyMobDead"; - end; - -OnReset: - killmonster "force_1-2","force_04mob#party::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_1-2","force_04mob#party::OnMyMobDead") < 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 FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_05mob#party::OnEnable"; - disablenpc "force_05start#party"; - end; -} - -- script force_05mob#party FAKE_NPC,{ -OnEnable: - monster "force_1-2",25,68,"Penomena",1441,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",36,68,"Penomena",1441,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",16,88,"Penomena",1441,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",15,78,"Penomena",1441,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",33,88,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",29,87,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",25,81,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",25,78,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",25,72,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",29,70,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",21,70,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",19,76,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",19,83,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",23,89,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",22,85,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",23,85,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",24,85,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",23,86,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",22,86,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",22,71,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",22,72,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",23,71,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",23,72,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; - monster "force_1-2",24,71,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; - end; - -OnReset: - killmonster "force_1-2","force_05mob#party::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_1-2","force_05mob#party::OnMyMobDead") < 1) { - donpcevent "arena_p::On06_Start"; - donpcevent "Slipslowrun#party::On05_End2"; - } - end; -} - -force_1-2,26,118,0 script force_06start#party FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_06mob#party::OnEnable"; - disablenpc "force_06start#party"; - end; -} - -- script force_06mob#party FAKE_NPC,{ -OnEnable: - monster "force_1-2",19,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",24,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",28,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",32,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",24,127,"Shinobi",1560,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",27,127,"Shinobi",1560,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",24,128,"Shinobi",1560,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",27,128,"Shinobi",1560,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",24,129,"Shinobi",1560,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",27,129,"Shinobi",1560,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",16,140,"Tengu",1563,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",16,136,"Tengu",1563,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",16,132,"Tengu",1563,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",16,128,"Tengu",1563,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",16,124,"Tengu",1563,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",16,120,"Tengu",1563,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",16,140,"Wicked Nymph",1564,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",16,136,"Wicked Nymph",1564,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",16,132,"Wicked Nymph",1564,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",16,128,"Wicked Nymph",1564,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",16,124,"Wicked Nymph",1564,1,"force_06mob#party::OnMyMobDead"; - monster "force_1-2",16,120,"Wicked Nymph",1564,1,"force_06mob#party::OnMyMobDead"; - end; - -OnReset: - killmonster "force_1-2","force_06mob#party::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_1-2","force_06mob#party::OnMyMobDead") < 1) { - donpcevent "arena_p::On07_Start"; - donpcevent "Slipslowrun#party::On06_End"; - ++$arn_partyc; - } - end; -} - -force_1-2,92,124,0 script force_07start#party FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_07mob#party::OnEnable"; - disablenpc "force_07start#party"; - end; -} - -- script force_07mob#party FAKE_NPC,{ -OnEnable: - monster "force_1-2",104,134,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead"; - monster "force_1-2",104,136,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead"; - monster "force_1-2",104,137,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead"; - monster "force_1-2",104,139,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead"; - monster "force_1-2",111,134,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead"; - monster "force_1-2",111,136,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead"; - monster "force_1-2",111,137,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead"; - monster "force_1-2",111,139,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead"; - monster "force_1-2",98,122,"Khalitzburg",1438,1,"force_07mob#party::OnMyMobDead"; - monster "force_1-2",90,119,"Khalitzburg",1438,1,"force_07mob#party::OnMyMobDead"; - monster "force_1-2",98,122,"Executioner",1487,1,"force_07mob#party::OnMyMobDead"; - monster "force_1-2",108,140,"Chimera",1456,1,"force_07mob#party::OnMyMobDead"; - end; - -OnReset: - killmonster "force_1-2","force_07mob#party::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_1-2","force_07mob#party::OnMyMobDead") < 1) { - donpcevent "arena_p::On08_Start"; - donpcevent "Slipslowrun#party::On07_End"; - ++$arn_partyc; - } - end; -} - -force_1-2,173,118,0 script force_08start#party FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_08mob#party::OnEnable"; - disablenpc "force_08start#party"; - end; -} - -- script force_08mob#party FAKE_NPC,{ -OnEnable: - monster "force_1-2",172,154,"Khalitzburg",1438,1,"force_08mob#party::OnMyMobDead"; - monster "force_1-2",174,145,"Ghostring",1576,1,"force_08mob#party::OnMyMobDead"; - monster "force_1-2",174,145,"Chimera",1456,1,"force_08mob#party::OnMyMobDead"; - for(.@i = 0; .@i<5; ++.@i) { - monster "force_1-2",rand(162,184),rand(122,185),"Injustice",1446,1,"force_08mob#party::OnMyMobDead"; - } - monster "force_1-2",rand(162,184),rand(122,185),"Raydric Archer",1453,1,"force_08mob#party::OnMyMobDead"; - for(.@i = 0; .@i<5; ++.@i) { - monster "force_1-2",rand(162,184),rand(122,185),"Nightmare Terror",1554,1,"force_08mob#party::OnMyMobDead"; - } - for(.@i = 0; .@i<6; ++.@i) { - monster "force_1-2",rand(162,184),rand(122,185),"Ancient Mummy",1522,1,"force_08mob#party::OnMyMobDead"; - } - for(.@i = 0; .@i<10; ++.@i) { - monster "force_1-2",rand(162,184),rand(122,185),"Skel Prisoner",1479,1,"force_08mob#party::OnMyMobDead"; - } - for(.@i = 0; .@i<5; ++.@i) { - monster "force_1-2",rand(162,184),rand(122,185),"Hunter Fly",1422,1,"force_08mob#party::OnMyMobDead"; - } - end; - -OnReset: - killmonster "force_1-2","force_08mob#party::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_1-2","force_08mob#party::OnMyMobDead") < 1) { - donpcevent "arena_p::On09_Start"; - donpcevent "Slipslowrun#party::On08_End"; - ++$arn_partyc; - } - end; -} - -force_1-2,133,178,0 script force_09start#party FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_09mob#party::OnEnable"; - disablenpc "force_09start#party"; - end; -} - -- script force_09mob#party FAKE_NPC,{ -OnEnable: - monster "force_1-2",86,180,"Elder",1573,1,"force_09mob#party::OnMyMobDead"; - monster "force_1-2",86,176,"Elder",1573,1,"force_09mob#party::OnMyMobDead"; - monster "force_1-2",95,183,"Elder",1573,1,"force_09mob#party::OnMyMobDead"; - monster "force_1-2",94,175,"Elder",1573,1,"force_09mob#party::OnMyMobDead"; - monster "force_1-2",76,178,"Elder",1573,1,"force_09mob#party::OnMyMobDead"; - monster "force_1-2",84,179,"Explosion",1532,1,"force_09mob#party::OnMyMobDead"; - monster "force_1-2",74,181,"Explosion",1532,1,"force_09mob#party::OnMyMobDead"; - monster "force_1-2",73,176,"Explosion",1532,1,"force_09mob#party::OnMyMobDead"; - monster "force_1-2",62,178,"Explosion",1532,1,"force_09mob#party::OnMyMobDead"; - monster "force_1-2",68,177,"Explosion",1532,1,"force_09mob#party::OnMyMobDead"; - monster "force_1-2",122,177,"Lava Golem",1549,1,"force_09mob#party::OnMyMobDead"; - monster "force_1-2",112,179,"Lava Golem",1549,1,"force_09mob#party::OnMyMobDead"; - monster "force_1-2",122,178,"Anolian",1488,1,"force_09mob#party::OnMyMobDead"; - monster "force_1-2",121,177,"Anolian",1488,1,"force_09mob#party::OnMyMobDead"; - monster "force_1-2",122,177,"Anolian",1488,1,"force_09mob#party::OnMyMobDead"; - $force_09_pt = 15; - end; - -OnReset: - killmonster "force_1-2","force_09mob#party::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_1-2","force_09mob#party::OnMyMobDead") < 1) { - donpcevent "arena_p::On10_Start"; - donpcevent "Slipslowrun#party::On09_End"; - ++$arn_partyc; - } - end; -} - -force_1-2,29,178,0 script force_10start#party FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_10mob-1#party::OnEnable"; - disablenpc "force_10start#party"; - end; -} - -- script force_10mob-1#party FAKE_NPC,{ -OnEnable: - switch(rand(1,2)) { - case 1: - monster "force_1-2",16,179,"Evil Snake Lord",1529,1,"force_10mob-1#party::OnMyMobDead"; - break; - case 2: - monster "force_1-2",24,179,"Dracula",1530,1,"force_10mob-1#party::OnMyMobDead"; - break; - } - end; - -OnReset: - killmonster "force_1-2","force_10mob-1#party::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_1-2","force_10mob-1#party::OnMyMobDead") < 1) - donpcevent "force_10mob-2#party::OnEnable"; - end; -} - -- script force_10mob-2#party FAKE_NPC,{ -OnEnable: - monster "force_1-2",16,179,"Samurai Spector",1542,1,"force_10mob-2#party::OnMyMobDead"; - monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMyMobDead"; - monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMyMobDead"; - monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMyMobDead"; - monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMyMobDead"; - monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMyMobDead"; - end; - -OnReset: - killmonster "force_1-2","force_10mob-2#party::OnMyMobDead"; - end; - -OnMyMobDead: - if (mobcount("force_1-2","force_10mob-2#party::OnMyMobDead") < 1) { - donpcevent "arena_p::OnExit"; - donpcevent "Slipslowrun#party::On10_End"; - $arn_partyc = 0; - } - end; -} - -force_1-2,59,178,0 script force_exit#party FAKE_NPC,1,1,{ -OnTouch: - donpcevent "force_exitmob#party::OnEnable"; - disablenpc "force_exit#party"; - end; -} - -- script force_exitmob#party FAKE_NPC,{ -OnEnable: - monster "force_1-2",95,177,"Farewell",1393,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"I hate you",1543,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"I like chocolate",1472,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"You like it, huh?",1472,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Sorry",1420,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Tristram II",1562,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"I am hungry",1468,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Bye",1419,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Take care",1394,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Sexy Body",1578,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Pressure",1471,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Take it easy",1491,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Are you gonna hurt me?",1555,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Merchant",1428,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Ms. Kim",1472,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Martial Art",1472,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Part-timer",1420,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Boss",1562,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Old Yellow Box",1474,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Bat",1419,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Extra",1394,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Milk Merchant",1578,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Darling",1471,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Oh noes!",1491,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"I am not a Wraith",1566,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Mom Wraith",1566,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Dad Wraith",1566,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Book[3]",1478,1,"force_exitmob#party::OnMyMobDead"; - monster "force_1-2",95,177,"Exchange Diary",1478,1,"force_exitmob#party::OnMyMobDead"; - end; - -OnReset: - killmonster "force_1-2","force_exitmob#party::OnMyMobDead"; - end; - -OnMyMobDead: - end; -} - -prt_are_in,181,135,3 script Staff#party-1 1_F_02,{ - 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 { - ++arena_point; - } - mes "[Staff]"; - mes "Let me guide you outside. I hope you had a good time."; - close2; - specialeffect(EF_HIT5, AREA, playerattached()); - warp "arena_room",100,75; - end; -} - -prt_are_in,77,135,3 script Staff#party-2 1_F_02,{ - if($arena_minptend < $arena_minptst) { - if($arena_secptend < $arena_secptst) { - @record_minpt = 60 - $arena_minptst + $arena_minptend -1; - @record_secpt = 60 - $arena_secptst + $arena_secptend; - } else { - @record_minpt = 60 - $arena_minptst + $arena_minptend; - @record_secpt = $arena_secptend - $arena_secptst; - } - } else { - if($arena_secptend < $arena_secptst) { - @record_minpt = $arena_minptend - $arena_minptst -1; - @record_secpt = 60 - $arena_secptst + $arena_secptend; - } else { - @record_minpt = $arena_minptend - $arena_minptst; - @record_secpt = $arena_secptend - $arena_secptst; - } - } - @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(PC_NAME) +"^000000, isn't it?"; - mes "^3131FF"+ strcharinfo(PC_NAME) +"^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; - .arn_party = getcharid(CHAR_ID_PARTY); - 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 { - 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(CHAR_ID_CHAR)) { - donpcevent "#arn_timer_pt::OnStop"; - donpcevent "alloff#pt::OnEnable"; - donpcevent "Ponox::OnStart"; - } - specialeffect(EH_HIT5, AREA, playerattached()); - 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(CHAR_ID_CHAR)) { - 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: - $top_ptmin = @record_minpt; - $top_ptsec = @record_secpt; - $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; - 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(CHAR_ID_CHAR)) { - donpcevent "#arn_timer_pt::OnStop"; - donpcevent "alloff#pt::OnEnable"; - donpcevent "Ponox::OnStart"; - } - specialeffect(EF_HIT5, AREA, playerattached()); - warp "arena_room",100,75; - end; - } -} - -- script #arn_timer_pt FAKE_NPC,{ -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::OnEnable"; - donpcevent "Ponox::OnStart"; - end; - -OnStop: - stopnpctimer; - end; -} - -- script arn_warp_pt FAKE_NPC,{ -OnOut: - areawarp "prt_are_in",66,143,81,126,"arena_room",100,75; - end; -} - -- script cast#pt FAKE_NPC,{ -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; -} - -- script alloff#pt FAKE_NPC,{ -OnEnable: - 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_10mob-1#party::OnReset"; - donpcevent "force_10mob-2#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"; - $arn_partywait = 0; - $arn_partyc = 0; - donpcevent "#arn_timer_pt::OnStop"; - enablenpc "Slipslowrun#party"; - enablenpc "arena_p"; - end; - -OnInit: - if(!$top_ptmin && !$top_ptsec) $top_ptmin = 10; - end; -} diff --git a/npc/other/arena/arena_point.txt b/npc/other/arena/arena_point.txt deleted file mode 100644 index 5ff3ab75f..000000000 --- a/npc/other/arena/arena_point.txt +++ /dev/null @@ -1,196 +0,0 @@ -//================= Hercules Script ======================================= -//= _ _ _ -//= | | | | | | -//= | |_| | ___ _ __ ___ _ _| | ___ ___ -//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| -//= | | | | __/ | | (__| |_| | | __/\__ \ -//= \_| |_/\___|_| \___|\__,_|_|\___||___/ -//================= License =============================================== -//= This file is part of Hercules. -//= http://herc.ws - http://github.com/HerculesWS/Hercules -//= -//= Copyright (C) 2012-2020 Hercules Dev Team -//= Copyright (C) L0ne_W0lf -//= -//= Hercules is free software: you can redistribute it and/or modify -//= it under the terms of the GNU General Public License as published by -//= the Free Software Foundation, either version 3 of the License, or -//= (at your option) any later version. -//= -//= This program is distributed in the hope that it will be useful, -//= but WITHOUT ANY WARRANTY; without even the implied warranty of -//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -//= GNU General Public License for more details. -//= -//= You should have received a copy of the GNU General Public License -//= along with this program. If not, see <http://www.gnu.org/licenses/>. -//========================================================================= -//= Point Exchanger -//================= Description =========================================== -//= Point exchanger: Turbo track points -> Arena Points -//================= Current Version ======================================= -//= 1.0 -//========================================================================= - -prt_are_in,103,11,3 script Arena Point Manager 4_M_JOB_HUNTER,{ - mes "[Arena Point Manager]"; - mes "I hope you're having a good"; - mes "time in the Arena. If you've"; - mes "earned Turbo Track Points at"; - mes "Al De Baran's Turbo Track, I can,"; - mes "convert them into Arena Points."; - next; - switch(select("Point Check", "Convert Points", "^660000Conversion Info^000000")) { - case 1: - mes "[Arena Point Manager]"; - mes "" + strcharinfo(PC_NAME) + ","; - mes "you currently have"; - mes "" + arena_point + " Arena Points"; - mes "and " + tt_point + " Turbo Track Points."; - close; - case 2: - mes "[Arena Point Manager]"; - mes "" + strcharinfo(PC_NAME) + ","; - mes "you currently have"; - mes "" + arena_point + " Arena Points"; - mes "and " + tt_point + " Turbo Track Points."; - next; - mes "[Arena Point Manager]"; - mes "Please choose from among"; - mes "the Track Point to Arena Point"; - mes "conversions. Keep in mind that"; - mes "when you convert more than 10"; - mes "Track Points at one time, you can only convert in ^4D4DFFmultiples of 10^000000."; - next; - switch(select("2 TP -> 1 AP", "4 TP -> 2 AP", "6 TP -> 3 AP", "8 TP -> 4 AP", "10 TP and more", "Cancel")) { - case 1: - callsub S_ExchangePoints,28999,2,1; - case 2: - callsub S_ExchangePoints,28998,4,2; - case 3: - callsub S_ExchangePoints,28997,6,2; - case 4: - callsub S_ExchangePoints,28996,8,4; - case 5: - mes "[Arena Point Manager]"; - mes "Please enter the number"; - mes "of times you wish to convert"; - mes "10 Turbo Track Points into"; - mes "Arena Points. The largest"; - mes "value you may enter is 20."; - mes "To cancel, enter ''^3355FF0^000000.''"; - next; - input(.@input); - if (.@input <= 0) { - mes "[Arena Point Manager]"; - mes "You have"; - mes "canceled"; - mes "this service."; - close; - } - if (.@input > 20) { - mes "[Arena Point Manager]"; - mes "Your request exceeds"; - mes "the maximum limit. Please"; - mes "enter a value no greater than 20."; - close; - } - .@want_point1 = 10 * .@input; - .@want_point = 5 * .@input; - .@my_arena_all = arena_point + .@want_point; - .@my_turbo_all = tt_point - .@want_point1; - if (.@my_arena_all > 28999) { - mes "[Arena Point Manager]"; - mes "You will exceed the"; - mes "maximum amount of"; - mes "Arena Points if we proceed"; - mes "with this conversion of your"; - mes "Turbo Track Points. You cannot"; - mes "have more than 29,000 Arena Points."; - next; - mes "[Arena Point Manager]"; - mes "Please spend some of"; - mes "your Arena Points before"; - mes "using this service again."; - mes "Thank you for your patronage."; - close; - } - if (.@my_turbo_all < 0) { - mes "[Arena Point Manager]"; - mes "I'm sorry, but"; - mes "you don't have enough"; - mes "Turbo Track Points to"; - mes "perform this Arena"; - mes "Point conversion."; - close; - } - mes "[Arena Point Manager]"; - mes "You have converted"; - mes "10 Turbo Track Points"; - mes "into 5 Arena Points " + .@input + " times."; - mes "A total of " + .@want_point1 + " Turbo Track Points were converted into"; - mes "" + .@want_point +" Arena Points."; - tt_point -= .@want_point1; - arena_point += .@want_point; - next; - mes "[Arena Point Manager]"; - mes "" + strcharinfo(PC_NAME) + ","; - mes "you now have"; - mes "^4682B4" + arena_point + "^000000 Arena Points"; - mes "and ^00688B" + tt_point + "^000000 Turbo Track Points."; - mes "Thank you for your patronage."; - close; - case 6: - mes "[Arena Point Manager]"; - mes "You have"; - mes "canceled"; - mes "this service."; - close; - } - case 3: - // Again. no dialog for this option. - close; - } - close; - -S_ExchangePoints: - if (arena_point > getarg(0) ) { - mes "[Arena Point Manager]"; - mes "You will exceed the"; - mes "maximum amount of"; - mes "Arena Points if we proceed"; - mes "with this conversion of your"; - mes "Turbo Track Points. You cannot"; - mes "have more than 29,000 Arena Points."; - next; - mes "[Arena Point Manager]"; - mes "Please spend some of"; - mes "your Arena Points before"; - mes "using this service again."; - mes "Thank you for your patronage."; - close; - } - if (tt_point >= getarg(1)) { - mes "[Arena Point Manager]"; - mes "" + strcharinfo(PC_NAME) + ","; - mes "you've converted "+getarg(1)+" Track"; - mes "Points into "+getarg(2)+" Arena Point."; - tt_point -= getarg(1); - arena_point += getarg(2); - next; - mes "[Arena Point Manager]"; - mes "" + strcharinfo(PC_NAME) + ","; - mes "you now have"; - mes "^4682B4" + arena_point + "^000000 Arena Points"; - mes "and ^00688B" + tt_point + "^000000 Turbo Track Points."; - mes "Thank you for your patronage."; - close; - } - else { - mes "[Arena Point Manager]"; - mes "I'm sorry, but you don't have"; - mes "enough Turbo Track Points."; - mes "You need at least 2 Turbo Track Points for this conversion service."; - close; - } -} diff --git a/npc/other/arena/arena_room.txt b/npc/other/arena/arena_room.txt deleted file mode 100644 index 93f55245a..000000000 --- a/npc/other/arena/arena_room.txt +++ /dev/null @@ -1,1036 +0,0 @@ -//================= Hercules Script ======================================= -//= _ _ _ -//= | | | | | | -//= | |_| | ___ _ __ ___ _ _| | ___ ___ -//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| -//= | | | | __/ | | (__| |_| | | __/\__ \ -//= \_| |_/\___|_| \___|\__,_|_|\___||___/ -//================= License =============================================== -//= This file is part of Hercules. -//= http://herc.ws - http://github.com/HerculesWS/Hercules -//= -//= Copyright (C) 2012-2020 Hercules Dev Team -//= Copyright (C) Euphy -//= Copyright (C) L0ne_W0lf -//= Copyright (C) SinSloth -//= -//= Hercules is free software: you can redistribute it and/or modify -//= it under the terms of the GNU General Public License as published by -//= the Free Software Foundation, either version 3 of the License, or -//= (at your option) any later version. -//= -//= This program is distributed in the hope that it will be useful, -//= but WITHOUT ANY WARRANTY; without even the implied warranty of -//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -//= GNU General Public License for more details. -//= -//= You should have received a copy of the GNU General Public License -//= along with this program. If not, see <http://www.gnu.org/licenses/>. -//========================================================================= -//= Izlude Arena Room -//================= Description =========================================== -//= Izlude Battle Arena Main Room -//================= Current Version ======================================= -//= 1.4 -//========================================================================= - -arena_room,94,93,5 script Vendigos 4W_M_01,{ - mes "[Vendigos]"; - mes "Welcome to the world of Arena, the battle against a time limit."; - mes "My name is Vendigos, I am here to help you."; - next; - mes "[Vendigos]"; - mes "If you have any questions, feel free to ask me."; - next; - while(1) { - switch(select("How to challenge", "About Arena Points", "My Current Arena Points", "Cancel")) { - case 1: - mes "[Vendigos]"; - mes "There are two different kinds of arena mode such as ^3131FFPlayer Mode^000000 and ^3131FFParty Mode^000000."; - next; - mes "[Vendigos]"; - mes "^3131FFPlayer Mode^000000 consists of 4 different stages based on character level from 50~80."; - mes "For a party with 5 members, they can participate in ^3131FFParty Mode^000000."; - next; - mes "[Vendigos]"; - mes "For ^3131FFeach Player Mode Stage^000000, characters who are 20 levels higher than the level requirement on each stage cannot enter. This is to prevent high level characters preoccupying a low level stage."; - next; - mes "[Vendigos]"; - mes "There are the NPCs for Player Mode Stages from 12 o'clock direction to the reversed clock direction."; - mes "While you're waiting in a chat room, you will be automatically guided to an arena room by the waiting order."; - break; - case 2: - mes "[Vendigos]"; - mes "Let me explain about the ^3131FFArena Point^000000."; - mes "It is a reward point for players who ^3131FFsuccessfully cleared a arena stage^000000, a player can possess the maximum 30,000 points."; - next; - mes "[Vendigos]"; - mes "Even if you did not clear a stage due to time-over or other errors, you will be given a very small amount of arena points."; - next; - mes "[Vendigos]"; - mes "Regarding the use of Arena Points,"; - mes "we are providing various services such as souvenir photograph services through an NPC named Givu."; - break; - case 3: - mes "[Vendigos]"; - mes "Let me check "+strcharinfo(PC_NAME)+"'s current arena points."; - next; - mes "[Vendigos]"; - mes ""+strcharinfo(PC_NAME)+" has total ^3131FF"+arena_point+"^000000 points."; - next; - mes "[Vendigos]"; - mes "If you wish to know how to use arena points, please refer to the 2nd menu ^3131FF'About Arena Points'^000000."; - break; - case 4: - mes "[Vendigos]"; - mes "Okay then,"; - mes "please have"; - mes "a good time."; - close; - } - next; - mes "[Vendigos]"; - mes "Is there anything"; - mes "more I can help you with?"; - next; - } - close; - -OnLineRec_50: - mapannounce "arena_room",""+$arena_50topn$+" has renewed the top record in the Arena Time Force Battle level 50. Congratulations!",0; - end; - -OnLineRec_60: - mapannounce "arena_room",""+$arena_60topn$+" has renewed the top record in the Arena Time Force Battle level 60. Congratulations!",0; - end; - -OnLineRec_70: - mapannounce "arena_room",""+$arena_70topn$+" has renewed the top record in the Arena Time Force Battle level 70. Congratulations!",0; - end; -OnLineRec_80: - mapannounce "arena_room",""+$arena_80topn$+" has renewed the top record in the Arena Time Force Battle level 80. Congratulations!",0; - end; - -OnLineRec_pt: - mapannounce "arena_room","Party "+$arena_pttopn$+" has renewed the top record in the Arena Time Force Battle. Congratulations!",0; - end; - -//OnLineRec_vs: -// mapannounce "arena_room","Party "+$040611_arn_vstopn$+" has renewed the top record in the Arena Time Force Battle. Congratulations!",0; -// end; -} - -arena_room,105,82,5 script Arena Record Staff 1_M_LIBRARYMASTER,{ - mes "[Owen Kheuv]"; - mes "Hello, my name is Own Kheuv"; - mes "in charge of every arena stage record of players."; - next; - mes "[Owen Kheuv]"; - mes "Would you like to check the top record players in each stage?"; - mes "If so, please choose a menu below."; - next; - switch(select("Lv 50 Stage", "Lv 60 Stage", "Lv 70 Stage", "Lv 80 Stage", "Party Stage")) { - case 1: - mes "[Owen Kheuv]"; - mes "Currently the top player of the arena Lv 50 stage is ^3131FF "+$arena_50topn$+"^000000, the top record is ^3131FF"+$top_50min+"^000000 minutes ^3131FF"+$top_50sec+"^000000 seconds."; - close; - case 2: - mes "[Owen Kheuv]"; - mes "Currenly the top player of the arena Lv 60 stage is ^3131FF"+$arena_60topn$+"^000000, the top record is ^3131FF"+$top_60min+"^000000 minutes ^3131FF"+$top_60sec+"^000000 seconds."; - close; - case 3: - mes "[Owen Kheuv]"; - mes "Currenly the top player of the arena Lv 70 stage is ^3131FF"+$arena_70topn$+"^000000, the top record is ^3131FF"+$top_70min+"^000000 minutes ^3131FF"+$top_70sec+"^000000 seconds."; - close; - case 4: - mes "[Owen Kheuv]"; - mes "Currenly the top player of the arena Lv 80 stage is ^3131FF"+$arena_80topn$+"^000000, the top record is ^3131FF"+$top_80min+"^000000 minutes ^3131FF"+$top_80sec+"^000000 seconds."; - close; - case 5: - mes "[Owen Kheuv]"; - mes "Currenly the top party is ^3131FF"+$arena_pttopn$+"^000000, the top record is ^3131FF"+$top_ptmin+"^000000 minutes ^3131FF"+$top_ptsec+"^000000 seconds."; - close; - } -} - -arena_room,68,135,3 script Helper Pat 4_F_JOB_BLACKSMITH,{ - mes "[Pat]"; - mes "Welcome, welcome."; - mes "I am a helper of the Lv 50 arena stage."; - next; - mes "[Pat]"; - mes "This ^3131FFLv 50 arena stage^000000"; - mes "is accessable to characters from ^FF0000level 50^000000 to ^FF0000level 69^000000."; - next; - mes "[Pat]"; - mes "This level limitation is to prevent high level characters abusing low level arena stages. I hope you will understand."; - mes "Also we accept an entrance fee, 1,000 zeny."; - next; - mes "[Pat]"; - mes "Let me introduce you about the play rules of arena."; - next; - mes "[Pat]"; - mes "^3131FFWait in a chat room for your turn coming.^000000"; - mes "When it's your turn, you will be automatically warped to an arena map."; - next; - mes "[Pat]"; - mes "As immediately as you enter, a timer to check your play time will be activated."; - mes "Please follow what ^3131FFHeel and Toe^000000 guides you. "; - next; - mes "[Pat]"; - mes "You have a ^3131FF5 minutes^000000 battle time."; - next; - mes "[Pat]"; - mes "After you clear every room including a boss room, you will be warped again to an ^3131FFending waiting room^000000."; - mes "You can only allow to stay in the waiting room for ^3131FF1 minute^000000, please hurry up to receive the arena points and leave."; - next; - mes "[Pat]"; - mes "If you stay over 1 minute inside the ending waiting room, you will be forced outside and will not receive any arena points. Please remember that."; - next; - mes "[Pat]"; - mes "I hope you will have a good time."; - close; -} - -arena_room,41,93,5 script Helper Ben 4_M_ALCHE_C,{ - mes "[Ben]"; - mes "Welcome, welcome."; - mes "I am a helper of the Lv 60 arena stage."; - next; - mes "[Ben]"; - mes "This ^3131FFLv 60 arena stage^000000"; - mes "is accessable to characters from ^FF0000level 60^000000 to ^FF0000level 79^000000."; - next; - mes "[Ben]"; - mes "This level limitation is to prevent high level characters abusing low level arena stages. I hope you will understand."; - mes "Also we accept an entrance fee, 1,000 zeny."; - next; - mes "[Ben]"; - mes "Let me introduce you about the play rules of arena."; - next; - mes "[Ben]"; - mes "^3131FFWait in a chat room for your turn coming.^000000"; - mes "When it's your turn, you will be automatically warped to an arena map."; - next; - mes "[Ben]"; - mes "As immediately as you enter, a timer to check your play time will be activated."; - mes "Please follow what ^3131FFMinilover^000000 guides you. "; - next; - mes "[Ben]"; - mes "You have a ^3131FF6 minutes^000000 battle time."; - next; - mes "[Ben]"; - mes "After you clear every room including a boss room, you will be warped again to an ^3131FFending waiting room^000000."; - mes "You can only allow to stay in the waiting room for ^3131FF1 minute^000000, please hurry up to receive the arena points and leave."; - next; - mes "[Ben]"; - mes "If you stay over 1 minute inside the ending waiting room, you will be forced outside and will not receive any arena points. Please remember that."; - next; - mes "[Ben]"; - mes "I hope you will have a good time."; - close; -} - -arena_room,53,49,5 script Helper Vicious 4_M_JOB_ASSASSIN,{ - mes "[Vicious]"; - mes "Hey there."; - mes "My name is Vicious, I am a helper of Lv 70 arena stage."; - mes "(...I have no clue how the hell I put myself into this crappy work...mumble mumble...grumble grumble..)"; - next; - mes "[Vicious]"; - mes "This ^3131FFLv 70 arena stage^000000"; - mes "is accessable to characters from ^FF0000level 70^000000 to ^FF0000level 89^000000."; - next; - mes "[Vicious]"; - mes "This level limitation is to prevent high level characters abusing low level arena stages. I hope you will understand."; - mes "Also we accept an entrance fee, 1,000 zeny."; - next; - mes "[Vicious]"; - mes "Let me introduce you about the play rules of arena."; - next; - mes "[Vicious]"; - mes "^3131FFWait in a chat room for your turn coming.^000000"; - mes "When it's your turn, you will be automatically warped to an arena map."; - next; - mes "[Vicious]"; - mes "As immediately as you enter, a timer to check your play time will be activated."; - mes "Please follow what ^3131FFCadilac^000000 guides you. "; - next; - mes "[Vicious]"; - mes "You have a ^3131FF7 minutes^000000 battle time."; - next; - mes "[Vicious]"; - mes "After you clear every room including a boss room, you will be warped again to an ^3131FFending waiting room^000000."; - mes "You can only allow to stay in the waiting room for ^3131FF1 minute^000000, please hurry up to receive the arena points and leave."; - next; - mes "[Vicious]"; - mes "If you stay over 1 minute inside the ending waiting room, you will be forced outside and will not receive any arena points. Remember that."; - next; - mes "[Vicious]"; - mes "Okay, take care now."; - close; -} - -arena_room,147,49,3 script Helper Epin 4_F_JOB_HUNTER,{ - mes "[Epin]"; - mes "Good day,"; - mes "I am a helper of Lv 80 arena stage and my name is Epin."; - mes "I like reading and I am 19 years old...huh...? Don't you want to hear about me...?"; - next; - emotion e_cry,0; - mes "[Epin]"; - mes "Okay..."; - next; - mes "[Epin]"; - mes "This ^3131FFLv 80 arena stage^000000"; - mes "is accessable to characters from ^FF0000level 80^000000 to ^FF0000level "+(RENEWAL?"160":"99")+"^000000."; - next; - mes "[Epin]"; - mes "This level limitation is to prevent high level characters abusing low level arena stages. I hope you will understand."; - mes "Also we accept an entrance fee, 1,000 zeny."; - next; - mes "[Epin]"; - mes "Let me introduce you about the play rules of arena."; - next; - mes "[Epin]"; - mes "^3131FFWait in a chat room for your turn coming.^000000"; - mes "When it's your turn, you will be automatically warped to an arena map."; - next; - mes "[Epin]"; - mes "As immediately as you enter, a timer to check your play time will be activated."; - mes "Please follow what ^3131FFActus^000000 guides you. "; - next; - mes "[Epin]"; - mes "You have a ^3131FF8 minutes^000000 battle time."; - next; - mes "[Epin]"; - mes "After you clear every room including a boss room, you will be warped again to an ^3131FFending waiting room^000000."; - mes "You can only allow to stay in the waiting room for ^3131FF1 minute^000000, please hurry up to receive the arena points and leave."; - next; - mes "[Epin]"; - mes "If you stay over 1 minute inside the ending waiting room, you will be forced outside and will not receive any arena points. Please remember that."; - next; - mes "[Epin]"; - mes "I hope you will have a good time."; - close; -} - -arena_room,158,93,5 script Helper Lunic 4_M_ROGUE,{ - mes "[Lunic]"; - mes "Welcome to party arena stage."; - mes "I hope you will listen carefully to my introduction"; - mes "since this party arena stage is a little bit different from player mode stages."; - next; - mes "[Lunic]"; - mes "^3131FFParty Arena Stage^000000"; - mes "is accessible to players from ^FF0000level 10^000000 to ^FF0000level "+(RENEWAL?"160":"99")+"^000000."; - next; - mes "[Lunic]"; - mes "Also, arena will be not be started until all of 5 party members enter the room. We accept an entrance fee 1,000 zeny."; - next; - mes "[Lunic]"; - mes "Let me introduce you about the play rules of arena."; - next; - mes "[Lunic]"; - mes "^3131FFGroup a party with your friends and wait in a chat room^000000."; - mes "You must form a party beforehand. If you didn't do, you could still play but you would have a lot of inconvenience."; - next; - mes "[Lunic]"; - mes "Also please remember 5 players automatically warped to the arena room will be in order of ^FF0000entering a chat room^000000 not in order of ^FF0000party^000000. Please remember that."; - next; - mes "[Lunic]"; - mes "And please form a party with ^3131FF5 players^000000 before you enter a chat room."; - next; - mes "[Lunic]"; - mes "When it becomes your turn, you will be warped into a small map where a warp and a help NPC are located."; - mes "In case you enter with members of a different party, use the warp to escape the map. Then you will return to the waiting room."; - next; - mes "[Lunic]"; - mes "In case you enter with your party members, please proceed speaking with the help NPC in the small map."; - mes "The help NPC is only accessible to talk ^FF0000 1 player ^000000at a time."; - next; - mes "[Lunic]"; - mes "The NPC will guide you and your party members to the actual arena room."; - mes "However, if anyone in the party ^3131FFdoes not have enough money to pay the entrance fee, he will be warped outside^000000."; - next; - mes "[Lunic]"; - mes "Also be aware that you can only stay inside the map for ^FF0000 1 minute^000000."; - next; - mes "[Lunic]"; - mes "As immediately as you enter the arena map, a timer which calculates your battle time will be activated."; - mes "Please follow what ^3131FFSlipslowrun^000000 guides you. "; - next; - mes "[Lunic]"; - mes "You will have ^3131FF10 minutes^000000 to clear the stage however it is not that easy to do. And you're advised to use the time wisely."; - next; - mes "[Lunic]"; - mes "After you clear every room including a boss room, you will be warped again to an ^3131FFending waiting room^000000."; - mes "You can only allow to stay in the waiting room for ^3131FF1 minute^000000, please hurry up to receive the arena points and leave."; - next; - mes "[Lunic]"; - mes "If you stay over 1 minute inside the ending waiting room, you will be forced outside and will not receive any arena points. Please remember that."; - next; - mes "[Lunic]"; - mes "Besides, if a party make a new record on time to clear the map,"; - mes "^3131FFthe party master^000000 can record ^3131FFthe party name^000000."; - next; - mes "[Lunic]"; - mes "In this case, if a party has more than one master or none, it is impossible to write ^FF0000the top party record^000000."; - mes "Therefore, it is strongly suggested to form one party before entering the arena map."; - next; - mes "[Lunic]"; - mes "Thank you for listening and"; - mes "I hope you will have a good time."; - close; -} - -arena_room,158,82,1 script Helper Lonik 4_M_ROGUE,{ - emotion e_no1,0; - mes "[Lonik]"; - mes "Tah dah! Here I am!"; - next; - mes "[Lonik]"; - mes "You are curious if there is anyone inside or not, aren't you?"; - next; - mes "[Lonik]"; - mes "My answer is..."; - mes "............."; - if (getmapusers("force_1-2")) { - emotion e_oh,0; - mes "Yes!"; - mes "There is someone inside."; - next; - mes "[Lonik]"; - mes "You'd better wait a little bit longer!"; - } else { - emotion e_X,0; - mes "No!"; - mes "Go for it, good luck!"; - } - close; -} - -sec_in02,72,180,3 script Arena Manager#arena 4_NFWISP,{ - .@i = callfunc("F_GM_NPC",1357,0); - if (.@i == -1) { - mes "[Arena Manager]"; - mes "Command has been canceled."; - close; - } else if (.@i == 0) { - mes "Password is incorrect."; - close; - } else { - mes "[Arena Manager]"; - mes "Select an option."; - next; - switch(select("Restart arena", "Rearrange the Ranking Time")) { - case 1: - switch(select("Lv 50", "Lv 60", "Lv 70", "Lv 80", "Party Mode")) { - case 1: - .@arena = 50; - break; - case 2: - .@arena = 60; - break; - case 3: - .@arena = 70; - break; - case 4: - .@arena = 80; - break; - case 5: - mes "[Arena Manager]"; - mes "== Caution =="; - mes "You have chosen to restart party arena stage."; - mes "Do you wish to proceed?"; - next; - switch(select("Yes", "No")) { - case 1: - donpcevent "Ponox::OnStart"; - mes "[Arena Manager]"; - mes "The arena stage has been successfuly reactivated."; - close; - - case 2: - mes "[Arena Manager]"; - mes "Command has been canceled."; - close; - } - } - mes "[Arena Manager]"; - mes "== Caution =="; - mes "You have chosen to restart Lv "+.@arena+" arena stage."; - mes "Do you wish to proceed?"; - next; - switch(select("Yes", "No")) { - case 1: - donpcevent "Lv"+.@arena+" Waiting Room::OnStart"; - mes "[Arena Manager]"; - mes "The arena stage has been successfuly reactivated."; - close; - case 2: - mes "[Arena Manager]"; - mes "Command has been canceled."; - close; - } - case 2: - mes "[Arena Manager]"; - mes "== Caution =="; - mes "^CE0000You have chosen to rearrange the ranking time. Make sure this is not a good decision unless if something serious was happened!^000000"; - next; - mes "[Arena Manager]"; - mes "Are you sure you want to rearrange the ranking time?"; - next; - switch(select("No", "Yes")) { - case 1: - mes "[Arena Manager]"; - mes "Phew~ :)"; - close; - case 2: - switch(select("Lv 50", "Lv 60", "Lv 70", "Lv 80", "Party Mode")) { - case 1: - .@min$ = "$top50min"; - .@sec$ = "$top50sec"; - .@mode$ = "Lv 50"; - break; - case 2: - .@min$ = "$top60min"; - .@sec$ = "$top60sec"; - .@mode$ = "Lv 60"; - break; - case 3: - .@min$ = "$top70min"; - .@sec$ = "$top70sec"; - .@mode$ = "Lv 70"; - break; - case 4: - .@min$ = "$top80min"; - .@sec$ = "$top80sec"; - .@mode$ = "Lv 80"; - break; - case 5: - .@min$ = "$top_ptmin"; - .@sec$ = "$top_ptsec"; - .@mode$ = "party"; - break; - } - mes "[Arena Manager]"; - // Doesn't work with Athena's implementation. - //mes "Please enter 0 to cancel."; - //mes "If not, please enter a value for minutes first and then seconds."; - mes "Please enter a value for minutes first and then seconds."; - next; - input(.@arenamin, 0); - setd .@min$,.@arenamin; - input(.@arenasec, 0); - setd .@sec$,.@arenasec; - mes "[Arena Manager]"; - mes "Current "+.@mode$+" ranker's play time has been rearranged to ^FF0000"+getd(.@min$)+"^000000 minutes and ^FF0000"+getd(.@sec$)+"^000000 seconds."; - close; - } - } - } -} - -sec_in02,79,171,3 script Reward Manager#arena 4_NFWISP,{ - .@i = callfunc("F_GM_NPC",1357,0); - if (.@i == -1) { - mes "[Reward Manager]"; - mes "Command has been canceled."; - close; - } else if (.@i == 0) { - mes "[Reward Manager]"; - mes "Password is incorrect."; - close; - } else { - mes "[Reward Manager]"; - mes "You have chosen to hide the teleporter NPC."; - next; - switch(select("Cancel", "Yes", "Turn on")) { - case 1: - mes "[Reward Manager]"; - mes "You have canceled the command."; - close; - case 2: - mes "[Reward Manager]"; - mes "NPC has been hidden."; - disablenpc "Teleporter#arena"; - close; - case 3: - mes "[Reward Manager]"; - mes "NPC has been enabled."; - enablenpc "Teleporter#arena"; - close; - } - } -} - -arena_room,105,93,5 script Teleporter#arena 1_M_JOBTESTER,{ - mes "[Teleporter]"; - mes "I can move you to the reward arena!"; - mes "Would you like to go there?"; - next; - switch(select("Yes", "No.")) { - case 1: - mes "[Teleporter]"; - mes "Let me guide you."; - close2; - warp "prt_are_in",60,14; - end; - case 2: - mes "[Teleporter]"; - mes "No problem, feel free to come back any time."; - close; - } -} - -prt_are_in,98,14,3 script Givu#arena 4_F_JOB_KNIGHT,{ - if (checkweight(Royal_Jelly,5) == 0) { - mes "- Wait a moment! -"; - mes "- Currently you're carrying -"; - mes "- too many items with you. -"; - mes "- Please lighten your weight -"; - mes "- and try again. -"; - close; - } - mes "[Givu]"; - mes "Hello, there. Welcome to the world of Arena."; - mes "My name is Givu, I am in charge of arena point exchange program."; - next; - mes "[Givu]"; - mes "You can exchange your arena points with various stuffs."; - mes "Please choose a menu below."; - next; - switch(select("Exchange with Consumable items", "Exchange with EXP points", "Take a Souvenir Picture", "Check Current Arena Points")) { - case 1: - mes "[Givu]"; - mes "What consumable item do you wish to exchange?"; - next; - switch(select("Honey", "Royal Jelly", "Mastela Fruit", "Condensed White Potion", "Anodyne", "Yggdrasil Seed", "Yggdrasilberry", "Old Blue Box", "Old Purple Box", "Old Card Album")) { - case 1: callfunc "Func_Are_Rew",518,5,20; - case 2: callfunc "Func_Are_Rew",526,5,30; - case 3: callfunc "Func_Are_Rew",522,5,30; - case 4: callfunc "Func_Are_Rew",547,8,30; - case 5: callfunc "Func_Are_Rew",605,3,20; - case 6: callfunc "Func_Are_Rew",608,1,20; - case 7: callfunc "Func_Are_Rew",607,1,40; - case 8: callfunc "Func_Are_Rew",603,1,100; - case 9: callfunc "Func_Are_Rew",617,1,300; - case 10: callfunc "Func_Are_Rew",616,1,1000; - } - case 2: - mes "[Givu]"; - mes "Would you like to exchange your arena points with experience points?"; - mes "It requires 40 arena points."; - next; - switch(select("Cancel", "Yes")) { - case 1: - mes "[Givu]"; - mes "You have canceled your request."; - close; - case 2: - if (arena_point < 40) { - mes "[Givu]"; - mes "You do not have enough arena points."; - mes "Please check the total amount of arena points you have."; - close; - } - arena_point -= 40; - if (RENEWAL_EXP) { - if (BaseLevel < 70) getexp 300,0; - else if (BaseLevel < 80) getexp 900,0; - else if (BaseLevel < 90) getexp 1000,0; - else getexp 3000,0; - } else { - if (BaseLevel < 70) getexp 3000,0; - else if (BaseLevel < 80) getexp 9000,0; - else if (BaseLevel < 90) getexp 10000,0; - else getexp 30000,0; - } - mes "[Givu]"; - mes "You have gained experience points. Thank you."; - close; - } - case 3: - mes "[Givu]"; - mes "You have chosen a souvenir picture services."; - next; - switch(select("About souvenir Picture Services", "Take a picture")) { - case 1: - mes "[Givu]"; - mes "Do you see stairs at the right side of me?"; - next; - mes "[Givu]"; - mes "At the stairs, you can take a screenshot with an NPC or a monster."; - next; - mes "[Givu]"; - mes "When you choose an NPC or a monster, it will show some emotion icons ^FF0000for 1 minute^000000."; - next; - mes "[Givu]"; - mes "Don't miss the chance to take a picture with your favorite NPC!"; - close; - case 2: - if ($@arena_picture) { - mes "[Givu]"; - mes "A souvenir picture services is on progress. Please wait."; - close; - } - mes "[Givu]"; - mes "Please choose an NPC at below."; - mes "The NPC will appear for 1 minute and this service requires 10 arena points."; - next; - switch(select("Baphomet", "Dark Lord", "Doppelganger", "Eddga", "Dracula", "Samurai", "Stormy Knight", "Phreeoni", "Girl", "Valkyrie")) { - case 1: $@arena_picture_id = 1039; break; - case 2: $@arena_picture_id = 1272; break; - case 3: $@arena_picture_id = 1046; break; - case 4: $@arena_picture_id = 1115; break; - case 5: $@arena_picture_id = 1389; break; - case 6: $@arena_picture_id = 1492; break; - case 7: $@arena_picture_id = 1251; break; - case 8: $@arena_picture_id = 1159; break; - case 9: $@arena_picture_id = 6969; break; - case 10: $@arena_picture_id = 7777; break; - } - if (arena_point < 10) { - mes "[Givu]"; - mes "You do not have enough arena points."; - mes "Please check the total amount of arena points you have."; - close; - } - mes "[Givu]"; - if ($@arena_picture_id == 6969) - mes "Would you like to take a picture with pretty girls?"; - else if ($@arena_picture_id == 7777) - mes "Would you like to take a picture with a Valkyrie?"; - else - mes "Would you like to take a picture with a "+getmonsterinfo($@arena_picture_id,0)+"?"; - next; - switch(select("Yes", "No")) { - case 1: - arena_point -= 10; - $@arena_picture = 1; - enablenpc "#arena_"+$@arena_picture_id+""; - movenpc "#arena_"+$@arena_picture_id+"",96,28; - if ($@arena_picture_id == 6969) { - enablenpc "#arena_ss_2"; - enablenpc "#arena_ss_3"; - enablenpc "#arena_ss_4"; - } - donpcevent "npctime#arena::OnStart"; - mes "[Givu]"; - mes "Thank you."; - close; - case 2: - mes "[Givu]"; - mes "Would you like to consider a little longer?"; - close; - } - } - case 4: - mes "[Givu]"; - mes "Let me check "+strcharinfo(PC_NAME)+"'s current arena points."; - next; - mes "[Givu]"; - mes ""+strcharinfo(PC_NAME)+" has total ^3131FF"+arena_point+"^000000 points."; - close; - } -} - -prt_are_in,1,1,5 script #arena_1039 BAPHOMET,{ - end; - -OnInit: - disablenpc "#arena_6969"; - disablenpc "#arena_ss_2"; - disablenpc "#arena_ss_3"; - disablenpc "#arena_ss_4"; - disablenpc "#arena_1272"; - disablenpc "#arena_1046"; - disablenpc "#arena_1115"; - disablenpc "#arena_1389"; - disablenpc "#arena_1492"; - disablenpc "#arena_1251"; - disablenpc "#arena_1159"; - disablenpc "#arena_7777"; - disablenpc "#arena_1039"; - end; - -OnHeart: - emotion e_lv,0; - end; -OnSci: - emotion e_scissors,0; - end; -OnBest: - emotion e_no1,0; - end; -OnOmg: - emotion e_omg,0; - end; -OnKik: - emotion e_gg,0; - end; -OnKis: - emotion e_kis,0; - end; -} -prt_are_in,1,1,5 duplicate(#arena_1039) #arena_6969 4_F_06 -prt_are_in,94,26,5 duplicate(#arena_1039) #arena_ss_2 4_F_06 -prt_are_in,100,28,3 duplicate(#arena_1039) #arena_ss_3 4_F_06 -prt_are_in,102,26,3 duplicate(#arena_1039) #arena_ss_4 4_F_06 -prt_are_in,1,1,5 duplicate(#arena_1039) #arena_1272 DARK_LORD -prt_are_in,1,1,5 duplicate(#arena_1039) #arena_1046 DOPPELGANGER -prt_are_in,1,1,5 duplicate(#arena_1039) #arena_1115 EDDGA -prt_are_in,1,1,5 duplicate(#arena_1039) #arena_1389 DRACULA -prt_are_in,1,1,5 duplicate(#arena_1039) #arena_1492 INCANTATION_SAMURAI -prt_are_in,1,1,5 duplicate(#arena_1039) #arena_1251 KNIGHT_OF_WINDSTORM -prt_are_in,1,1,5 duplicate(#arena_1039) #arena_1159 PHREEONI -prt_are_in,1,1,5 duplicate(#arena_1039) #arena_7777 4_F_VALKYRIE - -- script npctime#arena FAKE_NPC,{ -OnStop: - stopnpctimer; - end; - -OnStart: - initnpctimer; - end; - -OnTimer2000: - mapannounce "prt_are_in","Givu : You should keep time with popping emotion icons~",1,0xFFCE00; - end; - -OnTimer5000: - mapannounce "prt_are_in","Emoticon : /lv",1,0xFFCE00; - end; - -OnTimer7000: - mapannounce "prt_are_in"," 3 ",1,0xFFCE00; - end; - -OnTimer8000: - mapannounce "prt_are_in"," 2 ",1,0xFFCE00; - end; - -OnTimer9000: - mapannounce "prt_are_in"," 1 ",1,0xFFCE00; - end; - -OnTimer10000: - mapannounce "prt_are_in"," ",1,0xFFCE00; - donpcevent "#arena_"+$@arena_picture_id+"::OnHeart"; - if ($@arena_picture_id == 6969) { - donpcevent "#arena_ss_2::OnHeart"; - donpcevent "#arena_ss_3::OnHeart"; - donpcevent "#arena_ss_4::OnHeart"; - } - end; - -OnTimer15000: - mapannounce "prt_are_in","Emoticon : /gawi",1,0xFFCE00; - end; - -OnTimer17000: - mapannounce "prt_are_in"," 3 ",1,0xFFCE00; - end; - -OnTimer18000: - mapannounce "prt_are_in"," 2 ",1,0xFFCE00; - end; - -OnTimer19000: - mapannounce "prt_are_in"," 1 ",1,0xFFCE00; - end; - -OnTimer20000: - mapannounce "prt_are_in"," ",1,0xFFCE00; - donpcevent "#arena_"+$@arena_picture_id+"::OnSci"; - if ($@arena_picture_id == 6969) { - donpcevent "#arena_ss_2::OnSci"; - donpcevent "#arena_ss_3::OnSci"; - donpcevent "#arena_ss_4::OnSci"; - } - end; - -OnTimer25000: - mapannounce "prt_are_in","Emoticon : /no1",1,0xFFCE00; - end; - -OnTimer27000: - mapannounce "prt_are_in"," 3 ",1,0xFFCE00; - end; - -OnTimer28000: - mapannounce "prt_are_in"," 2 ",1,0xFFCE00; - end; - -OnTimer29000: - mapannounce "prt_are_in"," 1 ",1,0xFFCE00; - end; - -OnTimer30000: - mapannounce "prt_are_in"," ",1,0xFFCE00; - donpcevent "#arena_"+$@arena_picture_id+"::OnBest"; - if ($@arena_picture_id == 6969) { - donpcevent "#arena_ss_2::OnBest"; - donpcevent "#arena_ss_3::OnBest"; - donpcevent "#arena_ss_4::OnBest"; - } - end; - -OnTimer35000: - mapannounce "prt_are_in","Emoticon : /huk",1,0xFFCE00; - end; - -OnTimer37000: - mapannounce "prt_are_in"," 3 ",1,0xFFCE00; - end; - -OnTimer38000: - mapannounce "prt_are_in"," 2 ",1,0xFFCE00; - end; - -OnTimer39000: - mapannounce "prt_are_in"," 1 ",1,0xFFCE00; - end; - -OnTimer40000: - mapannounce "prt_are_in"," ",1,0xFFCE00; - donpcevent "#arena_"+$@arena_picture_id+"::OnOmg"; - if ($@arena_picture_id == 6969) { - donpcevent "#arena_ss_2::OnOmg"; - donpcevent "#arena_ss_3::OnOmg"; - donpcevent "#arena_ss_4::OnOmg"; - } - end; - -OnTimer45000: - mapannounce "prt_are_in","Emoticon : /gg",1,0xFFCE00; - end; - -OnTimer47000: - mapannounce "prt_are_in"," 3 ",1,0xFFCE00; - end; - -OnTimer48000: - mapannounce "prt_are_in"," 2 ",1,0xFFCE00; - end; - -OnTimer49000: - mapannounce "prt_are_in"," 1 ",1,0xFFCE00; - end; - -OnTimer50000: - mapannounce "prt_are_in"," ",1,0xFFCE00; - donpcevent "#arena_"+$@arena_picture_id+"::OnKik"; - if ($@arena_picture_id == 6969) { - donpcevent "#arena_ss_2::OnKik"; - donpcevent "#arena_ss_3::OnKik"; - donpcevent "#arena_ss_4::OnKik"; - } - end; - -OnTimer55000: - mapannounce "prt_are_in","Emoticon : /kis",1,0xFFCE00; - end; - -OnTimer57000: - mapannounce "prt_are_in"," 3 ",1,0xFFCE00; - end; - -OnTimer58000: - mapannounce "prt_are_in"," 2 ",1,0xFFCE00; - end; - -OnTimer59000: - mapannounce "prt_are_in"," 1 ",1,0xFFCE00; - end; - -OnTimer60000: - mapannounce "prt_are_in"," ",1,0xFFCE00; - donpcevent "#arena_"+$@arena_picture_id+"::OnKis"; - if ($@arena_picture_id == 6969) { - donpcevent "#arena_ss_2::OnKis"; - donpcevent "#arena_ss_3::OnKis"; - donpcevent "#arena_ss_4::OnKis"; - } - end; - -OnTimer62000: - mapannounce "prt_are_in","Time is over. Thank you for using my services.",1,0xFFCE00; - movenpc "#arena_"+$@arena_picture_id+"",1,1; - donpcevent "#arena_1039::OnInit"; - $@arena_picture = 0; - stopnpctimer; - end; -} - -sec_in02,72,171,3 script Picture Manager#arena 4_NFWISP,{ - .@i = callfunc("F_GM_NPC",1357,0); - if (.@i == -1) { - mes "[Picture Manager]"; - mes "Command has been canceled."; - close; - } else if (.@i == 0) { - mes "[Picture Manager]"; - mes "Password is incorrect."; - close; - } else { - mes "[Picture Manager]"; - mes "Would you like to reset Picture Reward variable to 0?"; - next; - switch(select("Cancel", "Yes")) { - case 1: - mes "[Picture Manager]"; - mes "You have canceled your request."; - close; - case 2: - mes "[Picture Manager]"; - mes "Picture rewarding reseted."; - $@arena_picture = 0; - close; - } - } -} - -sec_in02,76,176,5 script Live Broadcast#arena 4_NFWISP,{ - callfunc "F_GM_NPC"; - mes "[Live Broadcast]"; - mes "Currently there are "+getmapusers("force_1-1")+" people in Lv 50s map."; - mes "Currently there are "+getmapusers("force_2-1")+" people in Lv 60s map."; - mes "Currently there are "+getmapusers("force_3-1")+" people in Lv 70s map."; - mes "Currently there are "+getmapusers("force_4-1")+" people in Lv 80s map."; - mes "Currently there are "+getmapusers("force_1-2")+" people in party map."; - mes "Currently there are "+getmapusers("arena_room")+" people in the waiting room."; - close; -} - -function script Func_Are_Rew { - mes "[Givu]"; - mes "Would you like to exchange your arena points with "+getitemname(getarg(0))+"?"; - mes "You can exchange ^3131FF"+getarg(2)+" arena points with "+getarg(1)+" "+getitemname(getarg(0))+"^000000."; - mes "If you wish to cancel, please enter 0. If you don't, please enter how many ^3131FFtimes^000000 of arena points you wish to spend."; - next; - input(.@reward); - if (.@reward <= 0) { - mes "[Givu]"; - mes "You have canceled your request."; - close; - } - if (.@reward > 1500) { - mes "[Givu]"; - mes "You have exceeded the maximum capacity."; - close; - } - if (arena_point < .@reward * getarg(2)) { - mes "[Givu]"; - mes "You do not have enough arena points."; - mes "Please check the total amount of arena points you have."; - close; - } - arena_point -= (.@reward * getarg(2)); - getitem getarg(0),.@reward * getarg(1); - mes "[Givu]"; - mes "Thank you, please come again."; - close; -} |