summaryrefslogtreecommitdiff
path: root/npc/instances
diff options
context:
space:
mode:
Diffstat (limited to 'npc/instances')
-rw-r--r--npc/instances/EndlessTower.txt4376
-rw-r--r--npc/instances/NydhoggsNest.txt2827
-rw-r--r--npc/instances/OrcsMemory.txt1369
-rw-r--r--npc/instances/SealedShrine.txt2451
4 files changed, 11023 insertions, 0 deletions
diff --git a/npc/instances/EndlessTower.txt b/npc/instances/EndlessTower.txt
new file mode 100644
index 000000000..ecdc3bed0
--- /dev/null
+++ b/npc/instances/EndlessTower.txt
@@ -0,0 +1,4376 @@
+//===== rAthena Script =======================================
+//= Endless Tower
+//===== By: ==================================================
+//= L0ne_W0lf
+//===== Current Version: =====================================
+//= 1.9
+//===== Compatible With: =====================================
+//= rAthena SVN
+//===== Description: =========================================
+//= [Aegis Conversion]
+//= Endless Tower Memorial Dungeon
+//= Consists of 101 floors.
+//===== Additional Comments: =================================
+//= 1.0 First version.
+//= 1.1 Removed a disablenpc from #102FShadowDust1. (bugreport:4415)
+//= 1.2 Added ends to several NPCs which would allow you to restart timers.
+//= Added some missing stopnpctimers to npcs. (bugreport:4418)
+//= 1.3 Fixed a couple copy/paste errors :D I fail. [L0ne_W0lf]
+// Timer no longer resets when re-entering.
+//= 1.4 Added quest log entries based on iRO. [L0ne_W0lf]
+//= You may need to update your questid2display.
+//= Changed White lady spawn to MVP White Lady. (bugreport:4601)
+//= 1.5 Corrected some grammar and typos.
+//= 1.6 Corrected the tower re-entry blocked condition. (bugreport:4677) [L0ne_W0lf]
+//= Corrected floor 75 warp disabling the wrong NPC. (bugreport:4711)
+//= 1.7 Added missing end's to prevent accidental disabling of
+//= warps between floors. (bugreport:4623)
+//= Added missing end's to prevent infinite mobspawn (bugreport:4540)
+//= Commented out remaining GM-only NPCs. [Gepard]
+//= 1.8 Adjusted Instance Attach Map to Validate ALL Maps, instead of
+//= only 1@tower -> 5@tower (bugreport:4983)
+//= 1.9 Added 'instance_check_party' command to the script for proper checking if
+//= the invoking party meets the requirements to join the Memorial Dungeon.
+//============================================================
+
+alberta,214,77,6 script Captain Janssen 709,{
+ if (checkweight(1201,1) == 0) {
+ mes "^008800Wait here!!";
+ mes "You're carrying too much stuff. Why don't you put some of it away, and then come back.^000000";
+ close;
+ }
+ if (BaseLevel < 50) {
+ mes "[Captain Janssen]";
+ mes "Sigh... I don't know if I can ever go back to sailing the sea...";
+ close;
+ }
+ set .@name$,strcharinfo(0);
+ if (in_102tower == 1) {
+ mes "^0000ffLooking incredibly excited, the old man ran into the marine shop hurriedly ordering goods. You don't have anything better to do, so you decide to ask him why he is in such a rush.^000000";
+ next;
+ mes "^0000ffThe old man, after finishing his orders, walks towards you.^000000";
+ next;
+ mes "[Captain Janssen]";
+ mes "I was touched when you accepted a request from me, a stranger, so easily. You must truly be one of those good, heroic adventurers. Are you interested in setting out on an ocean voyage?";
+ next;
+ mes "["+.@name$+"]";
+ mes "I've sailed a few times... But now that I think about it, I've never gone across the continent.";
+ next;
+ mes "[Captain Janssen]";
+ mes "No, that's good enough. I may just have one small fishing vessel, but I used to be a captain that commanded a fleet.";
+ next;
+ mes "[Captain Janssen]";
+ mes "As you may know after a few sea voyages, not many people have gone across the ocean beyond the continent. I too have failed to conquer the ocean.";
+ next;
+ mes "^0000ffMr. Janssen talked about his perilous ocean journeys for quite a while. You have enough time on your hands, so you sit down, quietly listening to his story.^000000";
+ next;
+ mes "^0000ffAt least half of his story sounded grossly exaggerated, but something caught your ear: he insists that a humongous tower exists on the ocean, and that it's so tall, it scrapes across the sky.^000000";
+ set in_102tower,2;
+ close;
+ }
+ else if (in_102tower == 2) {
+ mes "[Captain Janssen]";
+ mes "So all I could do was cast anchor at that humongous tower after my fleet was wrecked. At first, we were only going to stay there until the rainstorm was over, but it didn't end as soon as we had hoped.";
+ next;
+ mes "[Captain Janssen]";
+ mes "My crew was starving, and a few of them walked into the tower in order to find food... They never came back.";
+ next;
+ mes "["+.@name$+"]";
+ mes "Why didn't you go in there with them?";
+ next;
+ mes "[Captain Janssen]";
+ mes "My instincts told me that tower was dangerous. I was curious, but I wasn't going to risk my life. We waited for them to come back for 7 days until the rainstorm was finally over, but no one returned.";
+ next;
+ mes "[Captain Janssen]";
+ mes "In our desperation to survive, we abandoned all our goods, and left the tower only with a little bit of the water and edible plants we'd found around the tower. When we finally reached land, I was the only one alive...";
+ next;
+ mes "^0000ffYou could imagine the heartwretching scene of the dying fleet on their last voyage, even if he didn't explain it any further. A look of somber regret swept over his face as he remained silent a while, and then he said:^000000";
+ next;
+ mes "[Captain Janssen]";
+ mes "I have something I must do before I die. I must retrieve the remains of my crew that died in the tower, and give them a proper burial.";
+ next;
+ mes "[Captain Janssen]";
+ mes "I feel so lucky to meet a warm-hearted adventurer like you. With the money you've given me, I can finally go sailing to the tower again.";
+ next;
+ mes "["+.@name$+"]";
+ mes "How about hiring me as your first mate?";
+ next;
+ mes "[Captain Janssen]";
+ mes "Thank you, but it is an extremely dangerous place. I have my duty to fulfill, but you don't have any obligation to me or them. I don't wish to sacrifice someone as young as you to such a dangerous place.";
+ next;
+ mes "["+.@name$+"]";
+ mes "No...";
+ mes ".";
+ mes ".";
+ mes "As an adventurer, there's my obligation to those in need. I'm also very curious about that place...";
+ next;
+ mes "[Captain Janssen]";
+ mes "I was going to leave right away, but since you've joined me, I should give you time to prepare. I'll be waiting here until you're ready to go.";
+ next;
+ mes "[Captain Janssen]";
+ mes "...Okay then...";
+ mes "Welcome aboard, first mate.";
+ set in_102tower,3;
+ close;
+ }
+ else if (in_102tower == 3) {
+ mes "[Captain Janssen]";
+ mes "Shall we leave now?";
+ next;
+ switch(select("Yes, let's go!:No, I'm not quite ready...")) {
+ case 1:
+ mes "[Captain Janssen]";
+ mes "Then pull up the anchor, first mate!";
+ close2;
+ set in_102tower,4;
+ warp "e_tower",70,114;
+ end;
+ case 2:
+ mes "[Captain Janssen]";
+ mes "Sure, no problem. Come back when you're ready.";
+ close;
+ }
+ }
+ else if (in_102tower > 3) {
+ mes "[Captain Janssen]";
+ mes "Well, to travel the ocean again, we need to restock on goods. If you give me 10,000 Zeny, I'll take care of the rest.";
+ next;
+ switch(select("I'll come back later.:Let's go, now!")) {
+ case 1:
+ mes "["+.@name$+"]";
+ mes "I'm sorry, but I don't have that much money. I'll come back when I save enough.";
+ next;
+ mes "[Captain Janssen]";
+ mes "Sure, no problem. I'll be waiting for your return.";
+ close;
+ case 2:
+ if (zeny < 10000) {
+ mes "[Captain Janssen]";
+ mes "I'm sorry, but you don't have enough money. I need at least 10,000 Zeny to restock our supplies...";
+ close;
+ }
+ else {
+ mes "[Captain Janssen]";
+ mes "Excellent! Now we're good to go. Let's pull up the anchor again!";
+ set zeny,zeny-10000;
+ close2;
+ warp "e_tower",70,114;
+ end;
+ }
+ }
+ }
+ else {
+ mes "[Captain Janssen]";
+ mes "Excuse me, are you an adventurer?";
+ next;
+ mes "[Captain Janssen]";
+ mes "I'm sorry to ask you this, especially when this is the first time we've ever met, but can you do me a favor? I'll make it short.";
+ next;
+ mes "[Captain Janssen]";
+ mes "Can you donate ^0000ff10,000 Zeny^000000 to me? It's for a cause that's important to me...";
+ next;
+ switch(select("No!:Sure thing.")) {
+ case 1:
+ mes "["+.@name$+"]";
+ mes "I'm sorry, but you've got the wrong person to ask that.";
+ next;
+ mes "[Captain Janssen]";
+ mes "I see... Sorry to bother you. I understand it was too rude to ask something like that to begin with.";
+ close;
+ case 2:
+ mes "[Captain Janssen]";
+ mes "Huh? Are you sure that you don't mind giving me that much money? Wow, thank you so much!";
+ next;
+ if (zeny < 10000) {
+ mes "[Captain Janssen]";
+ mes "...I'm sorry, but I don't think you have 10,000 Zeny. Thank you for your kindness, but I need more than that.";
+ close;
+ }
+ else {
+ mes "["+.@name$+"]";
+ mes "I don't know why you'd need so much money, but here. You can take it.";
+ next;
+ mes "^0000ffYou have donated 10,000 Zeny to Captain Janssen^000000.";
+ next;
+ mes "[Captain Janssen]";
+ mes "Thank you so much! Now I can stock up on food and materials for my ship. You're kind, very kind!";
+ set zeny,zeny-10000;
+ set in_102tower,1;
+ close;
+ }
+ }
+ }
+}
+
+e_tower,81,105,0 script Tower Protection Stone 406,{
+
+ set .@party_id,getcharid(1);
+ set .@ins_mas,getpartyleader(.@party_id,2);
+ set .@p_name$,getpartyname(.@party_id);
+ set .@p_reader$,strcharinfo(0);
+ set .@md_name$,"Endless Tower";
+ set .@p_name2$,strcharinfo(0);
+
+ set .@etower_timer,checkquest(60200,PLAYTIME); // 1 week
+ set .@etower_timer2,checkquest(60201,PLAYTIME); // 4 hours
+
+ set .@dun_lim_time,etower_timer+604800; // 1 week
+ set .@dun_lim_time2,etower_timer+14400; // 4 hours
+ set .@dun_cur_time,gettimetick(2);
+ set .@dun_ent_t,(.@dun_lim_time - .@dun_cur_time);
+ set .@dun_h,(.@dun_ent_t / 3600);
+ set .@dun_m,(.@dun_ent_t - (.@dun_h * 3600)) / 60;
+ set .@dun_s,.@dun_ent_t - ((.@dun_h * 3600) + (.@dun_m * 60));
+
+ if(!instance_check_party(.@party_id,2)){
+ mes "I'm sorry but your Party does not meet the requirements to join the Memorial Dungeon.";
+ close;
+ }
+
+ if (.@etower_timer == -1) {
+ if (.@ins_mas == getcharid(0)) {
+ mes "Confirmed the party has been made. Would you like to reserve entrance to the Endless Tower?";
+ next;
+ switch(select(.@md_name$ + " Dungeon Generated:Enter the dungeon:Return to Alberta:Cancel")) {
+ case 1:
+ set .@instance, instance_create(.@md_name$, .@party_id);
+ if (.@instance < 0) {
+ mes "Party Name:"+.@p_name$+"";
+ mes "Party Leader:"+.@p_reader$+"";
+ mes "^0000ff"+.@md_name$+" ^000000- Reservation Failed!";
+ }
+ else {
+ mes "^0000ff"+.@md_name$+"^000000 - Try to reserve";
+ mes "After making a reservation, you have to talk to NPC behind and select the menu 'Enter the Dungeon' to enter the dungeon.";
+ // 1,2,3,4,5,6
+ for( set .@i, 1; .@i <= 6; set .@i, .@i + 1 ) {
+ if( instance_attachmap(.@i + "@tower", .@instance) == "" ) {
+ mes "^0000ff"+.@md_name$+" ^000000- Reservation Failed!";
+ instance_destroy(.@instance);
+ close;
+ }
+ }
+ instance_attach(.@instance);
+ instance_set_timeout 14400,300,.@instance;
+ instance_init(.@instance);
+ // Spawn the first floor of each map, which will then spawn the rest when cleared.
+ donpcevent instance_npcname("#1F Controller", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("Immortal Furnace#1", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("Immortal Furnace#2", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("Immortal Furnace#3", instance_id())+"::OnInstanceInit";
+ // Disable the warps on all floor. (enable as floors are cleared)
+ for( set .@i, 1; .@i <= 99; set .@i, .@i + 1 )
+ donpcevent instance_npcname(.@i+"FGate102tower", instance_id())+"::OnInstanceInit";
+ // Warps activate on timer, so players can't get unlimited Ashes.
+ donpcevent instance_npcname("25FGate102tower-2", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("50FGate102tower-2", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("75FGate102tower-2", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("99FGate102tower-2", instance_id())+"::OnInstanceInit";
+ // Disable and ready NPCs for the 100th and 101st floors.
+ donpcevent instance_npcname("Lucid Crystal#102", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("#102Effect1", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("#102Effect2", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("#102FShadowDust1", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("#102FShadowDust", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("Spring of Life#1", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("Tyrant's Throne#", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("Lost Soul#102", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("#Effect30", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("#Effect31", instance_id())+"::OnInstanceInit";
+ }
+ break;
+ case 2:
+ if (has_instance("1@tower") == "") {
+ mes "The memorial dungeon " + .@md_name$ + " does not exist.";
+ mes "The party leader did not generate the dungeon yet.";
+ }
+ if((party_instance_id != 0) && (party_instance_id != getcharid(1))) {
+ mes "Due to the tower's aftereffects, you cannot enter the dungeon right now, " + .@dun_h + "hours " + .@dun_m + "minutes " + .@dun_s + "seconds left to enter the next dungeon.";
+ next;
+ mes "It is dangerous here. Let me move you to Alberta.";
+ close2;
+ warp "alberta",223,36;
+ end;
+ }
+ else {
+ mapannounce "e_tower", .@p_name2$ + " of the party, " + .@p_name$ + ", is entering the dungeon, " + .@md_name$ + ".",bc_map,"0x00ff99",FW_NORMAL,12;
+ set party_instance_id,getcharid(1);
+ set etower_timer,gettimetick(2);
+ setquest 60200;
+ setquest 60201;
+ warp "1@tower",52,354;
+ end;
+ }
+ break;
+ case 3:
+ mes "I will move you to Alberta.";
+ close2;
+ warp "alberta",223,36;
+ end;
+ case 4:
+ break;
+ }
+ close;
+ }
+ else {
+ switch(select(.@md_name$ + " Enter the dungeon:Return to Alberta:Cancel")) {
+ case 1:
+ if (has_instance("1@tower") == "") {
+ mes "The memorial dungeon " + .@md_name$ + " does not exist.";
+ mes "The party leader did not generate the dungeon yet.";
+ }
+ if((party_instance_id != 0) && (party_instance_id != getcharid(1))) {
+ mes "Due to the tower's aftereffects, you cannot enter the dungeon right now, " + .@dun_h + "hours " + .@dun_m + "minutes " + .@dun_s + "seconds left to enter the next dungeon.";
+ next;
+ mes "It is dangerous here. Let me move you to Alberta.";
+ close2;
+ warp "alberta",223,36;
+ end;
+ }
+ else {
+ mapannounce "e_tower", .@p_name2$ + " of the party, " + .@p_name$ + ", is entering the dungeon, " + .@md_name$ + ".",bc_map,"0x00ff99",FW_NORMAL,12;
+ set party_instance_id,getcharid(1);
+ set etower_timer,gettimetick(2);
+ setquest 60200;
+ setquest 60201;
+ warp "1@tower",52,354;
+ end;
+ }
+ break;
+ case 2:
+ mes "I will move you to Alberta.";
+ close2;
+ warp "alberta",223,36;
+ end;
+ case 3:
+ break;
+ }
+ close;
+ }
+ }
+ else if ((.@etower_timer >= 0) && (.@etower_timer2 < 2)) {
+ mes "If you have the dungeon generated already, you can enter it. ";
+ next;
+ switch(select(.@md_name$ + " Enter the dungeon:Return to Alberta:Cancel")) {
+ case 1:
+ if (has_instance("1@tower") == "") {
+ mes "The memorial dungeon " + .@md_name$ + " does not exist.";
+ mes "The party leader did not generate the dungeon yet.";
+ }
+ if((party_instance_id != 0) && (party_instance_id != getcharid(1))) {
+ mes "Due to the tower's aftereffects, you cannot enter the dungeon right now, " + .@dun_h + "hours " + .@dun_m + "minutes " + .@dun_s + "seconds left to enter the next dungeon.";
+ next;
+ mes "It is dangerous here. Let me move you to Alberta.";
+ close2;
+ warp "alberta",223,36;
+ end;
+ }
+ else {
+ mapannounce "e_tower", .@p_name2$ + " of the party, " + .@p_name$ + ", is entering the dungeon, " + .@md_name$ + ".",bc_map,"0x00ff99",FW_NORMAL,12;
+ set party_instance_id,getcharid(1);
+ warp "1@tower",52,354;
+ end;
+ }
+ break;
+ case 2:
+ mes "I will move you to Alberta.";
+ close2;
+ warp "alberta",223,36;
+ end;
+ case 3:
+ break;
+ }
+ close;
+ }
+ else if ((.@etower_timer >= 0) && (.@etower_timer < 2) && (.@etower_timer2 == 2)) {
+ mes "Due to the tower's aftereffects, you cannot enter the dungeon right now, " + .@dun_h + "hours " + .@dun_m + "minutes " + .@dun_s + "seconds left to enter the next dungeon.";
+ next;
+ mes "It is dangerous here. Let me move you to Alberta.";
+ close2;
+ warp "alberta",223,36;
+ end;
+ }
+ else {
+ set etower_timer,0;
+ erasequest 60200;
+ erasequest 60201;
+ set party_instance_id,0;
+ mes "^0000ffThe records and after effects related to the Endless Tower have been removed. You can generate and enter the Endless Tower again.^000000";
+ close;
+ }
+ mes "Make or join a party with more than 1 member and try again.";
+ close;
+}
+
+e_tower,30,30,2 script Huge Vortex 844,2,2,{
+OnTouch:
+ mapannounce "e_tower","[ " + strcharinfo(0) + " ], seems to be engulfed by a huge vortex",bc_map,"0x00ff99",FW_NORMAL,12;
+ warp "alberta",223,36;
+ end;
+}
+
+/*
+e_tower,1,1,2 script #102Administrator Mode104 844,{
+ mes "Please enter the password";
+ input .@inputstr$;
+ next;
+ if (.@inputstr$ == "dmc2008") {
+ switch(select("Generate Purification Stone:Remove Purification Stone:Cancel")) {
+ case 1:
+ mes "Create the Purification Stone that stays for 30 minutes.";
+ donpcevent "Purification Stone#et1::OnEnable";
+ break;
+ case 2:
+ mes "Destroy the Purification Stone immediately";
+ donpcevent "Purification Stone#et1::OnDisable";
+ break;
+ case 3:
+ mes "You have canceled it.";
+ break;
+ }
+ close;
+ }
+ else {
+ mes "Enter the password exactly.";
+ close;
+ }
+}
+
+e_tower,69,117,4 script Purification Stone#et1 406,{
+ set etower_timer,0;
+ mes "^0000ffThe records and aftereffects related to the Endless Tower have been removed. You can generate and enter the Endless Tower again.^000000";
+ close;
+
+OnInit:
+ disablenpc "Purification Stone#et1";
+ end;
+
+OnEnable:
+ initnpctimer;
+ end;
+
+OnDisable:
+ stopnpctimer;
+ disablenpc "Purification Stone#et1";
+ end;
+
+OnTimer1000:
+ enablenpc "Purification Stone#et1";
+ end;
+
+OnTimer1740000:
+ mapannounce "e_tower", "The Purification Stone will be destroyed in one minute.",bc_map,"0x00ff99";
+ end;
+
+OnTimer1800000:
+ disablenpc "Purification Stone#et1";
+ end;
+}
+
+e_tower,151,185,4 script Purification Stone#et2 844,{
+ set etower_timer,0;
+ mes "^0000ffThe records and aftereffects related to the Endless Tower have been removed. You can generate and enter the Endless Tower again.^000000";
+ close;
+ warp "e_tower",75,108;
+ end;
+}
+*/
+
+// Floors 1-25
+1@tower,50,360,0 script Immortal Brazier# 844,{
+ mes "- A Message is Engraved on the Brazier -";
+ mes "The one who scatters the ashes of the darkness in this place shall become one step closer to Nacht Sieger, the Hegemon King of the Darkness...";
+ next;
+ set .@move_name$,strcharinfo(0);
+ switch(select("26th Floor:51st Floor:76th Floor")) {
+ case 1:
+ if (countitem(6000) < 1) {
+ mes "-Warning-";
+ mes "To warp to the 26th Floor, you need 1 Ashes of the Darkness.";
+ close;
+ }
+ else {
+ delitem 6000,1; //Dark_Ashes
+ instance_announce 0, .@move_name$ + ". You will be warped to the 26th Floor.",bc_map,"0x00ff99";
+ warp "2@tower",52,354;
+ }
+ break;
+ case 2:
+ if (countitem(6000) < 2) {
+ mes "-Warning-";
+ mes "To warp to the 51st Floor, you need 2 Ashes of the Darkness.";
+ close;
+ }
+ else {
+ delitem 6000,2; //Dark_Ashes
+ instance_announce 0, .@move_name$ + ". You will be warped to the 51st Floor.",bc_map,"0x00ff99";
+ warp "3@tower",52,354;
+ }
+ break;
+ case 3:
+ if (countitem(6000) < 3) {
+ mes "-Warning-";
+ mes "To warp to the 76th Floor, you need 3 Ashes of the Darkness.";
+ close;
+ }
+ else {
+ delitem 6000,3; //Dark_Ashes
+ instance_announce 0, .@move_name$ + ". You will be warped to the 76th Floor.",bc_map,"0x00ff99";
+ warp "4@tower",52,354;
+ }
+ break;
+ }
+ end;
+}
+
+1@tower,29,365,1 script #1F Controller 844,{
+ end;
+
+OnInstanceInit:
+ areamonster "1@tower",7,351,17,387,"Metaling",1613,15,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",7,351,17,387,"Marin",1242,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",7,351,17,387,"Poporing",1031,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",7,351,17,387,"Drops",1113,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",7,351,17,387,"Mastering",1090,1,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",7,351,17,387,"Poring",1002,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 1st Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("1FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 1
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 1st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,12,393,0 script 1FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("1FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("1FGate102tower", instance_id());
+ areamonster "1@tower",93,351,103,387,"Desert Wolf",1106,20,instance_npcname("1FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",93,351,103,387,"Vagabond Wolf",1092,1,instance_npcname("1FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",93,351,103,387,"Baby Desert Wolf",1107,10,instance_npcname("1FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",136,354;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("1FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 2nd Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("2FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 2
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 2nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,96,393,0 script 2FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("2FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("2FGate102tower", instance_id());
+ areamonster "1@tower",181,351,191,387,"Archer Skeleton",1016,5,instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",181,351,191,387,"Skel Worker",1169,5,instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",181,351,191,387,"Soldier Skeleton",1028,5,instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",181,351,191,387,"Orc Skeleton",1152,5,instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",181,351,191,387,"Pirate Skeleton",1071,5,instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",181,351,191,387,"Skeleton",1076,5,instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",224,354;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 3rd Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("3FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 3
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 3rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,184,393,0 script 3FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("3FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("3FGate102tower", instance_id());
+ areamonster "1@tower",267,351,277,387,"Argiope",1099,15,instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",267,351,277,387,"Mantis",1139,5,instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",267,351,277,387,"Argos",1100,5,instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",267,351,277,387,"Vocal",1088,1,instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",267,351,277,387,"Rocker",1052,5,instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",267,351,277,387,"Hornet",1004,5,instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",310,354;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 4th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("4FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 4
+ }
+ else
+ instance_announce 0, "Remaining Monsters on 4th the Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,270,393,0 script 4FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("4FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("4FGate102tower", instance_id());
+ areamonster "1@tower",352,351,362,387,"Golden Thief Bug",1086,1,instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",352,351,362,387,"Theif Bug Male",1054,15,instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",352,351,362,387,"Thief Bug Female",1053,15,instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",352,351,362,387,"Thief Bug",1051,15,instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",352,351,362,387,"Thief Bug Egg",1048,5,instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",395,354;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 5th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("5FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 5
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 5th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,355,393,0 script 5FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("5FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("5FGate102tower", instance_id());
+ areamonster "1@tower",9,267,19,303,"Dragon Egg",1721,5,instance_npcname("5FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",9,267,19,303,"Thief Bug Egg",1048,5,instance_npcname("5FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",9,267,19,303,"Ant Egg",1097,5,instance_npcname("5FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",9,267,19,303,"Pupa",1008,5,instance_npcname("5FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",52,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("5FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 6th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("6FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 6
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 6th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,12,309,0 script 6FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("6FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("6FGate102tower", instance_id());
+ areamonster "1@tower",93,267,103,303,"Explosion",1383,15,instance_npcname("6FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",93,267,103,303,"Drainliar",1111,15,instance_npcname("6FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",93,267,103,303,"Anopheles",1627,15,instance_npcname("6FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",93,267,103,303,"Farmiliar",1005,15,instance_npcname("6FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",136,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("6FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 7th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("7FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 7
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 7th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,96,309,0 script 7FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("7FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("7FGate102tower", instance_id());
+ areamonster "1@tower",181,267,191,303,"Firelock Soldier",1403,15,instance_npcname("7FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",181,267,191,303,"Cruiser",1248,15,instance_npcname("7FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",224,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("7FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 8th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("8FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 8
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 8th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,184,309,0 script 8FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("8FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("8FGate102tower", instance_id());
+ areamonster "1@tower",267,267,277,303,"Obsidian",1615,15,instance_npcname("8FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",267,267,277,303,"Golem",1040,15,instance_npcname("8FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",267,267,277,303,"Stapo",1784,10,instance_npcname("8FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",310,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("8FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 9th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("9FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 9
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 9th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,270,309,0 script 9FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("9FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("9FGate102tower", instance_id());
+ areamonster "1@tower",352,267,362,303,"Mistress",1059,1,instance_npcname("9FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",352,267,362,303,"Giant Hornet",1303,25,instance_npcname("9FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",352,267,362,303,"Hornet",1004,20,instance_npcname("9FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",395,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("9FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 10th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("10FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 10
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 10th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,355,309,0 script 10FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("10FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("10FGate102tower", instance_id());
+ areamonster "1@tower",9,180,19,216,"Dryad",1493,15,instance_npcname("10FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",9,180,19,216,"Parasite",1500,15,instance_npcname("10FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",9,180,19,216,"Hermit Plant",1413,15,instance_npcname("10FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",9,180,19,216,"Rafflesia",1162,5,instance_npcname("10FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",52,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("10FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 11th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("11FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 11
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 11th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,12,222,0 script 11FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("11FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("11FGate102tower", instance_id());
+ areamonster "1@tower",93,180,103,216,"Demon Pungus",1378,25,instance_npcname("11FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",93,180,103,216,"Punk",1199,25,instance_npcname("11FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",136,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("11FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 12th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("12FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 12
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 12th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,96,222,0 script 12FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("12FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("12FGate102tower", instance_id());
+ areamonster "1@tower",181,180,191,216,"Yao Yun",1512,15,instance_npcname("12FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",181,180,191,216,"Bongunn",1188,15,instance_npcname("12FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",181,180,191,216,"Munak",1026,10,instance_npcname("12FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",224,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("12FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 13th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("13FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 13
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 13th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,184,222,0 script 13FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("13FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("13FGate102tower", instance_id());
+ areamonster "1@tower",267,180,277,216,"High Orc",1213,15,instance_npcname("13FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",267,180,277,216,"Orc Archer",1189,10,instance_npcname("13FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",267,180,277,216,"Orc Lady",1273,10,instance_npcname("13FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",267,180,277,216,"Orc Warrior",1023,5,instance_npcname("13FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",267,180,277,216,"Orc Baby",1686,5,instance_npcname("13FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",310,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("13FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 14th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("14FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 14
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 14th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,270,222,0 script 14FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("14FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("14FGate102tower", instance_id());
+ areamonster "1@tower",352,180,362,216,"Maya",1147,1,instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",352,180,362,216,"Phreeoni",1159,1,instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",352,180,362,216,"Deniro",1105,15,instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",352,180,362,216,"Pierre",1160,15,instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",352,180,362,216,"Andre",1095,15,instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",352,180,362,216,"Ant Egg",1097,5,instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+
+ warp "1@tower",395,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 15th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("15FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 15
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 15th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,355,222,0 script 15FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("15FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("15FGate102tower", instance_id());
+ areamonster "1@tower",9,96,19,132,"Raydric Archer",1276,10,instance_npcname("15FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",9,96,19,132,"Orc Archer",1189,10,instance_npcname("15FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",9,96,19,132,"Gargoyle",1253,10,instance_npcname("15FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",9,96,19,132,"Archer Skeleton",1016,10,instance_npcname("15FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",52,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("15FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 16th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("16FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 16
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 16th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,12,138,0 script 16FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("16FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("16FGate102tower", instance_id());
+ areamonster "1@tower",93,96,103,132,"Merman",1264,10,instance_npcname("16FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",93,96,103,132,"Baphomet Jr.",1101,10,instance_npcname("16FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",93,96,103,132,"Strouf",1065,15,instance_npcname("16FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",93,96,103,132,"Hill Wind",1629,5,instance_npcname("16FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",136,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("16FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 17th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("17FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 17
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 17th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,96,138,0 script 17FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("17FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("17FGate102tower", instance_id());
+ areamonster "1@tower",181,96,191,132,"Cramp",1209,25,instance_npcname("17FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",181,96,191,132,"Tarou",1175,15,instance_npcname("17FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",224,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("17FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 18th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("18FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 18
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 18th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,184,138,0 script 18FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("18FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("18FGate102tower", instance_id());
+ areamonster "1@tower",267,96,277,132,"Deviace",1108,10,instance_npcname("18FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",267,96,277,132,"Megalodon",1064,10,instance_npcname("18FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",267,96,277,132,"Swordfish",1069,10,instance_npcname("18FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",267,96,277,132,"Phen",1158,10,instance_npcname("18FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",310,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("18FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 19th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("19FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 19
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 19th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,270,138,0 script 19FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("19FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("19FGate102tower", instance_id());
+ areamonster "1@tower",352,96,362,132,"Drake",1112,1,instance_npcname("19FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",352,96,362,132,"Pirate Skeleton",1071,50,instance_npcname("19FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",395,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("19FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 20th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("20FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 20
+ }
+ else
+ instance_announce 0, "Remaining Monsters on 20th the Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,355,138,0 script 20FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("20FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("20FGate102tower", instance_id());
+ areamonster "1@tower",9,9,19,45,"Plasma",1693,10,instance_npcname("20FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",9,9,19,45,"Plasma",1696,10,instance_npcname("20FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",9,9,19,45,"Plasma",1695,5,instance_npcname("20FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",9,9,19,45,"Plasma",1697,5,instance_npcname("20FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",9,9,19,45,"Plasma",1694,5,instance_npcname("20FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",52,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("20FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 21st Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("21FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 21
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 21st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,12,51,0 script 21FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("21FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("21FGate102tower", instance_id());
+ areamonster "1@tower",93,9,103,45,"Muscipular",1780,15,instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",93,9,103,45,"Drosera",1781,15,instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",93,9,103,45,"Flora",1118,15,instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",93,9,103,45,"Hydra",1068,15,instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",93,9,103,45,"Mandragora",1020,10,instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",93,9,103,45,"Rafflesia",1162,10,instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",136,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 22nd Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("22FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 22
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 22nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,96,51,0 script 22FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("22FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("22FGate102tower", instance_id());
+ areamonster "1@tower",181,9,191,45,"Penomena",1216,15,instance_npcname("22FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",181,9,191,45,"Obeaune",1044,10,instance_npcname("22FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",181,9,191,45,"Marse",1144,10,instance_npcname("22FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",181,9,191,45,"Swordfish",1069,10,instance_npcname("22FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",181,9,191,45,"Hydra",1068,5,instance_npcname("22FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",224,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("22FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 23rd Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("23FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 23
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 23rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,184,51,0 script 23FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("23FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("23FGate102tower", instance_id());
+ areamonster "1@tower",267,9,277,45,"Joker",1131,15,instance_npcname("23FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",267,9,277,45,"Carat",1267,15,instance_npcname("23FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",267,9,277,45,"Jakk",1130,10,instance_npcname("23FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",310,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("23FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 24th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("24FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 24
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 24th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,270,51,0 script 24FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("24FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("24FGate102tower", instance_id());
+ areamonster "1@tower",352,9,362,45,"Cat o' Nine Tails",1307,15,instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",352,9,362,45,"Moonlight",1150,1,instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "1@tower",352,9,362,45,"Nine Tail",1180,15,instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "1@tower",395,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@tower",instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 25th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("25FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 25
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 25th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+1@tower,355,51,0 script 25FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("25FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("25FGate102tower", instance_id());
+ initnpctimer;
+ end;
+
+OnTouch_:
+ getitem 6000,1; //Dark_Ashes
+ warp "2@tower",52,354;
+ end;
+
+OnTimer120000:
+ disablenpc instance_npcname("25FGate102tower", instance_id());
+ donpcevent instance_npcname("25FGate102tower-2", instance_id())+"::OnEnable";
+ stopnpctimer;
+ end;
+}
+
+1@tower,355,51,0 script 25FGate102tower-2 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("25FGate102tower-2", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("25FGate102tower-2", instance_id());
+ end;
+
+OnTouch_:
+ warp "2@tower",52,354;
+ end;
+}
+
+/*
+1@tower,71,1,0 script #Manager Mode1 844,{
+ mes "Please enter the password.";
+ input .@inputstr$;
+ next;
+ if (.@inputstr$ == "dmc2008") {
+ mes "This NPC manages the tower from the 1st to the 25th Floor.";
+ mes "Please enter the Floor number to open.";
+ mes "(i.g.: 1F->1, 25F->25)";
+ input .@input,1,25;
+ next;
+ if (.@input < 1 || .@input > 25)
+ mes "You can only enter a number from 1 to 25.";
+ else {
+ donpcevent instance_npcname(.@input+"FGate102tower", instance_id())+"::OnEnable";
+ mes "*** Floor "+ .@input + " is now being opened. ***";
+ }
+ }
+ close;
+}
+*/
+
+// Floors 26-50
+2@tower,29,365,2 script Immortal Furnace#1 844,{
+ end;
+
+OnInstanceInit:
+ areamonster "2@tower",9,351,19,387,"Gibbet",1503,10,instance_npcname("Immortal Furnace#1", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",9,351,19,387,"Enchanted Peach Tree",1410,10,instance_npcname("Immortal Furnace#1", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",9,351,19,387,"Wooden Golem",1497,10,instance_npcname("Immortal Furnace#1", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",9,351,19,387,"Stone Shooter",1495,10,instance_npcname("Immortal Furnace#1", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",9,351,19,387,"Elder Willow",1033,5,instance_npcname("Immortal Furnace#1", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("Immortal Furnace#1", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 26th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("26FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 26
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 26th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,12,393,0 script 26FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("26FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("26FGate102tower", instance_id());
+ areamonster "2@tower",93,351,103,387,"Goblin Archer",1258,10,instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,351,103,387,"Goblin",1122,10,instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,351,103,387,"Goblin",1123,5,instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,351,103,387,"Goblin",1124,5,instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,351,103,387,"Gobin",1125,5,instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,351,103,387,"Goblin",1126,5,instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",136,354;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 27th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("27FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 27
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 27th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,96,393,0 script 27FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("27FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("27FGate102tower", instance_id());
+ areamonster "2@tower",181,351,191,387,"Arclouse",1194,30,instance_npcname("27FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",181,351,191,387,"Neraid",1255,15,instance_npcname("27FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",181,351,191,387,"Pest",1256,15,instance_npcname("27FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",181,351,191,387,"Kukre",1070,10,instance_npcname("27FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",224,354;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("27FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 28th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("28FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 28
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 28th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,184,393,0 script 28FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("28FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("28FGate102tower", instance_id());
+ areamonster "2@tower",267,351,277,387,"Dark Frame",1260,10,instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,351,277,387,"The Paper",1375,10,instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,351,277,387,"Hylozoist",1510,10,instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,351,277,387,"Quve",1508,5,instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,351,277,387,"Lude",1509,5,instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,351,277,387,"Whisper",1179,10,instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",310,354;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 29th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("29FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 29
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 29th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,270,393,0 script 29FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("29FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("29FGate102tower", instance_id());
+ areamonster "2@tower",352,351,362,387,"White Lady",1630,1,instance_npcname("29FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",352,351,362,387,"Evil Nymph",1416,30,instance_npcname("29FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",395,354;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("29FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 30th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("30FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 30
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 30th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,355,393,0 script 30FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("30FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("30FGate102tower", instance_id());
+ areamonster "2@tower",9,267,19,303,"Gig",1387,20,instance_npcname("30FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",9,267,19,303,"Iron Fist",1212,15,instance_npcname("30FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",9,267,19,303,"Argiope",1099,10,instance_npcname("30FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",9,267,19,303,"Scorpion",1001,5,instance_npcname("30FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",52,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("30FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 31st Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("31FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 31
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 31st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,12,309,0 script 31FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("31FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("31FGate102tower", instance_id());
+ areamonster "2@tower",93,267,103,303,"Goblin Leader",1299,1,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,267,103,303,"Goblin Archer",1258,10,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,267,103,303,"Goblin",1122,10,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,267,103,303,"Goblin",1123,5,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,267,103,303,"Goblin",1124,5,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,267,103,303,"Goblin",1125,5,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,267,103,303,"Goblin",1126,5,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",136,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 32nd Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("32FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 32
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 32nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,96,309,0 script 32FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("32FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("32FGate102tower", instance_id());
+ areamonster "2@tower",181,267,191,303,"Kobold Leader",1296,1,instance_npcname("32FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",181,267,191,303,"Kobold",1133,15,instance_npcname("32FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",181,267,191,303,"Kobold_Archer",1282,15,instance_npcname("32FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",181,267,191,303,"Kobold",1134,10,instance_npcname("32FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",181,267,191,303,"Kobold",1135,5,instance_npcname("32FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",224,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("32FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 33rd Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("33FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 33
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 33rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,184,309,0 script 33FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("33FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("33FGate102tower", instance_id());
+ areamonster "2@tower",267,267,277,303,"Flame Skull",1869,20,instance_npcname("33FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,267,277,303,"Whisper",1179,10,instance_npcname("33FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,267,277,303,"Giant Whisper",1186,10,instance_npcname("33FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",310,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("33FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 34th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("34FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 34
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 34th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,270,309,0 script 34FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("34FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("34FGate102tower", instance_id());
+ areamonster "2@tower",352,267,362,303,"Turtle General",1312,1,instance_npcname("34FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",352,267,362,303,"Freezer",1319,10,instance_npcname("34FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",352,267,362,303,"Solider",1316,10,instance_npcname("34FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",352,267,362,303,"Heater",1318,10,instance_npcname("34FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",352,267,362,303,"Permeter",1314,10,instance_npcname("34FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",395,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("34FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 35th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("35FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 35
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 35th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,355,309,0 script 35FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("35FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("35FGate102tower", instance_id());
+ areamonster "2@tower",9,180,19,216,"Anolian",1206,30,instance_npcname("35FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",9,180,19,216,"Grove",1687,10,instance_npcname("35FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",9,180,19,216,"Alligator",1271,10,instance_npcname("35FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",52,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("35FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 36th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("36FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 36
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 36th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,12,222,0 script 36FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("36FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("36FGate102tower", instance_id());
+ areamonster "2@tower",93,180,103,216,"Clock Tower Manager",1270,10,instance_npcname("36FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,180,103,216,"Clock",1269,10,instance_npcname("36FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,180,103,216,"Alarm",1193,30,instance_npcname("36FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",136,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("36FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 37th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("37FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 37
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 37th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,96,222,0 script 37FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("37FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("37FGate102tower", instance_id());
+ areamonster "2@tower",181,180,191,216,"Death Word",1698,25,instance_npcname("37FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",181,180,191,216,"Rideword",1195,25,instance_npcname("37FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",224,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("37FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 38th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("38FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 38
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 38th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,184,222,0 script 38FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("38FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("38FGate102tower", instance_id());
+ areamonster "2@tower",267,180,277,216,"Evil Nymph",1416,10,instance_npcname("38FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,180,277,216,"Mao Gui",1513,10,instance_npcname("38FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,180,277,216,"Taoist Hermit",1412,10,instance_npcname("38FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,180,277,216,"Zhu Po Long",1514,10,instance_npcname("38FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,180,277,216,"Jin Guai",1517,5,instance_npcname("38FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",310,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("38FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 39th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("39FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 39
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 39th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,270,222,0 script 39FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("39FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("39FGate102tower", instance_id());
+ areamonster "2@tower",352,180,362,216,"Samurai Specter",1492,1,instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",352,180,362,216,"Shinobi",1401,10,instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",352,180,362,216,"Tengu",1405,10,instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",352,180,362,216,"Firelock Soldier",1403,5,instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",352,180,362,216,"Miyabi Doll",1404,10,instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",352,180,362,216,"Karakasa",1400,5,instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",395,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 40th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("40FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 40
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 40th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,355,222,0 script 40FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("40FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("40FGate102tower", instance_id());
+ areamonster "2@tower",9,96,19,132,"Kraben",1587,50,instance_npcname("40FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",52,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("40FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 41st Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("41FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 41
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 41st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,12,138,0 script 41FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("41FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("41FGate102tower", instance_id());
+ areamonster "2@tower",93,96,103,132,"Sleeper",1386,20,instance_npcname("41FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,96,103,132,"Sting",1207,10,instance_npcname("41FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,96,103,132,"Mi Gao",1516,10,instance_npcname("41FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,96,103,132,"Sandman",1165,5,instance_npcname("41FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,96,103,132,"Hode",1127,5,instance_npcname("41FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",136,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("41FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 42nd Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("42FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 42
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 42nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,96,138,0 script 42FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("42FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("42FGate102tower", instance_id());
+ areamonster "2@tower",181,96,191,132,"Medusa",1148,10,instance_npcname("42FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",181,96,191,132,"Sidewinder",1037,40,instance_npcname("42FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",181,96,191,132,"Anacondaq",1030,5,instance_npcname("42FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",181,96,191,132,"Boa",1025,5,instance_npcname("42FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",224,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("42FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 43rd Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("43FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 43
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 43rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,184,138,0 script 43FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("43FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("43FGate102tower", instance_id());
+ areamonster "2@tower",267,96,277,132,"Hatii Baby",1515,20,instance_npcname("43FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,96,277,132,"Baphomet Jr.",1101,20,instance_npcname("43FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,96,277,132,"Orc Baby",1686,1,instance_npcname("43FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,96,277,132,"Baby Desert Wolf",1107,10,instance_npcname("43FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,96,277,132,"Savage Babe",1167,10,instance_npcname("43FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",310,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("43FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 44th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("44FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 44
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 44th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,270,138,0 script 44FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("44FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("44FGate102tower", instance_id());
+ areamonster "2@tower",352,96,362,132,"Osiris",1038,1,instance_npcname("44FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",352,96,362,132,"Ancient Mummy",1297,15,instance_npcname("44FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",352,96,362,132,"Verit",1032,15,instance_npcname("44FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",352,96,362,132,"Mummy",1041,20,instance_npcname("44FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",395,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("44FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 45th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("45FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 45
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 45th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,355,138,0 script 45FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("45FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("45FGate102tower", instance_id());
+ areamonster "2@tower",9,9,19,45,"Seeker",1774,20,instance_npcname("45FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",9,9,19,45,"Beholder",1633,20,instance_npcname("45FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",52,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("45FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 46th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("46FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 46
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 46th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,12,51,0 script 46FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("46FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("46FGate102tower", instance_id());
+ areamonster "2@tower",93,9,103,45,"Deleter",1384,20,instance_npcname("46FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,9,103,45,"Deleter",1385,10,instance_npcname("46FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,9,103,45,"Petite",1156,10,instance_npcname("46FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",93,9,103,45,"Petite",1155,10,instance_npcname("46FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",136,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("46FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 47th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("47FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 47
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 47 Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,96,51,0 script 47FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("47FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("47FGate102tower", instance_id());
+ areamonster "2@tower",181,9,191,45,"Ancient Worm",1305,10,instance_npcname("47FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",181,9,191,45,"Ancient Mummy",1297,10,instance_npcname("47FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",181,9,191,45,"Ancient Mimic",1699,10,instance_npcname("47FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",224,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("47FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 48th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("48FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 48
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 48th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,184,51,0 script 48FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("48FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("48FGate102tower", instance_id());
+ areamonster "2@tower",267,9,277,45,"Grizzly",1381,20,instance_npcname("48FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,9,277,45,"Leib Olmai",1306,7,instance_npcname("48FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,9,277,45,"Zipper Bear",1417,5,instance_npcname("48FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,9,277,45,"Sasquatch",1243,5,instance_npcname("48FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",267,9,277,45,"Bigfoot",1060,5,instance_npcname("48FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",310,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("48FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 49th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("49FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 49
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 49th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,270,51,0 script 49FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("49FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("49FGate102tower", instance_id());
+ areamonster "2@tower",352,9,362,45,"Pharaoh",1157,1,instance_npcname("49FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",352,9,362,45,"Amon Ra",1511,1,instance_npcname("49FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",352,9,362,45,"Anubis",1098,10,instance_npcname("49FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",352,9,362,45,"Marduk",1140,10,instance_npcname("49FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "2@tower",352,9,362,45,"Matyr",1146,10,instance_npcname("49FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "2@tower",395,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@tower",instance_npcname("49FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 50th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("50FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 50
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 50th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+2@tower,355,51,0 script 50FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("50FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("50FGate102tower", instance_id());
+ initnpctimer;
+ end;
+
+OnTouch_:
+ getitem 6000,1; //Dark_Ashes
+ warp "3@tower",52,354;
+ end;
+
+OnTimer120000:
+ disablenpc instance_npcname("50FGate102tower", instance_id());
+ donpcevent instance_npcname("50FGate102tower-2", instance_id())+"::OnEnable";
+ stopnpctimer;
+ end;
+}
+
+2@tower,355,51,0 script 50FGate102tower-2 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("50FGate102tower-2", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("50FGate102tower-2", instance_id());
+ end;
+
+OnTouch_:
+ warp "3@tower",52,354;
+ end;
+}
+
+/*
+2@tower,71,1,0 script #Manager Mode2 844,{
+ mes "Please enter the password.";
+ input .@inputstr$;
+ next;
+ if (.@inputstr$ == "dmc2008") {
+ mes "This NPC manages the tower from the 26st to the 50th Floor.";
+ mes "Please enter the Floor number to open.";
+ mes "(i.g.: 26F->26, 50F->50)";
+ input .@input,26,50;
+ next;
+ if (.@onput < 26 || .@input > 50)
+ mes "You can only enter a number from 26 to 50.";
+ else {
+ donpcevent instance_npcname(.@input+"FGate102tower", instance_id())+"::OnEnable";
+ mes "*** Floor "+ .@input + " is now being opened. ***";
+ }
+ }
+ close;
+}
+*/
+
+// Floors 51-75
+3@tower,29,365,2 script Immortal Furnace#2 844,{
+ end;
+
+OnInstanceInit:
+ areamonster "3@tower",9,351,19,387,"Mini Demon",1292,20,instance_npcname("Immortal Furnace#2", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",9,351,19,387,"Diabolic",1382,20,instance_npcname("Immortal Furnace#2", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",9,351,19,387,"Deviruchi",1109,10,instance_npcname("Immortal Furnace#2", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("Immortal Furnace#2", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 51st Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("51FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 51
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 51st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,12,393,0 script 51FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("51FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("51FGate102tower", instance_id());
+ areamonster "3@tower",93,351,103,387,"Harpy",1376,20,instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,351,103,387,"Grand Peco",1369,10,instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,351,103,387,"Bloody Butterfly",1408,10,instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,351,103,387,"Gargoyle",1253,10,instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,351,103,387,"Hill Wind",1680,5,instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,351,103,387,"Hill Wind",1629,5,instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",136,354;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 52nd Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("52FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 52
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 52nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,96,393,0 script 52FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("52FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("52FGate102tower", instance_id());
+ areamonster "3@tower",181,351,191,387,"Assaulter",1315,25,instance_npcname("52FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",181,351,191,387,"Shinobi",1401,30,instance_npcname("52FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",224,354;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("52FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 53rd Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("53FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 53
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 53rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,184,393,0 script 53FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("53FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("53FGate102tower", instance_id());
+ areamonster "3@tower",267,351,277,387,"Chepet",1250,10,instance_npcname("53FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,351,277,387,"Mariontte",1143,10,instance_npcname("53FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,351,277,387,"Miyabi Doll",1404,10,instance_npcname("53FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",310,354;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("53FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 54th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("54FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 54
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 54th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,270,393,0 script 54FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("54FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("54FGate102tower", instance_id());
+ areamonster "3@tower",352,351,362,387,"Medusa",1148,25,instance_npcname("54FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",352,351,362,387,"Evil Snake Lord",1418,1,instance_npcname("54FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",352,351,362,387,"Isis",1029,15,instance_npcname("54FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",352,351,362,387,"Sidewinder",1037,15,instance_npcname("54FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",395,354;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("54FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 55th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("55FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 55
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 55th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,355,393,0 script 55FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("55FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("55FGate102tower", instance_id());
+ areamonster "3@tower",9,267,19,303,"Freezer",1319,10,instance_npcname("55FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",9,267,19,303,"Hatii Baby",1515,10,instance_npcname("55FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",9,267,19,303,"Ice Titan",1777,15,instance_npcname("55FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",9,267,19,303,"Snowier",1775,10,instance_npcname("55FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",9,267,19,303,"Gazeti",1778,10,instance_npcname("55FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",52,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("55FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 56th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("56FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 56
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 56th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,12,309,0 script 56FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("56FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("56FGate102tower", instance_id());
+ areamonster "3@tower",93,267,103,303,"Arc Angeling",1388,1,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,267,103,303,"Deviling",1582,1,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,267,103,303,"Angeling",1096,1,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,267,103,303,"Ghostring",1120,1,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,267,103,303,"Mastering",1090,1,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,267,103,303,"Metaling",1613,25,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,267,103,303,"Marin",1242,5,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,267,103,303,"Poporing",1031,5,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,267,103,303,"Drops",1113,5,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",136,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 57th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("57FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 57
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 57th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,96,309,0 script 57FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("57FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("57FGate102tower", instance_id());
+ areamonster "3@tower",181,267,191,303,"Phendark",1202,20,instance_npcname("57FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",181,267,191,303,"Rybio",1201,10,instance_npcname("57FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",181,267,191,303,"Zombie Prisoner",1197,10,instance_npcname("57FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",181,267,191,303,"Skeleton Prisoner",1196,5,instance_npcname("57FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",181,267,191,303,"Injustice",1257,5,instance_npcname("57FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",224,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("57FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 58th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("58FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 58
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 58th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,184,309,0 script 58FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("58FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("58FGate102tower", instance_id());
+ areamonster "3@tower",267,267,277,303,"Ancient Mimic",1699,30,instance_npcname("58FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,267,277,303,"Mimic",1191,20,instance_npcname("58FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,267,277,303,"Mystcase",1249,10,instance_npcname("58FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",310,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("58FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 59th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("59FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 59
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 59th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,270,309,0 script 59FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("59FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("59FGate102tower", instance_id());
+ areamonster "3@tower",352,267,362,303,"Egnigem Cenia",1658,1,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",352,267,362,303,"Doppelganger",1046,1,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",352,267,362,303,"Armeyer Dinze",1654,10,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",352,267,362,303,"Wickebine Tres",1653,10,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",352,267,362,303,"Laurell Winder",1657,10,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",352,267,362,303,"Kavach Icarus",1656,10,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",352,267,362,303,"Errende Ebecee",1655,10,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",352,267,362,303,"Egnigem Cenia",1652,10,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",395,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 60th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("60FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 60
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 60th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,355,309,0 script 60FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("60FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("60FGate102tower", instance_id());
+ areamonster "3@tower",9,180,19,216,"Agav",1769,10,instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",9,180,19,216,"Echio",1770,10,instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",9,180,19,216,"Isilla",1772,5,instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",9,180,19,216,"Mobster",1313,10,instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",9,180,19,216,"Pasana",1154,10,instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",9,180,19,216,"Vanberk",1771,5,instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",52,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 61st Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("61FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 61
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 61st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,12,222,0 script 61FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("61FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("61FGate102tower", instance_id());
+ areamonster "3@tower",93,180,103,216,"Wanderer",1208,35,instance_npcname("61FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",136,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("61FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 62nd Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("62FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 62
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 62nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,96,222,0 script 62FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("62FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("62FGate102tower", instance_id());
+ areamonster "3@tower",181,180,191,216,"Ragged Zombie",1865,20,instance_npcname("62FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",181,180,191,216,"Zombie Master",1298,10,instance_npcname("62FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",181,180,191,216,"Zombie Prisoner",1197,5,instance_npcname("62FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",181,180,191,216,"Orc Zombie",1153,5,instance_npcname("62FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",181,180,191,216,"Zombie",1015,5,instance_npcname("62FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",224,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("62FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 63rd Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("63FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 63
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 63rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,184,222,0 script 63FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("63FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("63FGate102tower", instance_id());
+ areamonster "3@tower",267,180,277,216,"Ungoliant",1618,30,instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,180,277,216,"Ancient Worm",1305,2,instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,180,277,216,"Caterpillar",1300,2,instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,180,277,216,"Creamy Fear",1293,2,instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,180,277,216,"Killer Mantis",1294,2,instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,180,277,216,"Giant Hornet",1303,2,instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",310,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 64th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("64FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 64
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 64th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,270,222,0 script 64FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("64FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("64FGate102tower", instance_id());
+ areamonster "3@tower",352,180,362,216,"Atros",1785,1,instance_npcname("64FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",352,180,362,216,"Galion",1783,20,instance_npcname("64FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",395,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("64FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 65th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("65FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 65
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 65th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,355,222,0 script 65FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("65FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("65FGate102tower", instance_id());
+ areamonster "3@tower",9,96,19,132,"Incubus",1374,20,instance_npcname("65FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",9,96,19,132,"Aliot",1736,20,instance_npcname("65FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",9,96,19,132,"Injustice",1257,10,instance_npcname("65FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",52,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("65FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 66th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("66FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 66
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 66th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,12,138,0 script 66FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("66FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("66FGate102tower", instance_id());
+ areamonster "3@tower",93,96,103,132,"Acidus",1716,10,instance_npcname("66FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,96,103,132,"Acidus",1713,10,instance_npcname("66FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,96,103,132,"Deleter",1384,5,instance_npcname("66FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,96,103,132,"Mutant Dragonoid",1262,10,instance_npcname("66FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,96,103,132,"Petite",1156,5,instance_npcname("66FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",136,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("66FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 67th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("67FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 67
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 67th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,96,138,0 script 67FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("67FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("67FGate102tower", instance_id());
+ areamonster "3@tower",181,96,191,132,"Lava Golem",1366,10,instance_npcname("67FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",181,96,191,132,"Stalactic Golem",1278,10,instance_npcname("67FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",181,96,191,132,"Ice Titan",1777,10,instance_npcname("67FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",181,96,191,132,"Wooden Golem",1497,5,instance_npcname("67FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",181,96,191,132,"Golem",1040,5,instance_npcname("67FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",224,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("67FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 68th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("68FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 68
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 68th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,184,138,0 script 68FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("68FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("68FGate102tower", instance_id());
+ areamonster "3@tower",267,96,277,132,"Dame of Sentinel",1700,20,instance_npcname("68FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,96,277,132,"Mistress of Shelter",1701,10,instance_npcname("68FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,96,277,132,"Baroness of Retribution",1702,10,instance_npcname("68FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,96,277,132,"Lady Solace",1703,10,instance_npcname("68FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,96,277,132,"False Angel",1371,10,instance_npcname("68FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",310,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("68FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 69th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("69FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 69
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 69th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,270,138,0 script 69FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("69FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("69FGate102tower", instance_id());
+ areamonster "3@tower",352,96,362,132,"Orc Hero",1087,1,instance_npcname("69FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",352,96,362,132,"Orc Lord",1190,1,instance_npcname("69FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",352,96,362,132,"Orc Baby",1686,20,instance_npcname("69FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",395,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("69FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 70th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("70FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 70
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 70th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,355,138,0 script 70FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("70FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("70FGate102tower", instance_id());
+ areamonster "3@tower",9,9,19,45,"Succubus",1370,20,instance_npcname("70FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",9,9,19,45,"Nightmare Terror",1379,20,instance_npcname("70FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",9,9,19,45,"Incubus",1374,20,instance_npcname("70FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",9,9,19,45,"Nightmare",1061,5,instance_npcname("70FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",52,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("70FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 71st Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("71FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 71
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 71st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,12,51,0 script 71FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("71FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("71FGate102tower", instance_id());
+ areamonster "3@tower",93,9,103,45,"Margaretha Sorin",1637,10,instance_npcname("71FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,9,103,45,"Permeter",1314,10,instance_npcname("71FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,9,103,45,"Errende Ebecee",1655,10,instance_npcname("71FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",93,9,103,45,"Enchanted Peach Tree",1410,10,instance_npcname("71FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",136,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("71FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 72nd Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("72FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 72
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 72nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,96,51,0 script 72FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("72FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("72FGate102tower", instance_id());
+ areamonster "3@tower",181,9,191,45,"Succubus",1370,10,instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",181,9,191,45,"Loli Ruri",1505,20,instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",181,9,191,45,"Aliza",1737,10,instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",181,9,191,45,"Zealotus",1200,5,instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",181,9,191,45,"Alice",1275,5,instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",181,9,191,45,"Green Maiden",1631,10,instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",224,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 73rd Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("73FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 73
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 73rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,184,51,0 script 73FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("73FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("73FGate102tower", instance_id());
+ areamonster "3@tower",267,9,277,45,"Dimik",1671,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,9,277,45,"Dimik",1673,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,9,277,45,"Dimik",1672,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,9,277,45,"Venatu",1677,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,9,277,45,"Dimik",1670,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,9,277,45,"Archdam",1668,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,9,277,45,"Venatu",1678,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,9,277,45,"Venatu",1679,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",267,9,277,45,"Venatu",1676,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",310,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 74th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("74FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 74
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 74th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,270,51,0 script 74FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("74FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("74FGate102tower", instance_id());
+ areamonster "3@tower",352,9,362,45,"Baphomet",1039,1,instance_npcname("74FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",352,9,362,45,"Dark Lord",1272,1,instance_npcname("74FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",352,9,362,45,"Baphomet Jr.",1101,20,instance_npcname("74FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "3@tower",352,9,362,45,"Dark Illusion",1302,10,instance_npcname("74FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "3@tower",395,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("3@tower",instance_npcname("74FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All Monsters on the 75th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("75FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 75
+ }
+ else
+ instance_announce 0, "Remaining Monsters on the 75th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+3@tower,355,51,0 script 75FGate102tower 45,1,1,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("75FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("75FGate102tower", instance_id());
+ initnpctimer;
+ end;
+
+OnTouch_:
+ getitem 6000,1; //Dark_Ashes
+ warp "4@tower",52,354;
+ end;
+
+OnTimer120000:
+ disablenpc instance_npcname("75FGate102tower", instance_id());
+ donpcevent instance_npcname("75FGate102tower-2", instance_id())+"::OnEnable";
+ stopnpctimer;
+ end;
+}
+
+3@tower,355,51,0 script 75FGate102tower-2 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("75FGate102tower-2", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("75FGate102tower-2", instance_id());
+ end;
+
+OnTouch_:
+ warp "4@tower",52,354;
+ end;
+}
+
+/*
+3@tower,71,1,0 script #Manager Mode3 844,{
+ mes "Please enter the password.";
+ input .@inputstr$;
+ next;
+ if (.@inputstr$ == "dmc2008") {
+ mes "This NPC manages the tower from the 51st to the 75th Floor.";
+ mes "Please enter the Floor number to open.";
+ mes "(i.g.: 51F->51, 75F->75)";
+ input .@input,51,75;
+ next;
+ if (.@input < 51 || .@input > 75)
+ mes "You can only enter a number from 51 to 75.";
+ else {
+ donpcevent instance_npcname(.@input+"FGate102tower", instance_id())+"::OnEnable";
+ mes "*** Floor "+ .@input + " is now being opened. ***";
+ }
+ }
+ close;
+}
+*/
+
+// Floors 76-99
+4@tower,29,365,2 script Immortal Furnace#3 844,{
+ end;
+
+OnInstanceInit:
+ areamonster "4@tower",9,351,19,387,"Abysmal Knight",1219,30,instance_npcname("Immortal Furnace#3", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",9,351,19,387,"Nightmare Terror",1379,20,instance_npcname("Immortal Furnace#3", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",9,351,19,387,"Nightmare",1061,10,instance_npcname("Immortal Furnace#3", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("Immortal Furnace#3", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 76th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("76FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 76
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 76th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,12,393,0 script 76FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("76FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("76FGate102tower", instance_id());
+ areamonster "4@tower",93,351,103,387,"Banshee",1867,30,instance_npcname("76FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",93,351,103,387,"Wraith Dead",1291,10,instance_npcname("76FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",93,351,103,387,"Evil Druid",1117,10,instance_npcname("76FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",93,351,103,387,"Wraith",1192,10,instance_npcname("76FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",93,351,103,387,"Wind Ghost",1263,10,instance_npcname("76FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",136,354;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("76FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 77th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("77FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 77
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 77th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,96,393,0 script 77FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("77FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("77FGate102tower", instance_id());
+ areamonster "4@tower",181,351,191,387,"Sword Master",1829,5,instance_npcname("77FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,351,191,387,"Bloody Knight",1268,10,instance_npcname("77FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,351,191,387,"Abysmal Knight",1219,5,instance_npcname("77FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,351,191,387,"Dullahan",1504,10,instance_npcname("77FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,351,191,387,"Raydric",1163,20,instance_npcname("77FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",224,354;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("77FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the Floor 78th have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("78FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 78
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 78th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,184,393,0 script 78FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("78FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("78FGate102tower", instance_id());
+ areamonster "4@tower",267,351,277,387,"Hydro",1720,10,instance_npcname("78FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",267,351,277,387,"Ferus",1714,10,instance_npcname("78FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",267,351,277,387,"Ferus",1717,10,instance_npcname("78FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",267,351,277,387,"Deleter",1385,5,instance_npcname("78FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",267,351,277,387,"Petite",1155,5,instance_npcname("78FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",310,354;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("78FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 79th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("79FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 79
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 79th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,270,393,0 script 79FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("79FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("79FGate102tower", instance_id());
+ areamonster "4@tower",352,351,362,387,"Falling Bishop",1871,1,instance_npcname("79FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",352,351,362,387,"Necromancer",1870,15,instance_npcname("79FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",395,354;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("79FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 80th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("80FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 80
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 80th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,355,393,0 script 80FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("80FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("80FGate102tower", instance_id());
+ areamonster "4@tower",9,267,19,303,"Mysteltainn",1203,20,instance_npcname("80FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",9,267,19,303,"Ogretooth",1204,20,instance_npcname("80FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",9,267,19,303,"Executioner",1205,20,instance_npcname("80FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",52,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("80FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 81st Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("81FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 81
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 81st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,12,309,0 script 81FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("81FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("81FGate102tower", instance_id());
+ areamonster "4@tower",93,267,103,303,"Bloody Knight",1268,10,instance_npcname("81FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",93,267,103,303,"Agav",1769,10,instance_npcname("81FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",93,267,103,303,"Bloody Murderer",1507,10,instance_npcname("81FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",93,267,103,303,"Skogul",1752,10,instance_npcname("81FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",93,267,103,303,"Injustice",1257,10,instance_npcname("81FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",136,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("81FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 82nd Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("82FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 82
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 82nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,96,309,0 script 82FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("82FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("82FGate102tower", instance_id());
+ areamonster "4@tower",181,267,191,303,"Skeggiold",1754,10,instance_npcname("82FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,267,191,303,"Dark Illusion",1302,10,instance_npcname("82FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,267,191,303,"Gryphon",1259,10,instance_npcname("82FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,267,191,303,"Chimera",1283,10,instance_npcname("82FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",224,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("82FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 83rd Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("83FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 83
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 83rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,184,309,0 script 83FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("83FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("83FGate102tower", instance_id());
+ areamonster "4@tower",267,267,277,303,"Succubus",1370,10,instance_npcname("83FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",267,267,277,303,"Dark Illusion",1302,20,instance_npcname("83FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",267,267,277,303,"Owl Duke",1320,10,instance_npcname("83FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",267,267,277,303,"Owl Baron",1295,10,instance_npcname("83FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",267,267,277,303,"Incubus",1374,10,instance_npcname("83FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",310,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("83FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 84th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("84FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 84
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 84th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,270,309,0 script 84FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("84FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("84FGate102tower", instance_id());
+ areamonster "4@tower",352,267,362,303,"Ifrit",1832,1,instance_npcname("84FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",395,270;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("84FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 85th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("85FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 85
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 85th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,355,309,0 script 85FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("85FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("85FGate102tower", instance_id());
+ areamonster "4@tower",9,180,19,216,"Hydro",1720,10,instance_npcname("85FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",9,180,19,216,"Gryphon",1259,10,instance_npcname("85FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",9,180,19,216,"Chimera",1283,10,instance_npcname("85FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",9,180,19,216,"Majoruros",1310,10,instance_npcname("85FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",52,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("85FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 86th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("86FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 86
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 86th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,12,222,0 script 86FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("86FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("86FGate102tower", instance_id());
+ areamonster "4@tower",93,180,103,216,"Salamander",1831,15,instance_npcname("86FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",93,180,103,216,"Kasa",1833,20,instance_npcname("86FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",93,180,103,216,"Lava Golem",1366,15,instance_npcname("86FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",93,180,103,216,"Gajomart",1309,10,instance_npcname("86FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",136,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("86FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 87th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("87FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 87
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 87th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,96,222,0 script 87FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("87FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("87FGate102tower", instance_id());
+ areamonster "4@tower",181,180,191,216,"Necromancer",1870,15,instance_npcname("87FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,180,191,216,"Anubis",1098,15,instance_npcname("87FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,180,191,216,"Wraith Dead",1291,10,instance_npcname("87FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,180,191,216,"Ancient Mummy",1297,10,instance_npcname("87FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,180,191,216,"Khalitzburg",1132,10,instance_npcname("87FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",224,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("87FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 88th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("88FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 88
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 88th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,184,222,0 script 88FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("88FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("88FGate102tower", instance_id());
+ areamonster "4@tower",267,180,277,216,"Odium of Thanatos",1704,6,instance_npcname("88FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",267,180,277,216,"Despero of Thanatos",1705,6,instance_npcname("88FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",267,180,277,216,"Maero of Thanatos",1706,6,instance_npcname("88FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",267,180,277,216,"Dolor of Thanatos",1707,6,instance_npcname("88FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",310,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("88FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 89th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("89FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 89
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 89th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,270,222,0 script 89FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("89FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("89FGate102tower", instance_id());
+ areamonster "4@tower",352,180,362,216,"Valkyrie Randgris",1751,1,instance_npcname("89FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",352,180,362,216,"Baroness of Retribution",1702,10,instance_npcname("89FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",352,180,362,216,"Lady Solace",1703,10,instance_npcname("89FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",352,180,362,216,"False Angel",1371,10,instance_npcname("89FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",395,183;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("89FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 90th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("90FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 90
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 90th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,355,222,0 script 90FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("90FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("90FGate102tower", instance_id());
+ areamonster "4@tower",9,96,19,132,"Cecil Damon",1638,10,instance_npcname("90FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",9,96,19,132,"Bow Master",1830,10,instance_npcname("90FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",9,96,19,132,"Kavac",1656,30,instance_npcname("90FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",52,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("90FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 91st Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("91FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 91
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 91st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,12,138,0 script 91FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("91FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("91FGate102tower", instance_id());
+ areamonster "4@tower",93,96,103,132,"Kathryne Keyron",1639,15,instance_npcname("91FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",93,96,103,132,"Elder",1377,10,instance_npcname("91FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",93,96,103,132,"Laurell Weinder",1657,10,instance_npcname("91FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",93,96,103,132,"Wind Ghost",1263,10,instance_npcname("91FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",93,96,103,132,"Marduk",1140,10,instance_npcname("91FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",136,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("91FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 92nd Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("92FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 92
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 92nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,96,138,0 script 92FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("92FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("92FGate102tower", instance_id());
+ areamonster "4@tower",181,96,191,132,"Seyren Windsor",1634,15,instance_npcname("92FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,96,191,132,"Bloody Knight",1268,10,instance_npcname("92FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,96,191,132,"Abysmal Knight",1219,10,instance_npcname("92FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,96,191,132,"Wanderer",1208,10,instance_npcname("92FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",224,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("92FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 93rd Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("93FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 93
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 93rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,184,138,0 script 93FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("93FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("93FGate102tower", instance_id());
+ areamonster "4@tower",267,96,277,132,"Sword Master",1829,15,instance_npcname("93FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",267,96,277,132,"Bow Master",1830,15,instance_npcname("93FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",310,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("93FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 94th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("94FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 94
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 94th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,270,138,0 script 94FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("94FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("94FGate102tower", instance_id());
+ areamonster "4@tower",352,96,362,132,"Beelzebub",1873,1,instance_npcname("94FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",352,96,362,132,"Hunter Fly",1035,30,instance_npcname("94FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",352,96,362,132,"Steel Chonchon",1042,5,instance_npcname("94FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",352,96,362,132,"Dragon FLy",1091,5,instance_npcname("94FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",352,96,362,132,"Chonchon",1011,5,instance_npcname("94FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",395,99;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("94FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 95th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("95FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 95
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 95th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,355,138,0 script 95FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("95FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("95FGate102tower", instance_id());
+ areamonster "4@tower",9,9,19,45,"Valkyrie",1765,5,instance_npcname("95FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",9,9,19,45,"Skeggiold",1755,10,instance_npcname("95FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",9,9,19,45,"Skeggiold",1754,10,instance_npcname("95FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",52,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("95FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 96th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("96FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 96
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 96th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,12,51,0 script 96FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("96FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("96FGate102tower", instance_id());
+ areamonster "4@tower",93,9,103,45,"Incarnation of Morroc",1918,5,instance_npcname("96FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",93,9,103,45,"Incarnation of Morroc",1919,5,instance_npcname("96FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",93,9,103,45,"Incarnation of Morroc",1920,5,instance_npcname("96FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",93,9,103,45,"Incarnation of Morroc",1921,5,instance_npcname("96FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",136,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("96FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 97th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("97FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 97
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 97th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,96,51,0 script 97FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("97FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("97FGate102tower", instance_id());
+ areamonster "4@tower",181,9,191,45,"Kathryne Keyron",1639,2,instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,9,191,45,"Seyren Windsor",1634,2,instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,9,191,45,"Margaretha Sorin",1637,2,instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,9,191,45,"Eremes Guile",1635,2,instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,9,191,45,"Howard Alt-Eisen",1636,2,instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead";
+ areamonster "4@tower",181,9,191,45,"Cecil Damon",1638,2,instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTouch_:
+ warp "4@tower",224,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 98th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("98FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 98
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 98th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,184,51,0 script 98FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("98FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("98FGate102tower", instance_id());
+ for( set .@i, 1; .@i <= 7; set .@i, .@i + 1 ) {
+ set .@mob_ran,rand(1,30);
+ if (.@mob_ran == 1)
+ areamonster "4@tower",267,9,277,45,"Kathryne Keyron",1639,2,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 2)
+ areamonster "4@tower",267,9,277,45,"Seyren Windsor",1634,2,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 3)
+ areamonster "4@tower",267,9,277,45,"Margaretha Sorin",1637,2,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 4)
+ areamonster "4@tower",267,9,277,45,"Eremes Guile",1635,2,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 5)
+ areamonster "4@tower",267,9,277,45,"Howard Alt-Eisen",1636,2,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 6)
+ areamonster "4@tower",267,9,277,45,"Cecil Damon",1638,2,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 7)
+ areamonster "4@tower",267,9,277,45,"Incarnation of Morroc",1918,5,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 8)
+ areamonster "4@tower",267,9,277,45,"Incarnation of Morroc",1919,5,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 9)
+ areamonster "4@tower",267,9,277,45,"Incarnation of Morroc",1920,5,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 10)
+ areamonster "4@tower",267,9,277,45,"Incarnation of Morroc",1921,5,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 11)
+ areamonster "4@tower",267,9,277,45,"Valkyrie",1765,5,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 12)
+ areamonster "4@tower",267,9,277,45,"Skeggiold",1755,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 13)
+ areamonster "4@tower",267,9,277,45,"Skeggiold",1754,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 14)
+ areamonster "4@tower",267,9,277,45,"Seyren Windsor",1634,15,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 15)
+ areamonster "4@tower",267,9,277,45,"Bloody Knight",1268,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 16)
+ areamonster "4@tower",267,9,277,45,"Abysmal Knight",1219,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 17)
+ areamonster "4@tower",267,9,277,45,"Wanderer",1208,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 18)
+ areamonster "4@tower",267,9,277,45,"Sword Master",1829,15,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 19)
+ areamonster "4@tower",267,9,277,45,"Bow Master",1830,15,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 20)
+ areamonster "4@tower",267,9,277,45,"Kathryne Keyron",1639,15,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 21)
+ areamonster "4@tower",267,9,277,45,"Elder",1377,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 22)
+ areamonster "4@tower",267,9,277,45,"Laurell Weinder",1657,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 23)
+ areamonster "4@tower",267,9,277,45,"Wind Ghost",1263,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 24)
+ areamonster "4@tower",267,9,277,45,"Marduk",1140,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 25)
+ areamonster "4@tower",267,9,277,45,"Cecil Damon",1638,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 26)
+ areamonster "4@tower",267,9,277,45,"Bow Master",1830,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 27)
+ areamonster "4@tower",267,9,277,45,"Kavach Icarus",1656,30,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 28)
+ areamonster "4@tower",267,9,277,45,"Baroness of Retribution",1702,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else if (.@mob_ran == 29)
+ areamonster "4@tower",267,9,277,45,"Lady Solace",1703,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ else
+ areamonster "4@tower",267,9,277,45,"False Angel",1371,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
+ }
+ end;
+
+OnTouch_:
+ warp "4@tower",309,12;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("4@tower",instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0,"All Monsters on the 99th Floor have been defeated.",bc_map,"0xffff00";
+ donpcevent instance_npcname("99FGate102tower", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 99
+ }
+ else
+ instance_announce 0,"Remaining Monsters on the 99th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
+ end;
+}
+
+4@tower,271,51,0 script 99FGate102tower 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("99FGate102tower", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("99FGate102tower", instance_id());
+ initnpctimer;
+ end;
+
+OnTouch_:
+ getitem 6000,1; //Dark_Ashes
+ warp "5@tower",101,72;
+ end;
+
+OnTimer120000:
+ disablenpc instance_npcname("99FGate102tower", instance_id());
+ donpcevent instance_npcname("99FGate102tower-2", instance_id())+"::OnEnable";
+ stopnpctimer;
+ end;
+}
+
+4@tower,271,51,0 script 99FGate102tower-2 45,2,2,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("99FGate102tower-2", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("99FGate102tower-2", instance_id());
+ end;
+
+OnTouch_:
+ warp "5@tower",101,72;
+ end;
+}
+
+/*
+4@tower,71,1,0 script #Manager Mode4 844,{
+ mes "Please enter the password.";
+ input .@inputstr$;
+ next;
+ if (.@inputstr$ == "dmc2008") {
+ mes "This NPC manages the tower from the 76th to the 99th Floor.";
+ mes "Please enter the Floor number to open.";
+ mes "(i.g.: 76F->76, 99F->99)";
+ input .@input,76,99;
+ next;
+ if (.@input < 76 || .@input > 99)
+ mes "You can only enter a number from 76 to 99.";
+ else {
+ donpcevent instance_npcname(.@input+"FGate102tower", instance_id())+"::OnEnable";
+ mes "*** Floor "+ .@input + " is now being opened. ***";
+ }
+ }
+ close;
+}
+*/
+
+// Floor 100
+5@tower,106,109,2 script Lucid Crystal#102 844,{
+ if (in_102tower < 10) {
+ mes "^0000ffA mysterious voice echoes through the room as you touch the lucid crystal radiating a strong light.^000000";
+ next;
+ mes "[Mysterious Voice]";
+ mes "Welcome to my place, intruders. I've had fun watching you endure all the difficulties I've set before you.";
+ next;
+ mes "[Mysterious Voice]";
+ mes "Unfortunately, the time has come to end the show.";
+ next;
+ mes "[Mysterious Voice]";
+ mes "It's still too early to celebrate your victory against my right-hand man Knothen because he isn't completely destroyed!";
+ next;
+ mes "[Mysterious Voice]";
+ mes "I shall resurrect him for your next show. Defeat him again, and then I'll gladly accept your challenge.";
+ next;
+ mes "[Mysterious Voice]";
+ mes "Good-bye for now.";
+ mes "Once again, I had such a great time, humans. I look forward to seeing you again.";
+ next;
+ mes "^0000ffAs soon as the voice stopped talking, an irresistible force lifted and moved you somewhere else.";
+ close2;
+ set in_102tower,10;
+ warp "alberta",223,36;
+ }
+ else {
+ mes "^0000ffThe radiating crystal piece seems to beckon you, just like last time.^000000";
+ next;
+ mes "[Mysterious Voice]";
+ mes "I must have underestimated you... I didn't expect to see you again.";
+ next;
+ mes "[Mysterious Voice]";
+ mes "I can smell your sweat, hear the gasps of your exhaustion in combat. Ah~ The human desire for victory always excites me.";
+ next;
+ mes "[Mysterious Voice]";
+ mes "I now allow you to come receive an audience from me. Come to me, to Nacht Sieger the Hegemon-King of the Darkness!";
+ close2;
+ warp "6@tower",32,12;
+ }
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("Lucid Crystal#102", instance_id());
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("Lucid Crystal#102", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("Lucid Crystal#102", instance_id());
+ donpcevent instance_npcname("#102Effect1", instance_id())+"::OnEnable";
+ end;
+}
+
+5@tower,106,109,2 script #102Effect1 844,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("#102Effect1", instance_id());
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("#102Effect1", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("#102Effect1", instance_id());
+ initnpctimer;
+ end;
+
+OnTimer500:
+ specialeffect EF_ENHANCE;
+ stopnpctimer;
+ donpcevent instance_npcname("#102Effect2", instance_id())+"::OnEnable";
+ end;
+}
+
+5@tower,106,109,2 script #102Effect2 844,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("#102Effect2", instance_id());
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("#102Effect2", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("#102Effect2", instance_id());
+ initnpctimer;
+ end;
+
+OnTimer500:
+ specialeffect EF_ENHANCE;
+ stopnpctimer;
+ donpcevent instance_npcname("#102Effect1", instance_id())+"::OnEnable";
+ end;
+}
+
+5@tower,82,112,2 script #102FShadowDust1 844,{
+ end;
+
+OnInstanceInit:
+ donpcevent instance_npcname("#102FShadowDust", instance_id())+"::OnEnable";
+ monster "5@tower",83,85,"Entweihen Crothen",1957,1,instance_npcname("#102FShadowDust1", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("5@tower",instance_npcname("#102FShadowDust1", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "Mysterious Voice: Who are you to dare intrude upon my sanctuary?!",bc_map,"0xffff00";
+ donpcevent instance_npcname("#102FShadowDust", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("Lucid Crystal#102", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 100
+ }
+ end;
+}
+
+5@tower,82,113,2 script #102FShadowDust 844,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("#102FShadowDust", instance_id());
+ end;
+
+OnDisable:
+ killmonsterall "5@tower";
+ end;
+
+OnEnable:
+ monster "5@tower",72,93,"Thorny Skeleton",1958,1;
+ monster "5@tower",70,87,"Thorn of Magic",1960,1;
+ monster "5@tower",68,83,"Thorn of Pureness",1961,1;
+ monster "5@tower",70,80,"Thorny Skeleton",1958,1;
+ monster "5@tower",74,81,"Thorn of Magic",1960,1;
+ monster "5@tower",78,72,"Thorn of Magic",1960,1;
+ monster "5@tower",81,70,"Thorny Skeleton",1958,1;
+ monster "5@tower",78,84,"Thorn of Recovery",1959,1;
+ monster "5@tower",85,72,"Thorn of Magic",1960,1;
+ monster "5@tower",91,74,"Thorny Skeleton",1958,1;
+ monster "5@tower",79,77,"Thorn of Pureness",1961,1;
+ monster "5@tower",82,80,"Thorn of Recovery",1959,1;
+ monster "5@tower",87,83,"Thorn of Recovery",1959,1;
+ monster "5@tower",80,92,"Thorn of Pureness",1961,1;
+ monster "5@tower",81,89,"Thorny Skeleton",1958,1;
+ monster "5@tower",85,93,"Thorn of Magic",1960,1;
+ monster "5@tower",86,90,"Thorn of Recovery",1959,1;
+ monster "5@tower",88,88,"Thorny Skeleton",1958,1;
+ monster "5@tower",91,87,"Thorn of Magic",1960,1;
+ monster "5@tower",95,94,"Thorn of Magic",1960,1;
+ monster "5@tower",91,96,"Thorny Skeleton",1958,1;
+ monster "5@tower",90,82,"Thorn of Pureness",1961,1;
+ monster "5@tower",96,98,"Thorn of Magic",1960,1;
+ monster "5@tower",83,76,"Thorny Skeleton",1958,1;
+ monster "5@tower",74,85,"Thorny Skeleton",1958,1;
+ set .@mob_ran,rand(1,3);
+ if (.@mob_ran == 1)
+ monster "5@tower",82,85,"Thorny Skeleton",1958,1;
+ else if (.@mob_ran == 2)
+ monster "5@tower",82,85,"Thorn of Magic",1960,1;
+ else
+ monster "5@tower",82,85,"Thorn of Pureness",1961,1;
+ set .@mob_ran2,rand(1,3);
+ if (.@mob_ran2 == 1)
+ monster "5@tower",84,85,"Thorny Skeleton",1958,1;
+ else if (.@mob_ran2 == 2)
+ monster "5@tower",84,85,"Thorn of Magic",1960,1;
+ else
+ monster "5@tower",84,85,"Thorn of Pureness",1961,1;
+ end;
+}
+// This looks like debug? Disabled.
+/*
+5@tower,71,1,0 script #Manager Mode5 844,{
+ mes "This NPC manages the crystal on the 100th Floor. Please enter the password.";
+ input .@inputstr$;
+ next;
+ if (.@inputstr$ == "dmc2008") {
+ donpcevent instance_npcname("Lucid Crystal#102", instance_id())+"::OnEnable";
+ mes "The 100th Floor's crystal has been activated.";
+ }
+ else
+ mes "Please enter the correct password.";
+ close;
+} */
+
+// Floor 101
+6@tower,45,89,2 script Spring of Life#1 844,{
+ set .@pc_hp,MaxHp-Hp;
+ set .@pc_sp,MaxSp-Sp;
+ mes "^0066ffYou took a sip of the spring's clear water, and you feel invigorated.^000000";
+ percentheal .@pc_hp,.@pc_sp;
+ close;
+
+OnInstanceInit:
+ donpcevent instance_npcname("Spring of Life#2", instance_id())+"::OnEnable";
+ end;
+
+}
+
+6@tower,45,89,2 script Spring of Life#2 844,{
+ end;
+
+OnEnable:
+ specialeffect EF_BUBBLE;
+ initnpctimer;
+ end;
+
+OnTimer2000:
+ stopnpctimer;;
+ donpcevent instance_npcname("Spring of Life#3", instance_id())+"::OnEnable";
+ end;
+}
+
+6@tower,45,89,2 script Spring of Life#3 844,{
+ end;
+
+OnEnable:
+ specialeffect EF_BUBBLE;
+ initnpctimer;
+ end;
+
+OnTimer2000:
+ stopnpctimer;
+ donpcevent instance_npcname("Spring of Life#2", instance_id())+"::OnEnable";
+ end;
+}
+
+6@tower,32,100,0 warp 102FGate102tower 2,2,6@tower,155,64
+
+6@tower,156,151,2 script Tyrant's Throne# 844,{
+ end;
+
+OnInstanceInit:
+ areamonster "6@tower",154,73,156,75,"Anopheles",1627,10,instance_npcname("Tyrant's Throne#", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("6@tower",instance_npcname("Tyrant's Throne#", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ donpcevent instance_npcname("#1st Beeper", instance_id())+"::OnEnable";
+ disablenpc instance_npcname("Tyrant's Throne#", instance_id());
+ }
+ end;
+}
+
+6@tower,156,151,2 script #1st Beeper 844,{
+ end;
+
+OnEnable:
+ initnpctimer;
+ end;
+
+OnTimer500:
+ instance_announce 0,"Guests, huh? I hope you've come here knowing that you'll be buried in this place. If you didn't know, well... it's too late!",bc_map,"0x00ffcc";
+ end;
+
+OnTimer5500:
+ instance_announce 0,"This is why you adventurers always end up dead.",bc_map,"0x00ffcc";
+ end;
+
+OnTimer10500:
+ instance_announce 0,"I may applaud you for your courage... Of course, I intend to play with you a little bit first.",bc_map,"0x00ffcc";
+ end;
+
+OnTimer15500:
+ instance_announce 0,"You know, I like watching humans running around in fear.",bc_map,"0x00ffcc";
+ end;
+
+OnTimer20500:
+ instance_announce 0,"Let's see who runs fastest. Are you ready?",bc_map,"0x00ffcc";
+ stopnpctimer;
+ areamonster "6@tower",151,66,153,106,"Bone Guardian",1152,50,instance_npcname("#1st Beeper", instance_id())+"::OnMyMobDead";
+ areamonster "6@tower",158,66,160,106,"Bone Guardian",1152,50,instance_npcname("#1st Beeper", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("6@tower",instance_npcname("#1st Beeper", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ donpcevent instance_npcname("#2nd Beeper", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 101
+ }
+ else
+ instance_announce 0,"Remaining Targets " + .@mob_dead_num + "ea",bc_map,"0x00ff99";
+ end;
+}
+
+6@tower,156,151,2 script #2nd Beeper 844,{
+ end;
+
+OnEnable:
+ initnpctimer;
+ end;
+
+OnTimer500:
+ instance_announce 0,"Well, I guess they aren't too challenging for you.",bc_map,"0x00ffcc";
+ end;
+
+OnTimer5500:
+ instance_announce 0,"Let's speed up a little bit, shall we?",bc_map,"0x00ffcc";
+ end;
+
+OnTimer10500:
+ instance_announce 0,"I demand an encore!",bc_map,"0x00ffcc";
+ stopnpctimer;
+ areamonster "6@tower",151,66,153,106,"Wind Guardian",1263,30,instance_npcname("#2nd Beeper", instance_id())+"::OnMyMobDead";
+ areamonster "6@tower",158,66,160,106,"Wind Guardian",1263,30,instance_npcname("#2nd Beeper", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("6@tower",instance_npcname("#2nd Beeper", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ donpcevent instance_npcname("#3rd Beeper", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 102
+ }
+ else
+ instance_announce 0,"Remaining Targets " + .@mob_dead_num + "ea",bc_map,"0x00ff99";
+ end;
+}
+
+6@tower,156,151,2 script #3rd Beeper 844,{
+ end;
+
+OnEnable:
+ initnpctimer;
+ end;
+
+OnTimer500:
+ instance_announce 0,"Yes, this is getting exciting!",bc_map,"0x00ffcc";
+ end;
+
+OnTimer5500:
+ instance_announce 0,"I'll remember you as one of a few that have managed to entertain me.",bc_map,"0x00ffcc";
+ end;
+
+OnTimer10500:
+ instance_announce 0,"How would you like to play one more round?",bc_map,"0x00ffcc";
+ stopnpctimer;
+ areamonster "6@tower",151,66,153,106,"Sword Edge Guardian",1132,20,instance_npcname("#3rd Beeper", instance_id())+"::OnMyMobDead";
+ areamonster "6@tower",158,66,160,106,"Sword Edge Guardian",1132,20,instance_npcname("#3rd Beeper", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("6@tower",instance_npcname("#3rd Beeper", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ donpcevent instance_npcname("#4th Beeper", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 103
+ }
+ else
+ instance_announce 0,"Remaining Targets " + .@mob_dead_num + "ea",bc_map,"0x00ff99";
+ end;
+}
+
+6@tower,156,151,2 script #4th Beeper 844,{
+ end;
+
+OnEnable:
+ initnpctimer;
+ end;
+
+OnTimer500:
+ instance_announce 0,"Okay, the time has come to make my appearance!",bc_map,"0x00ffcc";
+ end;
+
+OnTimer5500:
+ instance_announce 0,"Do you want to know who I am?",bc_map,"0x00ffcc";
+ end;
+
+OnTimer10500:
+ instance_announce 0,"You'll soon know. Mine is the face of death!",bc_map,"0x00ffcc";
+ stopnpctimer;
+ monster "6@tower",156,147,"Nacht Sieger",1956,1,instance_npcname("#4th Beeper", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ donpcevent instance_npcname("Lost Soul#102", instance_id())+"::OnEnable";
+ end;
+}
+
+6@tower,169,127,2 script Lost Soul#102 796,{
+ if (checkweight(1201,1) == 0) {
+ mes "You're carrying too much stuff. Why don't you put some of it away, and then come back?";
+ close;
+ }
+ mes "[Lost Souls]";
+ mes "It's you that have liberated us from the evil Nacht Sieger.";
+ next;
+ mes "[Lost Souls]";
+ mes "Thank you so much. Now we can escape from this cold and dark place... to heaven.";
+ next;
+ if ((countitem(13412) > 0) && (countitem(13413) > 0)) {
+ mes "[Lost Souls]";
+ mes "Hey, you have the remnants of Nacht Sieger with you.";
+ next;
+ mes "[Lost Souls]";
+ mes "They may appear to be one-handed swords, but I can put them together to make a two-handed one if you want. That's the only way I can repay you for freeing me.";
+ next;
+ switch(select("Make a Two-Handed Sword.:No, thanks.")) {
+ case 1:
+ mes "[Lost Souls]";
+ mes "Good, then I'll combine these to create a two-handed sword.";
+ next;
+ delitem 13412,1; //Twin_Edge_B
+ delitem 13413,1; //Twin_Edge_R
+ getitem 1185,1; //Violet_Fear
+ mes "[Lost Souls]";
+ mes "I'd like to talk to you more, but I've... I've got to go now.";
+ next;
+ break;
+ case 2:
+ mes "[Lost Souls]";
+ mes "I see. I guess you aren't as greedy or ambitious as those other adventurers.";
+ next;
+ mes "[Lost Souls]";
+ mes "I'd like to talk to you more, but I've... I've got to go now.";
+ next;
+ break;
+ }
+ }
+ mes "[Lost Souls]";
+ mes "Farewell, young adventurer. I wish you good luck.";
+ close2;
+ warp "alberta",223,36;
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("Lost Soul#102", instance_id());
+ end;
+
+OnEnable:
+ initnpctimer;
+ enablenpc instance_npcname("Lost Soul#102", instance_id());
+ donpcevent instance_npcname("#Effect30", instance_id())+"::OnEnable";
+ //SetItemPartyInMap in_102floor 104
+ end;
+
+OnTimer500:
+ instance_announce 0,"This... This can't be happening! I can't be defeated!",bc_map,"0xffff00";
+ end;
+
+OnTimer5500:
+ instance_announce 0,"Nooo! My soul... My shell...! Nooo~!",bc_map,"0xffff00";
+ end;
+
+OnTimer10500:
+ instance_announce 0,"Nacht Sieger's body has turned into dark ashes that scattered in the wind.",bc_map,"0x00ffcc";
+ stopnpctimer;
+ end;
+}
+
+6@tower,169,127,2 script #Effect30 844,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("#Effect30", instance_id());
+ end;
+
+OnEnable:
+ specialeffect EF_CONE;
+ initnpctimer;
+ end;
+
+OnTimer1000:
+ stopnpctimer;
+ donpcevent instance_npcname("#Effect31", instance_id())+"::OnEnable";
+ end;
+}
+
+6@tower,169,127,2 script #Effect31 844,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("#Effect31", instance_id());
+ end;
+
+OnEnable:
+ specialeffect EF_CONE;
+ initnpctimer;
+ end;
+
+OnTimer1000:
+ stopnpctimer;
+ donpcevent instance_npcname("#Effect30", instance_id())+"::OnEnable";
+ end;
+}
diff --git a/npc/instances/NydhoggsNest.txt b/npc/instances/NydhoggsNest.txt
new file mode 100644
index 000000000..1afecc123
--- /dev/null
+++ b/npc/instances/NydhoggsNest.txt
@@ -0,0 +1,2827 @@
+//===== rAthena Script =======================================
+//= Nidhoggr's Nest
+//===== By: ==================================================
+//= L0ne_W0lf, various sources
+//===== Current Version: =====================================
+//= 1.4
+//===== Compatible With: =====================================
+//= rAthena SVN
+//===== Description: =========================================
+//= [Aegis Conversion]
+//= Nidhoggr's Nest Instance
+//===== Additional Comments: =================================
+//= 1.0 First version.
+//= 1.1 Minor dialog updates.
+//= 1.2 No longer glitches when anyone but party leader talks to the first NPC.
+//= 1.3 Added 'instance_check_party' command to the script for proper checking if
+//= the invoking party meets the requirements to join the Memorial Dungeon.
+//= 1.4 Cleaning. [Euphy]
+//============================================================
+
+nyd_dun02,100,201,3 script Yggdrasil Gatekeeper 111,8,8,{
+ if (ins_nyd == 0) {
+ mes "A great stone gate stands before you. The sculpture of a terrible dragon spreads its powerful looking wings.";
+ next;
+ mes "Near the bottom of the gate, Laphine tribeswomen have been turned to stone and now look like they are part of the great door.";
+ next;
+ switch(select("Move closer to look more carefully.:Step back.")) {
+ case 1:
+ if (ep13_1_edq == 14) {
+ specialeffect2 EF_HOLYHIT;
+ pushpc 3,3;
+ set ep13_1_edq,15;
+ mes "A mysterious power prevents you from getting too close. It looks like there is something strong beyond the door...";
+ next;
+ mes "Perhaps there's a great hidden secret beyond the gate, beyond expectation.";
+ next;
+ mes "It would be better to go back to camp and inform the others and ask for help.";
+ set ins_nyd,1;
+ close;
+ }
+ else if (ep13_1_edq == 15) {
+ specialeffect2 EF_HOLYHIT;
+ pushpc 3,3;
+ mes "A mysterious power prevents you from getting too close. It looks like there is something strong beyond the door...";
+ next;
+ mes "Perhaps there's a great hidden secret beyond the gate, beyond expectation.";
+ next;
+ mes "It would be better to go back to camp and inform the others and ask for help.";
+ set ins_nyd,1;
+ close;
+ }
+ else {
+ specialeffect2 EF_HOLYHIT;
+ pushpc 3,3;
+ mes "A mysterious power prevents you from getting too close. It looks like there is something strong beyond the door...";
+ next;
+ mes "Perhaps there's a great hidden secret beyond the gate, beyond expectation.";
+ next;
+ mes "It would be better to go back to camp and inform the others and ask for help.";
+ next;
+ mes "You'll have to obtain the others trust in the expendition camp by working hard.";
+ set ins_nyd,1;
+ close;
+ }
+ case 2:
+ close;
+ }
+ }
+ else if (ins_nyd == 1) {
+ mes "A mysterious power prevents you from getting too close. It looks like there is something strong beyond the door...";
+ next;
+ mes "Perhaps there's a great hidden secret beyond the gate, beyond expectation.";
+ next;
+ mes "It would be better to go back to camp and inform the others and ask for help.";
+ if (ep13_1_edq == 14 || ep13_1_edq == 15) {
+ set ep13_1_edq,15;
+ close;
+ }
+ else {
+ next;
+ mes "You'll have to obtain the others trust in the expendition camp by working hard.";
+ close;
+ }
+ }
+ else if (ins_nyd == 111 || ins_nyd == 112) {
+ specialeffect2 EF_CHANGECOLD;
+ mes "The strange sensation surrounding your body has disappeared";
+ next;
+ mes "When you touch the stone gate, you hear a commanding voice.";
+ next;
+ mes "[??????]";
+ mes "Wingless one... Our promised words...";
+ next;
+ switch(select("'Guardian's spell'!:Take a step back.")) {
+ case 1:
+ mes "[??????]";
+ mes "Promised words... Guardian's spell... proof of their existence.";
+ next;
+ mes "[Yggdrasil Gatekeeper]";
+ mes "In the name of Yggdrasiliad, I will accept you as a servant of the Guardian.";
+ next;
+ specialeffect2 EF_CHANGECOLD;
+ set ins_nyd,200;
+ mes "[Yggdrasil Gatekeeper]";
+ mes "I accept your entrance through the Guardian's gate. You are now considered a faithful servant of the Guardian Nidhoggur.";
+ next;
+ mes "The voice has disappeared, and the dark power is calming down from behind the stone gate.";
+ close;
+ case 2:
+ close;
+ }
+ }
+ else if (ins_nyd == 131 || ins_nyd == 132 || ins_nyd > 199) {
+ set .@ins_nyd_check,checkquest(3135,PLAYTIME); // 3 Day cooldown
+ set .@ins_nyd_check2,checkquest(3136,PLAYTIME); // 4 Hour play limit
+ if (.@ins_nyd_check == -1) {
+ mes "As I put my hands on the stone gate, a voice sounded from the depth of my heart.";
+ next;
+ mes "[Yggdrasil Gatekeeper]";
+ mes "The loyal servants of the Guardian... what can I do for you?";
+ next;
+ switch(select("Please allow me to enter.:I want to go in.:I want to leave.")) {
+ case 1:
+ set .@party,getcharid(1);
+ set .@leader,getpartyleader(.@party,2);
+ set .@md_name$,"Nidhoggur's Nest";
+
+ if(!instance_check_party(.@party,2,70)){
+ mes "I'm sorry but your Party does not meet the requirements to join the Memorial Dungeon.";
+ close;
+ }
+
+ if (.@leader == getcharid(0)) {
+ set .@instance, instance_create(.@md_name$, .@party);
+ if (.@instance < 0) {
+ mes "[Yggdrasil Gatekeeper]";
+ mes "The Guardian seems to wish to be alone. I will go in and check, please wait out here.";
+ close;
+ }
+ else {
+ for( set .@i, 1; .@i <= 2; set .@i, .@i + 1 ) {
+ if( instance_attachmap(.@i + "@nyd", .@instance) == "" )
+ break;
+ }
+ if( .@i < 2 ) {
+ instance_destroy(.@instance);
+ close;
+ }
+ instance_attach(.@instance);
+ instance_set_timeout 144000,300,.@instance;
+ instance_init(.@instance);
+
+ // Spawn standard mobs
+ donpcevent instance_npcname("ins_nyd1_spawn_mobs", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("ins_nyd2_spawn_mobs", instance_id())+"::OnInstanceInit";
+ // Activate Floor 1
+ donpcevent instance_npcname("nyd_call_mon_1", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("ins_nyd_1f_timer", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_to2f_warp", instance_id())+"::OnInstanceInit";
+ // Active Floor 2
+ donpcevent instance_npcname("nyd_2f_enter_broad", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_boss_enter", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_boss_enter_call", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_boss_enter_logic", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("World Tree Yggdrasil#2F", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_red_c", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_red_warp1", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_red_warp2", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_red_warp3", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_white_c", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_white_warp1", instance_id())+"::OnInstanceInit";;
+ donpcevent instance_npcname("nyd_2f_white_warp2", instance_id())+"::OnInstanceInit";;
+ donpcevent instance_npcname("nyd_2f_white_warp3", instance_id())+"::OnInstanceInit";;
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_yellow_c", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_yellow_warp1", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_yellow_warp2", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_yellow_warp3", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_green_c", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_green_warp1", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_green_warp2", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("nyd_2f_green_warp3", instance_id())+"::OnInstanceInit";
+
+ mes "[Yggdrasil Gatekeeper]";
+ mes "I've recorded your request, are you ready to go inside?";
+ next;
+ mes "[Yggdrasil Gatekeeper]";
+ mes "If you are ready, I will allow you to enter.";
+ close;
+ }
+ }
+ else {
+ mes "[Yggdrasil Gatekeeper]";
+ mes "When you touch the stone gate, you can hear the voice in your heart.";
+ next;
+ mes "[Yggdrasil Gatekeeper]";
+ mes "Where are the other servants, so you can work together? Each servant cannot be admitted here individually...";
+ next;
+ mes "[Yggdrasil Gatekeeper]";
+ mes "Come with at least 1 more servant... Only party leaders can accept admission to Nidhoggur's Nest.";
+ next;
+ mes "[Yggdrasil Gatekeeper]";
+ mes "And only 1 representative of you needs to talk to me, so don't annoy me...";
+ close;
+ }
+ case 2:
+ if (.@ins_nyd_check2 < 2) { // Added check to avoid people from re-partting up.
+ set .@party,getcharid(1);
+ set .@leader,getpartyleader(.@party,2);
+ set .@p_name$,getpartyname(.@party);
+ set .@p_name2$,strcharinfo(0);
+ set .@md_name$,"Nidhoggur's Nest";
+
+ if(!instance_check_party(.@party,2,70)){
+ mes "I'm sorry but your Party does not meet the requirements to join the Memorial Dungeon.";
+ close;
+ }
+
+ if (has_instance("1@nyd") == "") {
+ mes "[Yggdrasil Gatekeeper]";
+ mes "You did not request for entrance. Please let your leader request entrance.";
+ close;
+ }
+ if((party_instance_id2 != 0) && (party_instance_id2 != getcharid(1))) {
+ //Custom
+ mes "[Yggdrasil Gatekeeper]";
+ mes "You are no longer able to enter Nidhogger's Nest, as your instance has expired.";
+ next;
+ mes "[Yggdrasil Gatekeeper]";
+ mes "After Nidhoggur's Shadow disappears, at least 3 days is needed for stabilizing.";
+ close;
+ }
+ else {
+ mapannounce "nyd_dun02", .@p_name$ + "'s Party member " + .@p_name2$ + " has entered " + .@md_name$,bc_map,"0x00ff99";
+ set party_instance_id2,getcharid(1);
+ if (checkquest(3135) == -1) setquest 3135;
+ if (checkquest(3136) == -1) setquest 3136;
+ warp "1@nyd",32,37;
+ close;
+ }
+ }
+ else {
+ //Custom
+ mes "[Yggdrasil Gatekeeper]";
+ mes "You are no longer able to enter Nidhogger's Nest, as your instance has expired.";
+ next;
+ mes "[Yggdrasil Gatekeeper]";
+ mes "After Nidhoggur's Shadow disappears, at least 3 days is needed for stabilizing.";
+ close;
+ }
+ case 3:
+ close;
+ }
+ }
+ else if (.@ins_nyd_check == 0 || .@ins_nyd_check == 1) {
+ mes "[Yggdrasil Gatekeeper]";
+ mes "With the defeat of Nidhoggur's Shadow, the roots of the World Tree Yggdrasil are also affected.";
+ next;
+ mes "[Yggdrasil Gatekeeper]";
+ mes "After Nidhoggur's Shadow disappears, at least 3 days is needed for stabilizing.";
+ close;
+ }
+ else if (.@ins_nyd_check == 2) {
+ mes "[Yggdrasil Gatekeeper]";
+ mes "The World Tree Yggdrasil has stabilized. Would you like to enter Nidhoggur's Nest again?";
+ next;
+ mes "[Yggdrasil Gatekeeper]";
+ mes "If you would like to enter again, please register with me.";
+ set party_instance_id2,0;
+ erasequest 3135;
+ erasequest 3136;
+ set 'ins_nyd2,0;
+ close;
+ }
+ else {
+ close;
+ }
+ }
+ else {
+ mes "A great stone gate stands before you. The sculpture of a terrible dragon spreads its powerful looking wings.";
+ next;
+ mes "Near the bottom of the gate, Laphine tribeswomen have been turned to stone and now look like they are part of the great door.";
+ next;
+ switch(select("Move closer to look more carefully.:Step back.")) {
+ case 1:
+ specialeffect2 EF_HOLYHIT;
+ pushpc 3,3;
+ mes "A mysterious power prevents you from getting too close. It looks like there is something strong beyond the door...";
+ next;
+ mes "Perhaps there's a great hidden secret beyond the gate, beyond expectation.";
+ close;
+ case 2:
+ close;
+ }
+ }
+ close;
+
+OnTouch_:
+ if (ins_nyd == 0) {
+ specialeffect2 EF_CHANGECOLD;
+ specialeffect EF_CHANGECOLD,"Yggdrasil Gatekeeper";
+ }
+ end;
+}
+
+mid_camp,271,299,3 script Historian Magnifier#edq 755,3,3,{
+ mes "[Historian Magniffer]";
+ if (ins_nyd == 1) {
+ mes "Sure, the mainland also has lots of interesting adventures... Hello, I am Magnifier, a historian dispatched from the Prontera royal court.";
+ next;
+ mes "[Historian Magniffer]";
+ mes "Finding another line of work might make for a really worthy job, but only a historian gets to know the world over..";
+ next;
+ mes "[Historian Magniffer]";
+ mes "How this world is organized... and the way of the future! With our studies of the past and present we can predict what is to come.";
+ next;
+ mes "[Historian Magniffer]";
+ mes "We are expecting a lot from you, expert adventurer. So, if you find anything... just tell me.";
+ close;
+ }
+ else if (ins_nyd == 2) {
+ mes "Does Commander Agip want to talk to me? Let's listen to his story.";
+ next;
+ mes "[Historian Magniffer]";
+ mes "Did you find the cave that the fairy tribes treat as a holy place? You are a really tough cookie. What did you find?";
+ next;
+ mes "[Historian Magnifier]";
+ mes "...";
+ next;
+ mes "... ...";
+ next;
+ mes "[Historian Magnifier]";
+ mes "Wait a second... I have a brilliant idea.";
+ next;
+ mes "[Historian Magnifier]";
+ mes "Let's see... This book... No... this one...? Hmm... Maybe this...";
+ next;
+ mes "[Historian Magnifier]";
+ mes "...";
+ next;
+ mes "[Historian Magnifier]";
+ mes "... ...";
+ next;
+ mes "[Historian Magnifier]";
+ mes "Oh, here it is! World Tree Yggdrasil and God's tribes... This is their book!";
+ next;
+ mes "[Historian Magnifier]";
+ mes "Maybe you found the central line to enter into the World Tree Yggdrasil!";
+ next;
+ mes "[Historian Magnifier]";
+ mes "If that's true, you've found the greatest discovery since the harnessing of mana. Isn't this exciting?";
+ next;
+ mes "[Historian Magnifier]";
+ mes "But we need a lot more information... Are they refusing you admission?";
+ next;
+ mes "[Historian Magnifier]";
+ mes "I will send a message to my assistant who is in the Prontera Library. So, help her find more information.";
+ next;
+ mes "[Historian Magnifier]";
+ mes "I will definitely help you find a way to enter the World Tree directly so, just believe in me! Okay~!!";
+ set ins_nyd,3;
+ close;
+ }
+ else if (ins_nyd == 3) {
+ mes "Why are you standing there? Go to my assistant in the Prontera Library!";
+ close;
+ }
+ else if (ins_nyd == 4) {
+ mes "You've come back... Good, how's Naomi? Actually, I don't need to worry about her. She is always cheerful. Haha.";
+ next;
+ mes "[Historian Magnifier]";
+ mes "You look like you have a lot on your mind... Your face is full of curiosity and questions.";
+ next;
+ mes "[Historian Magnifier]";
+ mes "So, did you read the whole story that I have prepared?";
+ next;
+ switch(select("Not yet.:I read all the stories.")) {
+ case 1:
+ mes "[Historian Magnifier]";
+ mes "Sheesh~ I prepared these stories for you carefully, but you didn't bother to check anything out did you?";
+ next;
+ mes "[Historian Magnifier]";
+ mes "It would be better if you returned after reading all of them. That's very basic data of what we should do for the future.";
+ close;
+ case 2:
+ mes "[Historian Magnifier]";
+ mes "Hm, good job. Maybe I don't need to check anything else, right?";
+ next;
+ mes "[Historian Magnifier]";
+ mes "I sent you to figure out which basic materials will be needed for the jobs ahead of us. You should bring research reports...";
+ next;
+ mes "[Historian Magnifier]";
+ mes "You might complain about why I didn't bring any myself... That's because I trust your abilities, don't ever take anything for granted.";
+ next;
+ mes "[Historian Magnifier]";
+ mes "But a while ago, while you were tranferring reports from Commander Agip to the mainland, you lost those reports... remember?";
+ next;
+ mes "[Historian Magnifier]";
+ mes "So far, nothing's come up... Was it that somebody attacked you?";
+ next;
+ mes "[Historian Magnifier]";
+ mes "Somehow, the truth will come out, but we should be careful of shocking the natives if we go there unannounced and they're not prepared for our arrival.";
+ next;
+ mes "[Historian Magnifier]";
+ mes "I've talked too much... Anyway, as you know through my report, you've found a great thing!";
+ next;
+ mes "[Historian Magnifier]";
+ mes "Firstly, we should find out more about the place. I expect we can, but... we can't do much without help from others.";
+ next;
+ mes "[Historian Magnifier]";
+ mes "I have heard about recent expeditions of adventurers that have tried to contact the tribes... Have you heard anything about this?";
+ next;
+ mes "[Historian Magnifier]";
+ mes "Anyway, let's try to contact them first, to be clear about any caves or treasures.";
+ next;
+ mes "[Historian Magnifier]";
+ mes "For now, you try to contact the Sapha and Laphine tribes, and try to extract information from them.";
+ next;
+ mes "[Historian Magnifier]";
+ mes "I'll also keep searching here. If you find anything, come back and let me know.";
+ set ins_nyd,5;
+ close;
+ }
+ }
+ else if ((ins_nyd == 5) || (ins_nyd == 51) || (ins_nyd == 52)) {
+ mes "Okay, let's try to contact them first, to be clear about any caves or treasures.";
+ next;
+ mes "[Historian Magnifier]";
+ mes "For now, you try to contact the Sapha and Laphine tribes, and try to extract more information.";
+ next;
+ mes "[Historian Magnifier]";
+ mes "I'll also keep searching here. If you find anything, come back and let me know.";
+ close;
+ }
+ else if ((ins_nyd == 61) || (ins_nyd == 62)) {
+ mes "Ah, you've come at a proper time. I found a curious thing while looking for reports from Arunafeltz.";
+ next;
+ mes "[Historian Magnifier]";
+ mes "Right now, we are standing on part of one of the roots of the World Tree Yggdrasil.";
+ next;
+ mes "[Historian Magnifier]";
+ mes "This spot is connected to World Tree by the root. I think we can expect confrontations between the Sapha and Laphine here eventually, don't you think?";
+ next;
+ mes "[Historian Magnifier]";
+ mes "As I expected, the cave is the entrance to go to one of Yggdrasil's roots...";
+ next;
+ mes "[Historian Magnifier]";
+ mes "Did you find anything about the Sapha and Laphine?";
+ next;
+ mes "...";
+ next;
+ mes "... ...";
+ next;
+ mes "[Historian Magnifier]";
+ mes "Both sides act ambiguously, so... I'm getting worried...";
+ next;
+ mes "[Historian Magnifier]";
+ mes "The two tribes have some trouble amongst their top leaders. It's not anything official, but...";
+ next;
+ mes "[Historian Magnifier]";
+ mes "Let's report to Commander Agip about the situation so far. Then, we wait on his decision.";
+ set ins_nyd,7;
+ close;
+ }
+ else if ((ins_nyd == 7) || (ins_nyd == 8)) {
+ mes "Report to Commander Hibba Agip about what we have discovered, since time is dependent on his decision.";
+ close;
+ }
+ else if ((ins_nyd == 121) || (ins_nyd == 122) || (ins_nyd == 131) || (ins_nyd == 132) || (ins_nyd ==14)) {
+ mes "So that's how it is... we were right about some parts of it... it's called the Guardian's Nest.";
+ next;
+ mes "[Historian Magnifier]";
+ mes "We have gained a large amount of knowledge today, but...";
+ next;
+ mes "[Historian Magnifier]";
+ mes "What we have figured out... how is it going to influence mankind? It's so unpredictable...";
+ next;
+ mes "[Historian Magnifier]";
+ mes "This is only the beginning...we will be quite busy from now on.";
+ next;
+ mes "[Historian Magnifier]";
+ mes "First, report to Commander Agip, then act according to the situation. Let me organize my research findings...";
+ close;
+ }
+ else {
+ mes "Sure, the mainland also has lots of interesting adventures... Hello, I am Magnifier, a historian dispatched from the Prontera royal court.";
+ next;
+ mes "[Historian Magnifier]";
+ mes "Finding another line of work might make for a really worthy job, but only a historian gets to know the world over..";
+ next;
+ mes "[Historian Magnifier]";
+ mes "How this world is organized... and the way of the future! With our studies of the past and present we can predict what is to come.";
+ next;
+ mes "[Historian Magnifier]";
+ mes "We are expecting a lot from you, expert adventurer. So, if you find anything... just tell me.";
+ close;
+ }
+}
+
+prt_in,171,94,3 script Assistant Naomi#edq 893,3,3,{
+ mes "[Assistant Naomi]";
+ set .@name$,strcharinfo(0);
+ if (ins_nyd == 3) {
+ mes "The doctor never ever tries to come back, and there're too many things to do... How can I do it all...";
+ next;
+ mes "[Assistant Naomi]";
+ mes "Hey, you. Please move these books. Put them into shelf 3 row B.";
+ next;
+ mes "["+.@name$+"]";
+ mes "Ah...um..I...am...";
+ next;
+ mes "[Assistant Naomi]";
+ mes "Don't you see I am too busy? Don't hesitate. Just do it.";
+ next;
+ switch(select("Look busy, and take a step back.:Help her just this once.")) {
+ case 1:
+ mes "[Assistant Naomi]";
+ mes "Gosh! Where is-? Where did-? Ugh! It's so difficult!";
+ close;
+ case 2:
+ mes "[Assistant Naomi]";
+ mes "Ah... if you're done moving those, then these should go in shelf 3 row B.";
+ next;
+ mes "["+.@name$+"]";
+ mes "Ah...I...see...";
+ next;
+ mes "[Assistant Naomi]";
+ mes "Now, I am almost done... Who are you? Are you a new assistant to Dr. Magnifier?";
+ next;
+ mes "["+.@name$+"]";
+ mes "He asked me to bring some reports. Didn't he say anything?";
+ next;
+ mes "[Assistant Naomi]";
+ mes "Hmm... I haven't seen him in over a year! What's he doing now?";
+ next;
+ mes "["+.@name$+"]";
+ mes "He said that he would send a message to you... didn't you get it?";
+ next;
+ mes "[Assistant Naomi]";
+ mes "Message? ...Let's see... I never expected him to write a message...";
+ next;
+ mes "[Assistant Naomi]";
+ mes "I will check the mailbox, wait a minute. If you get bored read those books.";
+ next;
+ mes "...";
+ next;
+ mes "... ...";
+ next;
+ mes "It's too messy due to lots of stacked books and files. Dr. Magnifier looks like he has a ton of reports.";
+ next;
+ mes "["+.@name$+"]";
+ mes "'Birth of the World', 'The Fiction of Odin's Myth', 'God's Battle Then After', 'Dreams of the Tribes'. There are a variety of books...";
+ next;
+ mes "...";
+ next;
+ mes "[Assistant Naomi]";
+ mes "Oh, sorry I took so long. There was too much mail, so it took me a while to find stuff.";
+ next;
+ mes "[Assistant Naomi]";
+ mes "He has sent me mail over 20 times. I did not know that...";
+ next;
+ mes "[Assistant Naomi]";
+ mes "Ah, here's the message about you. He's said to share the information on research and reports.";
+ next;
+ mes "["+.@name$+"]";
+ mes "What is the Doctor's area of expertise?";
+ next;
+ mes "[Assistant Naomi]";
+ mes "Ever since 5 years ago, he has been curious about how the world started, and so he began his search for the God of creation.";
+ next;
+ mes "[Assistant Naomi]";
+ mes "He researches combat between Odin and the Gods, and about the Gods' origins and life.";
+ next;
+ mes "["+.@name$+"]";
+ mes "So, did he already know that the Rebirth of Satan Morocc has occured before?";
+ next;
+ mes "[Assistant Naomi]";
+ mes "I can't be sure, but he thought someday it would occur. It broke out earlier than he expected though.";
+ next;
+ mes "["+.@name$+"]";
+ mes "But Rune-Midgarts approved this research?";
+ next;
+ mes "[Assistant Naomi]";
+ mes "Our academics are not a religion. And they too have curiosity about this world's history.";
+ next;
+ mes "[Assistant Naomi]";
+ mes "The combat of Odin vs. the Gods, and the God's sons and their purpose... The Doctor has researched this his whole life.";
+ next;
+ mes "["+.@name$+"]";
+ mes "But those reports haven't come out yet. Have they?";
+ next;
+ mes "[Assistant Naomi]";
+ mes "That's why he sent you here. By the way, this isn't the first time I've heard this.";
+ next;
+ mes "[Assistant Naomi]";
+ mes "After the establishment of the Rune-Midgarts Kingdom and Arunafeltz, the rumors have spread in secret about their tribes, myths, etc.";
+ next;
+ mes "[Assistant Naomi]";
+ mes "Anyway, I should make sure that you read all these books, and I'll just keep doing my work.";
+ next;
+ mes "["+.@name$+"]";
+ mes "Shouldn't I have filed the books?";
+ next;
+ mes "[Assistant Naomi]";
+ mes "The Doctor said he will pick up the books through another person. Besides, don't you need the basic information on what to do?";
+ next;
+ mes "[Assistant Naomi]";
+ mes "Before you go back to the Doctor, you had better read these books. So, I will go back to work.";
+ set ins_nyd,4;
+ close;
+ }
+ }
+ else if (ins_nyd == 4) {
+ mes "Browse around, to take a look at the books.";
+ next;
+ switch(select("Discovery of Heterogeneity:Report of Indigenous Tribes")) {
+ case 1:
+ mes "Satan Morocc has known that he didn't resurrect normally or by himself.";
+ next;
+ mes "Continuously, adventurers from Rune-Midgarts have attacked him and he is slowly losing his power. He would need more time to resurrect completely.";
+ next;
+ mes "Satan Morroc stopped to destroy the city of Morroc, turning it into a ruined desert, then started to rip the world apart.";
+ next;
+ mes "Satan Morroc was worried about those who would give chase, so he created Morocc clones to keep watch behind him.";
+ next;
+ mes "Modeled after Morocc, their appearance made it difficult to go around the time-space gap.";
+ next;
+ mes "Still the adventurers gave chase. They came from all over the world, trying to approach the Dimensional Gorge.";
+ next;
+ mes "The reports of these adventurers have been sent to representatives of all kingdoms, and an expedition team has been created to find out more information.";
+ next;
+ mes "The scientists of Schwartzwalt created a combination metal, using fragments of metals found in the dimensional gorge.";
+ next;
+ mes "The Schwaltzvalt Republic requested approval to find the source of the new metal, and since Rune-Midgart couldn't complete the test themselves, they finally accepted.";
+ next;
+ mes "They associated together to gather volunteers. The Assassin Guild was the first to volunteer.";
+ next;
+ mes "The Assassins have a terrible past with Satan Morroc, so they gathered 18 members to chase him down.";
+ next;
+ mes "About 3 hours later, all 18 members returned without any problem, and each man and woman shared the information that they had collected.";
+ next;
+ mes "They had discovered another world with a definitively different nature and environment. And indeed, people could also live there.";
+ next;
+ mes "The most surprising thing is the flow of time. The 18 assassins had stayed for about 2 weeks in there, yet they returned within 3 hours after departing.";
+ next;
+ mes "The last thing to be tested... was to send adventurers who volunteered to explore the new world.";
+ next;
+ mes "There was a flood of adventurer applications. Lots of volunteers disappeared over the dimensional gorge, and they brought back new data.";
+ next;
+ mes "The new world could support 3 completely different eco-systems dependant upon the race of people that lived there.";
+ next;
+ mes "The heterogenous phenomenon needed to be studied thoroughly and carefully in order to under the relationship between thair world and ours.";
+ next;
+ mes "Just when it was expected to be impossible to travel into a different world, the first page of a new chapter was opened.";
+ close;
+ case 2:
+ mes "Long ago, there wasn't a sun, moon, or stars; just empty earth... and Ymir was born. Then, by making sons, Ymir grew.";
+ next;
+ mes "But, his sons grew as well and he was killed by Odin, Vili, and Ve; 3 brothers, Gods, that attacked from different sides.";
+ next;
+ mes "At that time of Ymir's fall his blood flooded the world... killing all in it's path.";
+ next;
+ mes "Only Hvergelmir of the Sapha tribe escaped from this flooding of blood. And he swore vengeance in Jotunheim, which is covered with foggy snow.";
+ next;
+ mes "Currently, one of the Sapha tribe has been discovered from beyond the Dimensional Gorge.";
+ next;
+ mes "Other than the Sapha tribe, there was another tribe beyond the time-space gap, known as the Laphine.";
+ next;
+ mes "The Laphine tribes gathered as well for an expedition to explore the time-space gap and figure out the World Tree's strange symptoms and perharps a cure method.";
+ next;
+ mes "The Laphine tribe was charged with the management of Yggdrasil, to establish their lands close to Asgard, and to protect the balance of Yggdrasil's magic power.";
+ next;
+ mes "The Laphine tribe has never contacted anyone outside of Asgard. But since they found that Yggdrasil's power if weakening...";
+ next;
+ mes "They have declared they will attend to the high courts for the first time in 1000 human years, since the end of the battles of Gods vs. Magicians.";
+ close;
+ }
+ }
+ else {
+ mes "The doctor never ever tries to come back, and there're too many things to do... How can I do it all...";
+ next;
+ mes "[Assistant Naomi]";
+ mes "Don't you see that I'm too busy? Don't dawdle, just go!";
+ close;
+ }
+}
+
+splendide,198,178,3 script Grumbling Soldier#edq 447,3,3,{
+ mes "[Grumbling Soldier]";
+ if (isequipped(2782) == 1) {
+ mes "Nowadays, the world has turned unstable. I can't even fly comfortably anymore.";
+ next;
+ if (ins_nyd == 5) {
+ switch(select("What's with the cave up north?:Who are the Sapha tribesmen?:Hmm. We can talk later.")) {
+ case 1:
+ mes "[Grumbling Soldier]";
+ mes "What? If you wander around there... you might return with injuries.";
+ next;
+ mes "[Grumbling Soldier]";
+ mes "I don't know exactly how to explain it, but it's like it has a bad mood. There are lots of terrible monsters there.";
+ next;
+ mes "[Grumbling Soldier]";
+ mes "They whisper to each other, so... something is there... But I don't care...";
+ next;
+ mes "[Grumbling Soldier]";
+ mes "Might be... those Sapha tribesmen have dug in the cave before... They do have a special talent for digging.";
+ set ins_nyd,51;
+ close;
+ case 2:
+ mes "[Grumbling Soldier]";
+ mes "Oh! It is because of them that we have been living here, a lowdown and dirty city, for over one hundred years.";
+ next;
+ mes "[Grumbling Soldier]";
+ mes "They don't care if there's trouble with the Yggdrasil.";
+ next;
+ mes "[Grumbling Soldier]";
+ mes "They are surely full of bad ideas, so... they have destroyed the Yggdrasil's root.";
+ next;
+ mes "[Grumbling Soldier]";
+ mes "We are here to make sure that the Sapha don't make things worse.";
+ close;
+ case 3:
+ close;
+ }
+ }
+ else {
+ mes "[Grumbling Soldier]";
+ mes "Nowadays, the world has turned unstable. I can't even fly comfortably anymore.";
+ next;
+ mes "[Grumbling Soldier]";
+ mes "What can you expect when Manuk giants start to dig into the world to destroy the Yggdrasil...";
+ next;
+ mes "[Grumbling Soldier]";
+ mes "And the worst thing is... that strange things are strutting along the streets of the towns...";
+ next;
+ mes "[Grumbling Soldier]";
+ mes "Yes, you... What do you think about the way the government is handling this...?";
+ next;
+ mes "[Grumbling Soldier]";
+ mes "Although they ignore your track record, still, one should be careful...";
+ close;
+ }
+ }
+ else {
+ mes "SeLarsmar Di marThusVil U SeMushVohl";
+ close;
+ }
+}
+
+splendide,240,164,3 script Sighing Soldier#edq 461,3,3,{
+ mes "[Sighing Soldier]";
+ if (isequipped(2782) == 1) {
+ mes "When will we be finished with this combat with the Sapha? Ugghhhh...";
+ next;
+ if (ins_nyd == 5) {
+ switch(select("What's with the cave up north?:Who are the Sapha tribesmen?:Hmm. We can talk later.")) {
+ case 1:
+ mes "[Sighing Soldier]";
+ mes "Well... I'm not sure, but we have avoided going to that area.";
+ next;
+ mes "[Sighing Soldier]";
+ mes "Sometimes, the dispatched researchers hang around here... I feel bad that there's nothing to see... without any reason...";
+ next;
+ mes "[Sighing Soldier]";
+ mes "But the command officers make sure that there's something hidden in there.";
+ next;
+ mes "[Sighing Soldier]";
+ mes "We don't know if the monsters there are strong, so we never checked it out. But on a personal level, nobody wants to go there...";
+ set ins_nyd,51;
+ close;
+ case 2:
+ mes "[Sighing Soldier]";
+ mes "I don't know what others think about it... but we've had some trouble with our attitude against the Sapha tribes.";
+ next;
+ mes "[Sighing Soldier]";
+ mes "We didn't try to solve the problems with talk. We attacked them first.";
+ next;
+ mes "[Sighing Soldier]";
+ mes "Maybe... our command officers don't want to accept other species different than us...";
+ next;
+ mes "[Sighing Soldier]";
+ mes "Don't misunderstand... Recently, we have talked about your particular species and our commanders feel grateful to you.";
+ next;
+ mes "[Sighing Soldier]";
+ mes "Anyway... I'm just exhausted during this useless and nerve-wracking situation... Sigh.";
+ close;
+ case 3:
+ close;
+ }
+ }
+ else {
+ mes "[Sighing Soldier]";
+ mes "When will we be finished with this combat with the Sapha? Ugghhhh...";
+ next;
+ mes "[Sighing Soldier]";
+ mes "Frankly, I don't think of you or any Sapha is our enemy. Sigh...";
+ next;
+ mes "[Sighing Soldier]";
+ mes "Is there no way to resolve this by communicating? There's no meaning in useless combat! Geez.";
+ close;
+ }
+ }
+ else {
+ mes "VohlLarsmar Ha DielCyatas";
+ close;
+ }
+}
+
+spl_in01,109,60,3 script Commander Lebiordirr#edq 435,3,3,{
+ mes "[Commander Lebiordirr]";
+ if (isequipped(2782) == 1) {
+ if (ins_nyd == 51) {
+ mes "Are you...? Are you the one collecting information from my soldiers...?";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "You should be cautious. Our tribe has respected the existence of you humans but...";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "I've taken a great risk in allowing you in here. So be wary.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "Don't attract too much attention because that would make your people look bad.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "Now, we don't need to talk much about this, so just go back where you came from.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "Unless you have any messages for me...? Your face says you do...";
+ next;
+ if(select("No. Nothing. We can talk later.:I intend to stay. For good reasons.")==1) close;
+ mes "[Splendide Guard]";
+ mes "Sir, I can drag this pest out right now.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "No. Let's hear an explanation. Good? Now, if you want...";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "I have known that, recently, time has broken... so, you're here exploring for a solution, no?";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "Our tribe has respected you, so just forget about the searching and exploring around here.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "I heard that you are to search for any treasure in the closed cave to the north.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "That place is banned by order of the Laphine tribe. So, people can't just go there without permission.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "If you can't follow this rule, I will stop associating with you and ban all of your people from here.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "We still have an unstable relationship with the Sapha, we usually don't worry about outsiders.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "Now, if you understand this, inform your friends.";
+ set ins_nyd,61;
+ close;
+ }
+ else if (ins_nyd == 61) {
+ mes "If you can't follow this rule, I will stop associating with you and ban all of your people from here.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "We still have an unstable relationship with the Sapha, we usually don't worry about outsiders.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "Now, if you understand this, inform your friends.";
+ close;
+ }
+ else if (ins_nyd == 81) {
+ mes "Why have you come back, outsider?";
+ next;
+ select("To ask the Laphines about exploring...");
+ mes "[Commander Lebiordirr]";
+ mes "Exploring what? Choose your words wisely?";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "Do we not understand each other? What do you want?";
+ next;
+ select("I must explore the cave.");
+ mes "[Commander Lebiordirr]";
+ mes "That means... that you are ignoring my warning? Is this your decision or are you just following orders?";
+ next;
+ select("I'm just following orders");
+ mes "[Commander Lebiordirr]";
+ mes "Are you trying to insult me on purpose, outsider?";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "Why do you want to explore? It better be a very good reason.";
+ next;
+ select("It's about Dr. Magnifier's report...");
+ mes "[Commander Lebiordirr]";
+ mes "So... What do I care about an outsider's report?";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "To protect the Yggdrasil! That's the Laphine's fate. Can you say that about yourself?";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "Do you have any proof of your birth with Odin and Yggdrasil's blessings?";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "I shouldn't say anymore. Please don't take this as being rude but, please go now!";
+ next;
+ select("Then I'll ask the Sapha for help.");
+ mes "[Commander Lebiordirr]";
+ mes "What are you talking about, outsider?";
+ next;
+ mes "[Splendide Guard]";
+ mes "Sir, I can get rid of this rude outsider if you wish?";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "No, wait... The Sapha tribesmen know the meaning of that place? Did you ask to associate with them?";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "Ah... How tricky... Are you testing us?";
+ next;
+ mes "[Splendide Guard]";
+ mes "Calm down, sir. I will throw this outsider into prison.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "No... No, wait. Ok, I will accept it. I can accept your admission into the Holy Sekos.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "Okay. If you are a servant of the Yggdrasil as you claim to be, I will allow you admission. But I am not responsible for your actions.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "And make sure that if you find anything out of the ordinary in there, that you share it with us!";
+ next;
+ select("But of course!");
+ mes "[Commander Lebiordirr]";
+ mes "So... since I have agreed to allow your exploration... Arioss, help them, and take the results.";
+ next;
+ mes "[Aide Arioss]";
+ mes "Sir... are you sure? This is an invasion of the Holy Sekos...";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "Invasion is a harsh word. I am allowing them entrance. Better them than a dirty giant. It might just save our lives...";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "Here, outsider. Arioss will explain the situation with the giants. Talk with him...";
+ set ins_nyd,91;
+ close;
+ }
+ else if ((ins_nyd == 91) || (ins_nyd == 101) || (ins_nyd == 111) || (ins_nyd == 200) || (ins_nyd == 201) || (ins_nyd == 202)) {
+ mes "Outsider. Arioss here will explain the situation with the giants, talk with him...";
+ close;
+ }
+ else if ((ins_nyd == 72) || (ins_nyd == 82) || (ins_nyd == 92) || (ins_nyd == 102) || (ins_nyd == 112) || (ins_nyd == 122) || (ins_nyd == 132)) {
+ mes "Welcome to the Laphine camp in Splendide, outsider... I am Lebiordirr. I am in charge here.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "Be cautious of your actions. We already have lots of problems with the Sapha tribe as it is.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "If you are cautious with your actions, I won't place any harm on you. Fare well.";
+ close;
+ }
+ else if (ins_nyd == 203) {
+ mes "I was waiting for you. You came back safe, that's good news. Did you find anything?";
+ next;
+ select("Explain about the guardian Nidhoggur's leave.");
+ mes "[Commander Lebiordirr]";
+ mes "What? The Guardian is not in his nest...?";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "And because of his disppearance, the Guardian's Shadow is currently destorying the roots of the World Tree...?";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "That's unbelievable. You must be insulting the Guardian's and our pride. I did not provide you with our help for that.";
+ next;
+ mes "[Aide Arioss]";
+ mes "It's not like that, Commander, they speak the truth.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "What are you saying? Arioss, do not forget your place as the Guardian's priest.";
+ next;
+ mes "[Aide Arioss]";
+ mes "Even though I have not seen it with my own eyes, this does explain why we lost communication with the great World Tree Yggdrasil.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "Do not speak of His Highness, the World Tree Yggdrasil's name so lightly.";
+ next;
+ select("Pass along World Tree Yggdrasil's words.");
+ mes "[Commander Lebiordirr]";
+ mes "His Highness, the World Tree Yggdrasil, said that?";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "The reason behind all of this... is not because of the Sapha tribe, but because of the sudden leave of the Guardian? And the Guaridan has given up on his identity?";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "This must be reported... reported to the High Priest of Alfheim... Unbelievable.";
+ next;
+ mes "[Aide Arioss]";
+ mes "Commander... do we need to alert the rest of the tribe...?";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "You don't need to worry about this, Arioss. As commander, I will handle it. You just pretend nothing happened...";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "Strange one, thank you for your cooperation in such situations... Please forget what has happened today...";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "Arioss, please compensate this strange one for the help. I need to go rest...";
+ next;
+ mes "[Aide Arioss]";
+ mes "Commander...";
+ set ins_nyd,121;
+ close;
+ }
+ else if ((ins_nyd == 121) || (ins_nyd == 131)) {
+ mes "Strange one, thank you for your cooperation in such situations... Please forget what has happened today...";
+ close;
+ }
+ else {
+ mes "Welcome to the Laphine camp in Splendide, outsider... I am Lebiordirr. I am in charge here.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "Be cautious of your actions. We already have lots of problems with the Sapha tribe as it is.";
+ next;
+ mes "[Commander Lebiordirr]";
+ mes "If you are cautious with your actions, I won't place any harm on you. Fare well.";
+ close;
+ }
+ }
+ else {
+ mes "ThusDurnah Ra SharVeldIyaz U UorAmanDur Yee neaOsaAdor Yee...";
+ close;
+ }
+}
+
+spl_in01,104,56,3 script Aide Arioss#edq 437,3,3,{
+ mes "[Aide Arioss]";
+ if (isequipped(2782) == 1) {
+ if (ins_nyd == 91) {
+ mes "Sigh, since it's Commander Lebiordirr's wish, I will cooperate with you...";
+ next;
+ mes "[Aide Arioss]";
+ mes "You want to go there to find out exactly what that place is?";
+ next;
+ mes "[Aide Arioss]";
+ mes "Alright...it's as you have assumed, a place connecting to the World Tree. It's also the Guardian's Nest.";
+ next;
+ select("Guardian's Nest?");
+ mes "[Aide Arioss]";
+ mes "Yes, that's the nest of Nidhoggur, the Guardian of the World Tree...";
+ next;
+ mes "[Aide Arioss]";
+ mes "Only a marked guardian's servant from the Laphine tribe is allowed to enter.";
+ next;
+ mes "[Aide Arioss]";
+ mes "That place was initially closed off from the public, but then the giants of the Sapha tribe turned things around...";
+ next;
+ mes "[Aide Arioss]";
+ mes "To obtain more minerals, they started to dig with madness.";
+ next;
+ mes "[Aide Arioss]";
+ mes "In the end, they have harmed a part of the World Tree's root that lies very close to their mine, and thus, the World Tree became very ill.";
+ next;
+ mes "[Aide Arioss]";
+ mes "After we have arrived here knowing the facts, the World Tree was already in a very bad state due to the many factories built by the Sapha tribe.";
+ next;
+ mes "[Aide Arioss]";
+ mes "Even though, for a long time, we have been attacking the Sapha tribe, trying to force them to leave, they are not so easily defeated, leading to this stalemate.";
+ next;
+ mes "[Aide Arioss]";
+ mes "During this time, your people have travelled through the space-time gap to this land.";
+ next;
+ mes "[Aide Arioss]";
+ mes "Because of those many unexpected reasons, the Guardian's nest, which was meant to stay hidden deep underground, has been discovered by your race...";
+ next;
+ mes "[Aide Arioss]";
+ mes "Now you understand how serious this situation is. Because of the Sapha tribe, we are no longer able to approach the Guardian, and seek his teachings of wisdom.";
+ next;
+ mes "[Aide Arioss]";
+ mes "It's very insulting to our pride... but if you can help us enter that place again, and speak to the Guardian, maybe we can find a solution...";
+ next;
+ mes "[Aide Arioss]";
+ mes "Then we'll leave it to you. As for your request, I will do my best to cooperate.";
+ next;
+ mes "[Aide Arioss]";
+ mes "I have already told you what you wanted to know... If you need anything else, just let me know.";
+ set ins_nyd,101;
+ close;
+ }
+ else if (ins_nyd == 101) {
+ mes "Ah, you said that there is a strange power blocking the entrance to the Guardian's nest, right?";
+ next;
+ mes "[Aide Arioss]";
+ mes "That's because only the ones chosen by the Guardian may enter.";
+ next;
+ mes "[Aide Arioss]";
+ mes "We have been the Guardian's servants for generations, and have been protecting the World Tree ever since.";
+ next;
+ mes "[Aide Arioss]";
+ mes "Before we were captured and brought here, there were 3 servants including me. Our task was to heal the World Tree.";
+ next;
+ mes "[Aide Arioss]";
+ mes "One was killed in our last war with the Sapha tribe... and the other has been taken captive.";
+ next;
+ mes "[Aide Arioss]";
+ mes "I will give you my proof. Don't worry, I'm just temporarily marking you as a guardian's servant.";
+ specialeffect2 EF_HOLYHIT;
+ next;
+ mes "[Aide Arioss]";
+ mes "Also, remember this spell, it's needed to open the gate of the Guardian.";
+ next;
+ mes "[Aide Arioss]";
+ mes "AnomarDu Ha OdesUdenVer Ie ";
+ next;
+ mes "[Aide Arioss]";
+ mes "remuAlaAsh Mu ModtasAn Yu Dur";
+ next;
+ mes "[Aide Arioss]";
+ mes "TalsehrDur So CyaReMush Di DielAlaWos Ie RuffserIman Ie ";
+ next;
+ mes "[Aide Arioss]";
+ mes "Go find the fairy guarding the gate, and say this spell.";
+ next;
+ mes "[Aide Arioss]";
+ mes "The proof and the spell will confirm that you are one of the Guardian's servants.";
+ next;
+ mes "[Aide Arioss]";
+ mes "Please meet the Guardian, and come back with an answer to everything. I believe in you.";
+ set ins_nyd,111;
+ close;
+ }
+ else if ((ins_nyd == 101) || (ins_nyd == 111) || (ins_nyd == 200) || (ins_nyd == 201) || (ins_nyd == 202)) {
+ mes "Please meet with the Guardian and take a wise answer from him. I will trust you.";
+ close;
+ }
+ else if ((ins_nyd == 72) || (ins_nyd == 82) || (ins_nyd == 92) || (ins_nyd == 102) || (ins_nyd == 112)) {
+ mes "... ...";
+ next;
+ mes "Not even caring about this a single bit? What a stupid woman...";
+ close;
+ }
+ else if (ins_nyd == 121) {
+ mes "Things have actually become like this... as priests of the Guardian, it's our responsibility...";
+ next;
+ mes "[Aide Arioss]";
+ mes "I represent the entire Laphine tribe, and show you our gratitude. This must all be very hard for our commander...";
+ next;
+ mes "[Aide Arioss]";
+ mes "It can't compare with the effort you have put in for us... but please accept our token of friendship.";
+ getexp 1500000,350000;
+ getitem 6081,10; //Splendide_Coin
+ set ins_nyd,131;
+ mes "[Aide Arioss]";
+ mes "If we can help you with anything in the future, we will do all we can to assist you. Once again, thank you.";
+ close;
+ }
+ else if (ins_nyd == 131) {
+ mes "If we can help you with anything in the future, we will do all we can to assist you. Once again, thank you.";
+ close;
+ }
+ else {
+ mes "... ...";
+ next;
+ mes "Never give attention to... um... a blunt woman...";
+ close;
+ }
+ }
+ else {
+ mes "AmanVilShar Ie DorLuShar Mu Re";
+ close;
+ }
+}
+
+spl_in01,110,21,0 script trap#s_edq -1,10,10,{
+OnTouch_:
+ if ((isequipped(2782) == 1) && (ins_nyd == 51)) {
+ mes "[Splendide Guard]";
+ mes "That man is currently under arrest.";
+ next;
+ mes "[Splendide Guard]";
+ mes "You'd better behave, Aide Arioss says that different races shall be treated the same way.";
+ warp "spl_in01",109,58;
+ close;
+ }
+ end;
+}
+
+spl_in01,101,52,5 script Splendide Guard#1_edq 447,1,1,{
+ mes "[Splendide Guard]";
+ if (isequipped(2782) == 1) mes "This is the Splendide office. Don't act impolitely.";
+ else mes "ThusDurnah Ra SharVeldIyaz U UorAmanDur Yee neaOsaAdor Yee ";
+ close;
+}
+
+spl_in01,118,52,3 script Splendide Guard#2_edq 447,1,1,{
+ mes "[Splendide Guard]";
+ if (isequipped(2782) == 1) mes "This is the Splendide office. Don't act impolitely.";
+ else mes "ThusDurnah Ra SharVeldIyaz U UorAmanDur Yee neaOsaAdor Yee ";
+ close;
+}
+
+man_in01,311,57,3 script Neat Etorr#edq 453,3,3,{
+ mes "[Neat Etorr]";
+ if (isequipped(2782) == 1) {
+ if (ins_nyd == 52) {
+ mes "Guest from the other world, please excuse our rudeness...";
+ next;
+ mes "[Neat Etorr]";
+ mes "As the leader of the Sapha tribe, I have something very important to tell you. That is why I asked for you...";
+ next;
+ mes "[Neat Etorr]";
+ mes "Your race has come to this land not long ago through the space-time gap.";
+ next;
+ mes "[Neat Etorr]";
+ mes "You should have already seen what is going on. We have been at war with the Laphine tribe for a very long time.";
+ next;
+ mes "[Neat Etorr]";
+ mes "Recently, because you do not understand the current situations, you have done some things that I, as a leader, can't ignore any longer.";
+ next;
+ mes "[Neat Etorr]";
+ mes "I hope that your people will becareful of your actions on this land, and terminate any unnecessary interventions.";
+ next;
+ if(select("Leave quietly.:Don't know what he's talking about, and ask for details.")==1) close;
+ mes "[Manuk Field Elite Soldier]";
+ mes "Are we really just letting these people go after they have stirred up problems on our land?";
+ next;
+ mes "[Neat Etorr]";
+ mes "After what happened, I don't think they know what else they can do. Let me explain.";
+ next;
+ mes "[Neat Etorr]";
+ mes "For now, we have acknowledged your race, and have been tolerant towards your activities.";
+ next;
+ mes "[Neat Etorr]";
+ mes "But we have recently started to suspect you of being the Laphine tribe's eyes and ears.";
+ next;
+ mes "[Neat Etorr]";
+ mes "Not long ago, We have heard that you have found remains in an abandoned cave in the north, and have been conducting investigations and researches regarding it.";
+ next;
+ mes "[Neat Etorr]";
+ mes "We have captured a Laphine tribe priest during the last war, and we have heard that you have had contact with said captive.";
+ next;
+ mes "[Neat Etorr]";
+ mes "That captive is the only reference for our tribe, so we have taken good care of her. She is related to your current investigation.";
+ next;
+ mes "[Neat Etorr]";
+ mes "For your people, who have no direct connections, it is not a place satisfy your curiosity. I hope that you stop your investigations, and mind your own business.";
+ next;
+ mes "[Neat Etorr]";
+ mes "If you don't accept our request, then do not expect any cooperations between our races in the future.";
+ next;
+ mes "[Neat Etorr]";
+ mes "Because of the war against the Laphine tribe, everything is a mess. But even then, we cannot allow a foreign race to interfere.";
+ next;
+ mes "[Neat Etorr]";
+ mes "You have heard it all, now please report back to your race.";
+ set ins_nyd,62;
+ close;
+ }
+ else if (ins_nyd == 62) {
+ mes "That captive is the only reference for our tribe, so we have taken good care of her. She is related to your current investigation.";
+ next;
+ mes "[Neat Etorr]";
+ mes "For your people, who have no direct connections, it is not a place to satisfy your curiosity. I hope that you stop your investigations, and mind your own business.";
+ next;
+ mes "[Neat Etorr]";
+ mes "If you don't accept our request, then do not expect any cooperations between our races in the future.";
+ close;
+ }
+ else if (ins_nyd == 72) {
+ mes "Recently, because you do not understand the current situations, you have done some things that I, as a leader, can't ignore any longer.";
+ next;
+ mes "[Neat Etorr]";
+ mes "I hope that your people will becareful of your actions on this land, and terminate any unnecessary interventions.";
+ close;
+ }
+ else if (ins_nyd == 82) {
+ mes "Do you need me for something, strange one?";
+ next;
+ select("Received invitation from the Sapha tribe to cooperate and investigate.");
+ mes "[Neat Etorr]";
+ mes "Cooperate and investigate? What do you mean?";
+ next;
+ mes "[Neat Etorr]";
+ mes "It seems like you did not understand what I said. What are you thinking?";
+ next;
+ select("Please allow me to investigate the cave.");
+ mes "[Neat Etorr]";
+ mes "From what I can tell, you are disrespecting my request. Is this your intention, or your people's intention?";
+ next;
+ select("It's our intention.");
+ mes "[Neat Etorr]";
+ mes "Ah, it is not an easy decision. You frighten me.";
+ next;
+ mes "[Neat Etorr]";
+ mes "But may I ask why you want to do this?";
+ next;
+ select("Explain Professor Magnifier's theory.");
+ mes "[Neat Etorr]";
+ mes "It's surprising that you are able to obtain such results. We also have a similar theory.";
+ next;
+ mes "[Neat Etorr]";
+ mes "At least we also think that we must use the Laphine prisoner to get information.";
+ next;
+ mes "[Neat Etorr]";
+ mes "This problem has been the root of our conflicts with the Laphine tribe. Of course, it may also be an opportunity to resolve them.";
+ next;
+ mes "[Neat Etorr]";
+ mes "Therefore, it's more of a reason to depend on our own powers. There is no room for you to interfere. Please give up.";
+ next;
+ select("Give up request, and ask Laphine tribe for help instead.");
+ mes "[Manuk Field Elite Soldier]";
+ mes "You finally showed your true face. I knew you were a spy from the Laphine tribe!";
+ next;
+ mes "[Neat Etorr]";
+ mes "Ah...you'd go as far as saying that. What good will it do for you, helping the Laphine tribe?";
+ next;
+ mes "[Neat Etorr]";
+ mes "Those obnoxious dwarves offended our right of living, and are trying to get rid of us.";
+ next;
+ mes "[Neat Etorr]";
+ mes "The reason we don't allow anyone to enter that site is because it's full of suspicions.";
+ next;
+ mes "[Neat Etorr]";
+ mes "Alright, I'll approve of your request, and let you investigate the secret the Laphine tribe has hidden inside the cave.";
+ next;
+ mes "[Neat Etorr]";
+ mes "If you promise to share all of your research results and findings, we will accept your request.";
+ next;
+ select("Of course.");
+ mes "[Neat Etorr]";
+ mes "Alright, from now on, we will cooperate with you, and allow you to directly communicate with the Laphine prisoner.";
+ next;
+ mes "[Manuk Field Elite Soldier]";
+ mes "Commander...are you sure of this? We don't even know if they're friend or foe...";
+ next;
+ mes "[Neat Etorr]";
+ mes "With just our powers, it's impossible to figure out what the Laphine is up to. I think the past has proven that.";
+ next;
+ mes "[Neat Etorr]";
+ mes "What they're doing right now could potentially lead us to a solution.";
+ next;
+ mes "[Neat Etorr]";
+ mes "Strange one, we hope our cooperation will be a good one. Now please go interrogate the Laphine prisoner.";
+ set ins_nyd,92;
+ close;
+ }
+ else if ((ins_nyd == 92) || (ins_nyd == 102) || (ins_nyd == 112) || (ins_nyd == 200) || (ins_nyd == 201) || (ins_nyd == 202)) {
+ mes "Strange one, we hope our cooperation will be a good one. Now please go interrogate the Laphine prisoner.";
+ close;
+ }
+ else if ((ins_nyd == 71) || (ins_nyd == 81) || (ins_nyd == 91) || (ins_nyd == 101) || (ins_nyd == 111) || (ins_nyd == 121) || (ins_nyd == 131)) {
+ mes "Outsider. Welcome to Manuk, the village of the Sapha. I am its representative, Neat Etorr.";
+ next;
+ mes "[Neat Etorr]";
+ mes "We are just a small village, nothing special... but rest comfortably.";
+ close;
+ }
+ else if (ins_nyd == 203) {
+ mes "I was waiting for you. It's good that you're safe. Did you find anything?";
+ next;
+ select("Explain the sudden leave of the Guardian.");
+ mes "[Neat Etorr]";
+ mes "So... that's the nest of the Guardian of the World Tree, the sacred grounds for the Laphine tribe.";
+ next;
+ mes "[Neat Etorr]";
+ mes "But because of the angry leave of the Guardian, his shadow is wreaking havoc on the World Tree?";
+ next;
+ mes "[Neat Etorr]";
+ mes "If what you're saying is true, then there is no more reason for us to continue fighting the Laphine tribe...";
+ next;
+ mes "[Neat Etorr]";
+ mes "What a huge discovery... So Nidhoggur is no longer the Guardian of the World Tree...?";
+ next;
+ mes "[Neat Etorr]";
+ mes "Nidhoggur's Shadow came to exist in this world, and harmed the roots of the World Tree... what a disaster.";
+ next;
+ select("Pass along the World Tree Yggdrasil's message.");
+ mes "[Neat Etorr]";
+ mes "Is that what the priest of the Guardian said?";
+ next;
+ mes "[Neat Etorr]";
+ mes "From now on, we need to talk about this with the Laphine tribe.";
+ next;
+ mes "[Neat Etorr]";
+ mes "But of course...we don't know if they're reasonable enough...hehe.";
+ next;
+ mes "[Neat Etorr]";
+ mes "This is all we needed from you...What is left is business between us and the Laphine tribe.";
+ next;
+ mes "[Neat Etorr]";
+ mes "Thank you for helping us with such a huge problem. You may forget about it now.";
+ next;
+ mes "[Neat Etorr]";
+ mes "It's not a lot, but please this as a token of our appreciation.";
+ getexp 1500000,350000;
+ getitem 6080,10; //Manuk_Coin
+ set ins_nyd,132;
+ close;
+ }
+ else if (ins_nyd == 132) {
+ mes "Strange one, thank you for helping us in the time of need. I will never forget your kindness.";
+ close;
+ }
+ else {
+ mes "Outsider. Welcome to the Manuk village of Sapha. I am its representative, Neat Etorr.";
+ next;
+ mes "[Neat Etorr]";
+ mes "We are just a small village, nothing special... but rest comfortably.";
+ close;
+ }
+ }
+ else {
+ mes "Tkeh likek Ohek QekhlHkl PkedlioH.";
+ close;
+ }
+}
+
+man_in01,286,61,5 script Manuk Guard#1_edq 450,1,1,{
+ mes "[Manuk Guard]";
+ if (isequipped(2782) == 1) mes "I'm guarding this Laphine prisoner. Leave me alone.";
+ else mes "Klekod Oi Thekd Pheid Okei.";
+ close;
+}
+
+man_in01,295,61,3 script Manuk Guard#2_edq 450,1,1,{
+ mes "[Manuk Guard]";
+ if (isequipped(2782) == 1) mes "I'm guarding this Laphine prisoner. Leave me alone.";
+ else mes "Liek QUekdk Ohei Vue.";
+ close;
+}
+
+man_in01,291,62,3 script Laphine Prisoner#edq 437,3,3,{
+ mes "[Laphine Prisoner]";
+ if (isequipped(2782) == 1) {
+ if (ins_nyd == 5) {
+ mes "You... are not of the Sapha tribe... Are you... an outsider?";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "Have you ever come in contact with the Laphine tribe? Have you ever been to Splendide?";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "Please, talk to my people in Splendide. They will come to help me.";
+ next;
+ switch(select("What happened to you?:What's in the cave to the north?:Tell me about your tribe.:I will leave you alone.")) {
+ case 1:
+ mes "[Laphine Prisoner]";
+ mes "During out last battle with the Sapha tribe... they caught me and took me prisoner.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "The Sapha tribe attacked first. They are destroying the World Tree.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "That's why the war started. But I don't want to fight with the Sapha tribe anymore...";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "If it wasn't for that... I wouldn't survive here...";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "Please. Bring this news to all of Splendide. Send someone to save me... or they might kill me.";
+ close;
+ case 2:
+ mes "[Laphine Prisoner]";
+ mes "There is...";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "No... I can't tell you... It's the secret of our tribe...";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "I just want to say this...if the Sapha tribe intrude that place, we will never forgive them!";
+ set ins_nyd,52;
+ close;
+ case 3:
+ mes "[Laphine Prisoner]";
+ mes "The Laphines have protected the Yggdrasil World Tree for generations.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "We live in a... different time, different land... we came for an expedition.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "After we received reports from our spy about the World Tree's strange symptoms, we recgnized the Manuk's existence.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "They are mining metal, and in so doing, destroying the World Tree's roots...";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "So we dispatched an expedition here. Soonafter, the war with the Sapha began...";
+ close;
+ case 4:
+ close;
+ }
+ }
+ else if (ins_nyd == 92) {
+ mes "The sapha tribe went as far as cooperating with an unknown race?";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "What is your purpose? Why do you want to know what that place is?";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "lright...it's as you have assumed, a place connecting to the World Tree. It's also the Guardian's Nest.";
+ next;
+ select("Guardian's Nest?");
+ mes "[Laphine Prisoner]";
+ mes "Yes, that's the nest of Nidhoggur, the Guardian of the World Tree...";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "Only a marked guardian's servant from the Laphine tribe is allowed to enter.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "That place was initially closed off from the public, but then the giants of the Sapha tribe turned things around...";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "To obtain more minerals, they started to dig with madness.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "In the end, they have harmed a part of the World Tree's root that lies very close to their mine, and thus, the World Tree became very ill.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "After we have arrived here knowing the facts, the World Tree was already in a very bad state due to the many factories built by the Sapha tribe.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "Even though, for a long time, we have been attacking the Sapha tribe, trying to force them to leave, they are not so easily defeated, leading to this stalemate.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "During this time, your people have travelled through the space-time gap to this land.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "Because of those many unexpected reasons, the Guardian's nest, which was meant to stay hidden deep underground, has been discovered by your race...";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "Now you understand how serious this situation is. Because of the Sapha tribe, we are no longer able to approach the Guardian, and seek his teachings of wisdom.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "Hmph...even if I don't cooperate, I know you will find other means to get in...";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "Looking at the current situation of the Laphine tribe, we do not have enough power to surround the Manuk fields, and chase the giants away.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "Okay, if it has already become like this, I will help you. There are no dead-ends. If you keep going, you will find a solution.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "Even if I don't say anything, my situation will not change.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "I have already told you everything you wanted to hear. If you have any other requests, please let me know.";
+ set ins_nyd,102;
+ close;
+ }
+ else if (ins_nyd == 102) {
+ mes "Ah, you said that there is a strange power blocking the entrance to the Guardian's nest, right?";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "That's because only the ones chosen by the Guardian may enter.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "We have been the Guardian's servants for generations, and have been protecting the World Tree ever since.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "Before we were captured and brought here, there were 3 servants including me. Our task was to heal the World Tree.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "One was killed in our last war with the Sapha tribe...and I have been taken captive.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "I will give you my proof. Don't worry, I'm just temporarily marking you as a guardian's servant.";
+ specialeffect2 EF_HOLYHIT;
+ next;
+ mes "[Laphine Prisoner]";
+ mes "Also, remember this spell, it's needed to open the gate of the Guardian.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "AnomarDu Ha OdesUdenVer Ie ";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "remuAlaAsh Mu ModtasAn Yu Dur";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "TalsehrDur So CyaReMush Di DielAlaWos Ie RuffserIman Ie ";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "Go find the fairy guarding the gate, and say this spell.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "he proof and the spell will confirm that you are one of the Guardian's servants.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "Please meet the Guardian, and come back with an answer to everything. And tell the answer to...";
+ set ins_nyd,112;
+ close;
+ }
+ else if ((ins_nyd == 71) || (ins_nyd == 81) || (ins_nyd == 91) || (ins_nyd == 101) || (ins_nyd == 111) || (ins_nyd == 121) || (ins_nyd == 131)) {
+ mes "... ...";
+ next;
+ mes "[Manuk Guard]";
+ mes "Hey, outsider! Step away from the prisoner!";
+ close;
+ }
+ else if (ins_nyd == 112) {
+ mes "Please meet the Guardian, and come back with an answer to everything. And tell the answer to...";
+ close;
+ }
+ else if (ins_nyd == 132) {
+ mes "Yes...I heard your conversation with the Sapha tribe...";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "If our tribe were to really trust in the Sapha tribe...I don't know.";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "Our hatred towards them has already reached an abnormal level...";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "Those giants...can they really be trusted?";
+ next;
+ mes "[Laphine Prisoner]";
+ mes "It's...it's better if you don't believe the one called Etorr...the minds of the Sapha tribe is unpredictable.";
+ close;
+ }
+ else {
+ mes "... ...";
+ next;
+ mes "[Manuk Guard]";
+ mes "Hey, outsider! Step away from the prisoner!";
+ close;
+ }
+ }
+ else {
+ mes "AmanVilShar Ie DorLuShar Mu Re";
+ close;
+ }
+}
+
+man_in01,282,42,0 script trap#edq2 -1,10,10,{
+OnTouch_:
+ if ((isequipped(2782) == 1) && (ins_nyd == 52)) {
+ mes "[Manuk Field Elite Soldier]";
+ mes "This is Neat Etorr's order. Please come with us to see him.";
+ next;
+ mes "[Manuk Field Elite Soldier]";
+ mes "Bring him to Neat Etorr. All soldiers be prepared.";
+ warp "man_in01",311,54;
+ close;
+ }
+ end;
+}
+
+// First floor
+1@nyd,213,277,5 script Murdered Yggdrasilid#1F 437,5,5,{
+ if ('ins_nyd2 == 0) {
+ mes "When a faint light enters your heart, a voice sounds in your head.";
+ next;
+ mes "[World Tree World Tree Yggdrasil]";
+ mes "It's all over... servants of the Guardian... Hurry up and leave this place.";
+ next;
+ while (1) {
+ switch(select("Who are you?:What do you mean?")) {
+ case 1:
+ mes "[World Tree World Tree Yggdrasil]";
+ mes "I... I am the World Tree Yggdrasil, servant of the Guardian of Nidhoggur, as well as the High Priest leading the Laphine Tribe.";
+ next;
+ mes "[World Tree World Tree Yggdrasil]";
+ mes "So you're not priestess of the Laphine Tribe... How did you get in? No, there's no time to answer that.";
+ next;
+ mes "[World Tree World Tree Yggdrasil]";
+ mes "Hurry... and leave... leave this place before it's too late.";
+ next;
+ break;
+ case 2:
+ mes "[World Tree World Tree Yggdrasil]";
+ mes "The guardian... something's wrong with the guardian. I don't know what made him like this.";
+ next;
+ mes "[World Tree World Tree Yggdrasil]";
+ mes "This... this is no longer the nest of the Guardian of the World Tree Yggdrasil.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "Darkness took over the Guardian and destroyed all living things... now this place has become the cursed home of monsters.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "Now the vile Nidhoggur's Shadow is wreaking havoc here...";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "Now's not too late, hurry and get out... tell the Laphine Tribe about this... tell the commanders of Alfheim...";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "My soul... it has been trapped here. You're the only ones I can trust now.";
+ next;
+ set .@exit,1;
+ }
+ if (.@exit) break;
+ }
+ select("Nidhoggur's Shadow?");
+ mes "[World Tree Yggdrasil]";
+ mes "The Guardian Nidhoggur... he's not in the nest.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "He...for some reason abandoned his own shadow, and left.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "All that's left, is the ugly Shadow of the Guardian of Nidhoggur...the Shadow that is going mad.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "The Shadow sucked all the nutrients from the World Tree Yggdrasil, and has gone mad when there is nothing more left to obtain. Now, he wants this land.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "Once the ugly Shadow leaves here to steal power from the other World Yggdrasil Trees, there will be great destruction. This world will become hell.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "You must... tell the commanders of Alfheim about this, and come up with a plan. Only them...";
+ next;
+ select("Is there nothing else we can do?");
+ mes "[World Tree Yggdrasil]";
+ mes "With our current powers...it is impossible to defeat the Guardian.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "But the one going mad is not the Guardian, but his dark Shadow...maybe we can trap him here...";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "Are you willing to accept this mission? Even if it means to pay with your life?";
+ next;
+ if(select("Leave it to us.:We can't do it.")==2) close;
+ mes "[World Tree Yggdrasil]";
+ mes "I thank you deeply for your decision. I will use what is left of my powers to open up the path towards the Guardian's Nest.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ if (getpartyleader(getcharid(1),2) == getcharid(0)) {
+ mes "The path to the Guardian's Nest is just past the waterfall by the large World Tree Yggdrasil to the North. The defensive mechanisms of the Sanctuary will start immediately.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "Defeat all of Nidhoggur's guardians and go through the waterfall into the nest... and stop Nidhoggur's Shadow there.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "The gate will open soon. Go defeat all of the guardians... you must kill them all in 30 minutes before the gate opens...";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "30 minutes... that's the limit of my powers. Please hurry.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "And... Be careful... Be careful of the shadow's power.";
+ set 'ins_nyd2,1;
+ donpcevent instance_npcname("ins_nyd_1f_timer", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("nyd_call_mon_1", instance_id())+"::OnEnable";
+ close;
+ } else {
+ mes "The path to the Guardian's Nest is just past the waterfall by the large World Tree Yggdrasil to the North. The defensive mechanisms will start immediately.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "Defeat all of Nidhoggur's guardians and go through the waterfall into the nest... and stop Nidhoggur's Shadow there.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "The gate will open soon. Go defeat all of the guardians... you must kill them all in 30 minutes before the gate opens...";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "30 minutes... that's the limit of my powers. Please hurry.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "And... Be careful... Be careful of the shadow's power.";
+ close;
+ }
+ }
+ else if ('ins_nyd2 == 1) {
+ mes "[World Tree Yggdrasil]";
+ mes "The path to the Guardian's Nest is just past the waterfall by the large World Tree Yggdrasil to the North. The defensive mechanisms will start immediately.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "Defeat all of Nidhoggur's guardians and go through the waterfall into the nest... and stop Nidhoggur's Shadow there.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "The gate will open soon. Go defeat all of the guardians.";
+ close;
+ }
+ else if ('ins_nyd2 == 2) {
+ mes "[World Tree Yggdrasil]";
+ mes "The path to the Guardian's Nest is just past the waterfall by the large World Tree Yggdrasil to the North.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "Use your powers... and destroy the vile Shadow...";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "This is.. all I can do for you...";
+ close;
+
+ }
+ else {
+ mes "[World Tree Yggdrasil]";
+ mes "Those who want to taint the sacred Sanctuary of the Guardian... Get out.";
+ warp "mid_camp",100,100;
+ }
+ end;
+
+OnTouch:
+ if ('ins_nyd2 == 0) {
+ mes "What's a woman from the Laphine Tribe doing here...";
+ next;
+ mes "What's happening? Let's go check it out.";
+ close;
+ }
+ end;
+}
+
+1@nyd,1,1,0 script nyd_call_mon_1 -1,{
+OnInstanceInit:
+ enablenpc instance_npcname("nyd_call_mon_1", instance_id());
+ end;
+
+OnEnable:
+ monster "1@nyd",220,250,"Nidhoggur's Guardian#1",2020,1,instance_npcname("nyd_call_mon_1", instance_id())+"::OnMyMobDead";
+ monster "1@nyd",220,252,"Nidhoggur's Guardian#2",2020,1,instance_npcname("nyd_call_mon_1", instance_id())+"::OnMyMobDead";
+ monster "1@nyd",240,270,"Nidhoggur's Guardian#3",2020,1,instance_npcname("nyd_call_mon_1", instance_id())+"::OnMyMobDead";
+ monster "1@nyd",240,272,"Nidhoggur's Guardian#4",2020,1,instance_npcname("nyd_call_mon_1", instance_id())+"::OnMyMobDead";
+ monster "1@nyd",200,200,"Nidhoggur's Guardian#5",2020,1,instance_npcname("nyd_call_mon_1", instance_id())+"::OnMyMobDead";
+ monster "1@nyd",210,210,"Nidhoggur's Guardian#6",2020,1,instance_npcname("nyd_call_mon_1", instance_id())+"::OnMyMobDead";
+ monster "1@nyd",225,265,"Nidhoggur's Guardian#7",2021,1,instance_npcname("nyd_call_mon_1", instance_id())+"::OnMyMobDead";
+ monster "1@nyd",225,270,"Nidhoggur's Guardian#8",2021,1,instance_npcname("nyd_call_mon_1", instance_id())+"::OnMyMobDead";
+ monster "1@nyd",245,235,"Nidhoggur's Guardian#9",2021,1,instance_npcname("nyd_call_mon_1", instance_id())+"::OnMyMobDead";
+ monster "1@nyd",255,255,"Nidhoggur's Guardian#10",2021,1,instance_npcname("nyd_call_mon_1", instance_id())+"::OnMyMobDead";
+ monster "1@nyd",225,245,"Nidhoggur's Guardian#11",2021,1,instance_npcname("nyd_call_mon_1", instance_id())+"::OnMyMobDead";
+ monster "1@nyd",230,280,"Nidhoggur's Guardian#12",2021,1,instance_npcname("nyd_call_mon_1", instance_id())+"::OnMyMobDead";
+ instance_announce 0, "Nidhoggur's Guardian : Protect the Guardian's Sanctuary. Get rid of the intruders.",bc_map,"0x00ff99";
+ end;
+
+OnDisable:
+ killmonster "1@nyd",instance_npcname("nyd_call_mon_1", instance_id())+"::OnMyMobDead";
+ disablenpc instance_npcname("nyd_call_mon_1", instance_id());
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("1@nyd", instance_npcname("nyd_call_mon_1", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "All of Nidhoggur's Guardians have been defeated!",bc_map,"0x00ff99";
+ donpcevent instance_npcname("ins_nyd_1f_timer", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_to2f_warp", instance_id())+"::OnEnable";
+ set 'ins_nyd2,2;
+ }
+ end;
+}
+
+1@nyd,1,2,0 script ins_nyd_1f_timer -1,{
+
+OnInstanceInit:
+ disablenpc instance_npcname("ins_nyd_1f_timer", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("ins_nyd_1f_timer", instance_id());
+ initnpctimer;
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("ins_nyd_1f_timer", instance_id());
+ stopnpctimer;
+ killmonsterall "1@nyd";
+ end;
+
+OnTimer900000:
+ instance_announce 0, "World Tree Yggdrasil : There's not much time left. Please hurry.",bc_map,"0xFFFF00";
+ end;
+
+OnTimer1200000:
+ instance_announce 0, "World Tree Yggdrasil : My powers are slowly disappearing. Please hurry.",bc_map,"0xFFFF00";
+ end;
+
+OnTimer1500000:
+ instance_announce 0, "World Tree Yggdrasil : I'm... almost at my limit... please hurry up." ,bc_map,"0xFFFF00";
+ end;
+
+OnTimer1800000:
+ instance_announce 0, "World Tree Yggdrasil : You've failed... but I will use what power I have left... to send you out of here.",bc_map,"0xFFFF00";
+ end;
+
+OnTimer1830000:
+ instance_announce 0, "Opening of the Gate has failed.",bc_map,"0xFFFF00";
+ end;
+
+OnTimer1850000:
+ donpcevent instance_npcname("ins_nyd_1f_timer", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_call_mon_1", instance_id())+"::OnDisable";
+ instance_warpall "mid_camp",310,150;
+ stopnpctimer;
+ end;
+}
+
+1@nyd,195,320,0 script nyd_to2f_warp 45,5,5,{
+
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_to2f_warp", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_to2f_warp", instance_id());
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("nyd_to2f_warp", instance_id());
+ end;
+
+OnTouch:
+ warp "2@nyd",200,10;
+ end;
+}
+
+1@nyd,1,1,0 script ins_nyd1_spawn_mobs -1,{
+OnInstanceInit:
+ monster "1@nyd",0,0,"Ancient Tree",2019,20;
+ monster "1@nyd",0,0,"Rhyncho",2020,15;
+ monster "1@nyd",0,0,"Phylla",2021,15;
+ monster "1@nyd",0,0,"Aqua Elemental",2016,15;
+ monster "1@nyd",0,0,"Dark Pinguicula",2015,15;
+ monster "1@nyd",0,0,"Ancient Tree",2019,20;
+ monster "1@nyd",0,0,"Rhyncho",2020,15;
+ monster "1@nyd",0,0,"Phylla",2021,15;
+ monster "1@nyd",0,0,"Aqua Elemental",2016,15;
+ monster "1@nyd",0,0,"Dark Pinguicula",2015,15;
+ end;
+}
+
+// Second Floor
+2@nyd,200,14,0 script nyd_2f_enter -1,6,6,{
+OnTouch_:
+ donpcevent instance_npcname("nyd_2f_enter_broad", instance_id())+"::OnEnable";
+ disablenpc instance_npcname("nyd_2f_enter", instance_id());
+ end;
+}
+
+2@nyd,1,1,0 script nyd_2f_enter_broad -1,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_enter_broad", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_enter_broad", instance_id());
+ initnpctimer;
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("nyd_2f_enter_broad", instance_id());
+ end;
+
+OnTimer12000:
+ instance_announce 0, "Nidhoggur's Shadow : No more...I can't stand this anymore...",bc_map,"0xFFFF00";
+ end;
+
+OnTimer15000:
+ instance_announce 0, "Nidhoggur's Shadow : I need...I need the World Tree Yggdrasil's powers...",bc_map,"0xFFFF00";
+ end;
+
+OnTimer18000:
+ instance_announce 0, "Nidhoggur's Shadow : Destroy...everything...",bc_map,"0xFFFF00";
+ end;
+ /*
+ stopnpctimer;
+ disablenpc instance_npcname("nyd_2f_enter_broad", instance_id());
+ end;
+ */
+}
+
+2@nyd,199,178,0 script nyd_2f_ddr_control -1,6,6,{
+OnTouch:
+ specialeffect2 EF_HOLYHIT;
+ mes "From below the gorgeous stones, a strange breeze is forming.";
+ next;
+ mes "The strange power slowly surrounds your body, the dimension is starting to shift.";
+ close2;
+ warp "2@nyd",199,255;
+ end;
+}
+
+2@nyd,199,268,0 script nyd_2f_boss_enter -1,8,8,{
+OnInstanceInit:
+ enablenpc instance_npcname("nyd_2f_boss_enter", instance_id());
+ end;
+
+OnTouch_:
+ if (getpartyleader(getcharid(1),2) == getcharid(0)) {
+ donpcevent instance_npcname("nyd_2f_boss_enter_call", instance_id())+"::OnEnable";
+ disablenpc instance_npcname("nyd_2f_boss_enter", instance_id());
+ end;
+ }
+ end;
+}
+
+2@nyd,2,2,0 script nyd_2f_boss_enter_call -1,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_boss_enter_call", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_boss_enter_call", instance_id());
+ monster "2@nyd",199,327,"Nidhoggur's Shadow#",2022,1,instance_npcname("nyd_2f_boss_enter_call", instance_id())+"::OnMyMobDead";
+ instance_announce 0, "Nidhoggur's Shadow : I will devour all of you...you and the World Tree Yggdrasil.",bc_map,"0x00ff99";
+ //donpcevent instance_npcname("nyd_2f_boss_enter_call", instance_id())+"::Ongo";
+ initnpctimer;
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("nyd_2f_boss_enter_call", instance_id());
+ killmonster "2@nyd",instance_npcname("nyd_2f_boss_enter_call", instance_id())+"::OnMyMobDead";
+ end;
+
+OnTimer180000:
+ set .@rullet,rand(1,4);
+ if (.@rullet == 1) {
+ instance_announce 0, "Nidhoggur's Shadow : In this chaos... your blood is just what I need.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",115,278;
+ end;
+ }
+ else if (.@rullet == 2) {
+ instance_announce 0, "Nidhoggur's Shadow : I will freeze every last drop of your blood.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",115,373;
+ end;
+ }
+ else if (.@rullet == 3) {
+ instance_announce 0, "Nidhoggur's Shadow : Sleep for eternity in an empty illusion.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",284,278;
+ end;
+ }
+ else if (.@rullet == 4) {
+ instance_announce 0, "Nidhoggur's Shadow : I'll let you enjoy the pain of dying slowly.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",284,374;
+ end;
+ }
+ stopnpctimer;
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@nyd",instance_npcname("nyd_2f_boss_enter_call", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "Nidhoggur's Shadow : World Tree Yggdrasil's guardian... his powers are disappearing...",bc_map,"0x00ff99";
+ donpcevent instance_npcname("World Tree Yggdrasil#2F", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("nyd_2f_boss_enter_call", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_boss_enter_logic", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_red_c", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white_c", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow_c", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green_c", instance_id())+"::OnDisable";
+ end;
+ }
+ else {
+ end;
+ }
+}
+
+2@nyd,2,4,0 script nyd_2f_boss_enter_logic -1,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_boss_enter_logic", instance_id());
+ end;
+
+OnEnable:
+ stopnpctimer;
+ initnpctimer;
+ end;
+
+OnDisable:
+ stopnpctimer;
+ disablenpc instance_npcname("nyd_2f_boss_enter_logic", instance_id());
+ end;
+
+OnTimer180000:
+ set .@rullet,rand(1,4);
+ if (.@rullet == 1) {
+ instance_announce 0, "Nidhoggur's Shadow : In this chaos... your blood is just what I need.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",115,278;
+ end;
+ }
+ else if (.@rullet == 2) {
+ instance_announce 0, "Nidhoggur's Shadow : I will freeze every last drop of your blood.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",115,373;
+ end;
+ }
+ else if (.@rullet == 3) {
+ instance_announce 0, "Nidhoggur's Shadow : Sleep for eternity in an empty illusion.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",284,278;
+ end;
+ }
+ else if (.@rullet == 4) {
+ instance_announce 0, "Nidhoggur's Shadow : I'll let you enjoy the pain of dying slowly.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",284,374;
+ end;
+ }
+ stopnpctimer;
+ end;
+}
+
+2@nyd,202,324,5 script World Tree Yggdrasil#2F 437,3,3,{
+ mes "[World Tree Yggdrasil]";
+ mes "Thank you. You're the saviour of humans and the Laphine Tribe.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "You've defeated Nidhoggur's Shadow. But...It's not gone for good. Its powers are merely put to sleep.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "But you have won us plenty of time. This is great.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "Please go and report this to those in charge of Splendide and Manuk.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "As you have seen, neither the Sapha tribe nor the Laphine tribe is at fault for the weakening of the World Tree. It's all because of the Guardian's Shadow...";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "The Guardian's insanity...is caused by powers unknown to us... You must tell this to everyone.";
+ next;
+ mes "[World Tree Yggdrasil]";
+ mes "Now... Allow me to escort you out of the cursed nest.";
+ next;
+ switch(select("Please let me out.:I want to look around for a while.")) {
+ case 1:
+ set 'ins_nyd2,0;
+ //setquest 3135;
+ warp "nyd_dun02",98,196;
+ end;
+ case 2:
+ mes "[World Tree Yggdrasil]";
+ mes "Is that so... I'll be around if you want to leave.";
+ close;
+ }
+
+OnInstanceInit:
+ disablenpc instance_npcname("World Tree Yggdrasil#2F", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("World Tree Yggdrasil#2F", instance_id());
+ instance_announce 0, "World Tree Yggdrasil : You did good. Have everyone go to the Magic Circle in the middle, and get ready for the destruction of the nest.",bc_map,"0x00ff99";
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("World Tree Yggdrasil#2F", instance_id());
+ end;
+}
+
+2@nyd,115,278,0 script nyd_2f_red -1,5,5,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_red", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_red", instance_id());
+ donpcevent instance_npcname("nyd_2f_red_warp1", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("nyd_2f_red_warp2", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("nyd_2f_red_warp3", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("nyd_2f_red_c", instance_id())+"::OnEnable";
+ initnpctimer;
+ end;
+
+OnDisable:
+ donpcevent instance_npcname("nyd_2f_red_warp1", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_red_warp2", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_red_warp3", instance_id())+"::OnDisable";
+ disablenpc instance_npcname("nyd_2f_red", instance_id());
+ end;
+
+OnTouch:
+ percentheal -50,0;
+ percentheal -30,0;
+ sc_start SC_BLEEDING,60000,0;
+ end;
+
+OnTimer10000:
+ disablenpc instance_npcname("nyd_2f_red", instance_id());
+ stopnpctimer;
+ end;
+}
+
+2@nyd,6,6,0 script nyd_2f_red_c -1,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_red_c", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_red_c", instance_id());
+ initnpctimer;
+ monster "2@nyd",120,285,"Nidhoggur's Guardian#1",2020,1,instance_npcname("nyd_2f_red_c", instance_id())+"::OnMyMobDead";
+ monster "2@nyd",119,286,"Nidhoggur's Guardian#2",2020,1,instance_npcname("nyd_2f_red_c", instance_id())+"::OnMyMobDead";
+ monster "2@nyd",120,270,"Nidhoggur's Guardian#3",2020,1,instance_npcname("nyd_2f_red_c", instance_id())+"::OnMyMobDead";
+ monster "2@nyd",119,269,"Nidhoggur's Guardian#4",2021,1,instance_npcname("nyd_2f_red_c", instance_id())+"::OnMyMobDead";
+ monster "2@nyd",118,270,"Nidhoggur's Guardian#5",2021,1,instance_npcname("nyd_2f_red_c", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@nyd",instance_npcname("nyd_2f_red_c", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "Nidhoggur's Shadow : You're not bad... but I will be your opponent this time.",bc_map,"0x00ff99";
+ donpcevent instance_npcname("nyd_2f_red_c", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_boss_enter_logic", instance_id())+"::OnEnable";
+ end;
+ }
+ end;
+
+OnDisable:
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ disablenpc instance_npcname("nyd_2f_red_c", instance_id());
+ stopnpctimer;
+ end;
+
+OnTimer180000:
+ killmonster "2@nyd",instance_npcname("nyd_2f_red_c", instance_id())+"::OnMyMobDead";;
+ stopnpctimer;
+ set .@rullet,rand(1,4);
+ if (.@rullet == 1) {
+ instance_announce 0, "Nidhoggur's Shadow : In this chaos... your blood is just what I need.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",115,278;
+ end;
+ }
+ else if (.@rullet == 2) {
+ instance_announce 0, "Nidhoggur's Shadow : I will freeze every last drop of your blood.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",115,373;
+ end;
+ }
+ else if (.@rullet == 3) {
+ instance_announce 0, "Nidhoggur's Shadow : Sleep for eternity in an empty illusion.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",284,278;
+ end;
+ }
+ else if (.@rullet == 4) {
+ instance_announce 0, "Nidhoggur's Shadow : I'll let you enjoy the pain of dying slowly.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",284,374;
+ end;
+ }
+ end;
+}
+
+2@nyd,130,298,0 script nyd_2f_red_warp1 -1,6,6,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_red_warp1", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_red_warp1", instance_id());
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("nyd_2f_red_warp1", instance_id());
+ end;
+
+OnTouch:
+ warp "2@nyd",115,278;
+ end;
+}
+
+2@nyd,142,296,0 script nyd_2f_red_warp2 -1,6,6,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_red_warp2", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_red_warp2", instance_id());
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("nyd_2f_red_warp2", instance_id());
+ end;
+
+OnTouch:
+ warp "2@nyd",115,278;
+ end;
+}
+
+2@nyd,145,283,0 script nyd_2f_red_warp3 -1,6,6,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_red_warp3", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_red_warp3", instance_id());
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("nyd_2f_red_warp3", instance_id());
+ end;
+
+OnTouch:
+ warp "2@nyd",115,278;
+ end;
+}
+
+2@nyd,115,373,0 script nyd_2f_white -1,5,5,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_white", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_white", instance_id());
+ donpcevent instance_npcname("nyd_2f_white_warp1", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("nyd_2f_white_warp2", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("nyd_2f_white_warp3", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("nyd_2f_white_c", instance_id())+"::OnEnable";
+ initnpctimer;
+ end;
+
+OnDisable:
+ donpcevent instance_npcname("nyd_2f_white_warp1", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white_warp2", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white_warp3", instance_id())+"::OnDisable";
+ disablenpc instance_npcname("nyd_2f_white", instance_id());
+ end;
+
+OnTouch:
+ percentheal -50,0;
+ sc_start SC_FREEZE,20000,0;
+ end;
+
+OnTimer10000:
+ disablenpc instance_npcname("nyd_2f_white", instance_id());
+ stopnpctimer;
+ end;
+}
+
+2@nyd,6,7,0 script nyd_2f_white_c -1,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_white_c", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_white_c", instance_id());
+ initnpctimer;
+ monster "2@nyd",120,380,"Nidhoggur's Guardian#1",2020,1,instance_npcname("nyd_2f_white_c", instance_id())+"::OnMyMobDead";
+ monster "2@nyd",119,381,"Nidhoggur's Guardian#2",2020,1,instance_npcname("nyd_2f_white_c", instance_id())+"::OnMyMobDead";
+ monster "2@nyd",120,367,"Nidhoggur's Guardian#3",2020,1,instance_npcname("nyd_2f_white_c", instance_id())+"::OnMyMobDead";
+ monster "2@nyd",119,366,"Nidhoggur's Guardian#4",2021,1,instance_npcname("nyd_2f_white_c", instance_id())+"::OnMyMobDead";
+ monster "2@nyd",118,365,"Nidhoggur's Guardian#5",2021,1,instance_npcname("nyd_2f_white_c", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@nyd",instance_npcname("nyd_2f_white_c", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "Nidhoggur's Shadow : You're not bad... but I will be your opponent this time.",bc_map,"0x00ff99";
+ donpcevent instance_npcname("nyd_2f_white_c", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_boss_enter_logic", instance_id())+"::OnEnable";
+ end;
+ }
+ end;
+
+OnDisable:
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ disablenpc instance_npcname("nyd_2f_white_c", instance_id());
+ stopnpctimer;
+ end;
+
+OnTimer180000:
+ killmonster "2@nyd",instance_npcname("nyd_2f_white_c", instance_id())+"::OnMyMobDead";
+ stopnpctimer;
+ set .@rullet,rand(1,4);
+ if (.@rullet == 1) {
+ instance_announce 0, "Nidhoggur's Shadow : In this chaos... your blood is just what I need.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",115,278;
+ end;
+ }
+ else if (.@rullet == 2) {
+ instance_announce 0, "Nidhoggur's Shadow : I will freeze every last drop of your blood.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",115,373;
+ end;
+ }
+ else if (.@rullet == 3) {
+ instance_announce 0, "Nidhoggur's Shadow : Sleep for eternity in an empty illusion.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",284,278;
+ end;
+ }
+ else if (.@rullet == 4) {
+ instance_announce 0, "Nidhoggur's Shadow : I'll let you enjoy the pain of dying slowly.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",284,374;
+ end;
+ }
+ end;
+}
+
+2@nyd,127,354,0 script nyd_2f_white_warp1 -1,6,6,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_white_warp1", instance_id());;
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_white_warp1", instance_id());;
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("nyd_2f_white_warp1", instance_id());;
+ end;
+
+OnTouch:
+ warp "2@nyd",115,373;
+ end;
+}
+
+2@nyd,140,357,0 script nyd_2f_white_warp2 -1,6,6,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_white_warp2", instance_id());;
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_white_warp2", instance_id());;
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("nyd_2f_white_warp2", instance_id());;
+ end;
+
+OnTouch:
+ warp "2@nyd",115,373;
+ end;
+}
+
+2@nyd,145,367,0 script nyd_2f_white_warp3 -1,6,6,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_white_warp3", instance_id());;
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_white_warp3", instance_id());;
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("nyd_2f_white_warp3", instance_id());;
+ end;
+
+OnTouch:
+ warp "2@nyd",115,373;
+ end;
+}
+
+2@nyd,284,278,0 script nyd_2f_yellow -1,5,5,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_yellow", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_yellow", instance_id());
+ donpcevent instance_npcname("nyd_2f_yellow_warp1", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("nyd_2f_yellow_warp2", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("nyd_2f_yellow_warp3", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("nyd_2f_yellow_c", instance_id())+"::OnEnable";
+ initnpctimer;
+ end;
+
+OnDisable:
+ donpcevent instance_npcname("nyd_2f_yellow_warp1", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow_warp2", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow_warp3", instance_id())+"::OnDisable";
+ disablenpc instance_npcname("nyd_2f_yellow", instance_id());
+ end;
+
+OnTouch:
+ percentheal 0,-50;
+ sc_start SC_SLEEP,20000,0;
+ sc_start SC_CONFUSION,60000,0;
+ end;
+
+OnTimer10000:
+ disablenpc instance_npcname("nyd_2f_yellow", instance_id());
+ stopnpctimer;
+ end;
+}
+
+2@nyd,6,8,0 script nyd_2f_yellow_c -1,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_yellow_c", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_yellow_c", instance_id());
+ initnpctimer;
+ monster "2@nyd",282,284,"Nidhoggur's Guardian#1",2020,1,instance_npcname("nyd_2f_yellow_c", instance_id())+"::OnMyMobDead";
+ monster "2@nyd",283,283,"Nidhoggur's Guardian#2",2020,1,instance_npcname("nyd_2f_yellow_c", instance_id())+"::OnMyMobDead";
+ monster "2@nyd",280,275,"Nidhoggur's Guardian#3",2020,1,instance_npcname("nyd_2f_yellow_c", instance_id())+"::OnMyMobDead";
+ monster "2@nyd",281,276,"Nidhoggur's Guardian#4",2021,1,instance_npcname("nyd_2f_yellow_c", instance_id())+"::OnMyMobDead";
+ monster "2@nyd",281,277,"Nidhoggur's Guardian#5",2021,1,instance_npcname("nyd_2f_yellow_c", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@nyd",instance_npcname("nyd_2f_yellow_c", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "Nidhoggur's Shadow : You're not bad...but I will be your opponent this time.",bc_map,"0x00ff99";
+ donpcevent instance_npcname("nyd_2f_yellow_c", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_boss_enter_logic", instance_id())+"::OnEnable";
+ end;
+ }
+ else {
+ end;
+ }
+
+Onreset:
+ killmonster "2@nyd",instance_npcname("nyd_2f_yellow_c", instance_id())+"::OnMyMobDead";
+ donpcevent instance_npcname("nyd_2f_yellow_c", instance_id())+"::OnDisable";
+ end;
+
+OnDisable:
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ disablenpc instance_npcname("nyd_2f_yellow_c", instance_id());
+ stopnpctimer;
+ end;
+
+OnTimer180000:
+ killmonster "2@nyd",instance_npcname("nyd_2f_yellow_c", instance_id())+"::OnMyMobDead";
+ stopnpctimer;
+ set .@rullet,rand(1,4);
+ if (.@rullet == 1) {
+ instance_announce 0, "Nidhoggur's Shadow : In this chaos... your blood is just what I need.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",115,278;
+ end;
+ }
+ else if (.@rullet == 2) {
+ instance_announce 0, "Nidhoggur's Shadow : I will freeze every last drop of your blood.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",115,373;
+ end;
+ }
+ else if (.@rullet == 3) {
+ instance_announce 0, "Nidhoggur's Shadow : Sleep for eternity in an empty illusion.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",284,278;
+ end;
+ }
+ else if (.@rullet == 4) {
+ instance_announce 0, "Nidhoggur's Shadow : I'll let you enjoy the pain of dying slowly.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",284,374;
+ end;
+ }
+ end;
+}
+
+2@nyd,255,285,0 script nyd_2f_yellow_warp1 -1,6,6,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_yellow_warp1", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_yellow_warp1", instance_id());
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("nyd_2f_yellow_warp1", instance_id());
+ end;
+
+OnTouch:
+ warp "2@nyd",284,278;
+ end;
+}
+
+2@nyd,257,296,0 script nyd_2f_yellow_warp2 -1,6,6,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_yellow_warp2", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_yellow_warp2", instance_id());
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("nyd_2f_yellow_warp2", instance_id());
+ end;
+
+OnTouch:
+ warp "2@nyd",284,278;
+ end;
+}
+
+2@nyd,268,300,0 script nyd_2f_yellow_warp3 -1,6,6,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_yellow_warp3", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_yellow_warp3", instance_id());
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("nyd_2f_yellow_warp3", instance_id());
+ end;
+
+OnTouch:
+ warp "2@nyd",284,278;
+ end;
+}
+
+2@nyd,284,374,0 script nyd_2f_green -1,5,5,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_green", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_green", instance_id());
+ donpcevent instance_npcname("nyd_2f_green_warp1", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("nyd_2f_green_warp2", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("nyd_2f_green_warp3", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("nyd_2f_green_c", instance_id())+"::OnEnable";
+ initnpctimer;
+ end;
+
+OnDisable:
+ donpcevent instance_npcname("nyd_2f_green_warp1", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green_warp2", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green_warp3", instance_id())+"::OnDisable";
+ disablenpc instance_npcname("nyd_2f_green", instance_id());
+ end;
+
+OnTouch:
+ percentheal -50,-50;
+ sc_start SC_POISON,60000,0;
+ end;
+
+OnTimer10000:
+ disablenpc instance_npcname("nyd_2f_green", instance_id());
+ stopnpctimer;
+ end;
+}
+
+2@nyd,6,9,0 script nyd_2f_green_c -1,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_green_c", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_green_c", instance_id());
+ initnpctimer;
+ monster "2@nyd",282,378,"Nidhoggur's Guardian#1",2020,1,instance_npcname("nyd_2f_green_c", instance_id())+"::OnMyMobDead";
+ monster "2@nyd",283,377,"Nidhoggur's Guardian#2",2020,1,instance_npcname("nyd_2f_green_c", instance_id())+"::OnMyMobDead";
+ monster "2@nyd",280,368,"Nidhoggur's Guardian#3",2020,1,instance_npcname("nyd_2f_green_c", instance_id())+"::OnMyMobDead";
+ monster "2@nyd",281,368,"Nidhoggur's Guardian#4",2021,1,instance_npcname("nyd_2f_green_c", instance_id())+"::OnMyMobDead";
+ monster "2@nyd",281,367,"Nidhoggur's Guardian#5",2021,1,instance_npcname("nyd_2f_green_c", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@mob_dead_num,mobcount("2@nyd",instance_npcname("nyd_2f_green_c", instance_id())+"::OnMyMobDead");
+ if (.@mob_dead_num < 1) {
+ instance_announce 0, "Nidhoggur's Shadow : You're not bad... but I will be your opponent this time.",bc_map,"0x00ff99";
+ donpcevent instance_npcname("nyd_2f_green_c", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_boss_enter_logic", instance_id())+"::OnEnable";
+ end;
+ }
+ else {
+ end;
+ }
+
+Onreset:
+ killmonster "2@nyd",instance_npcname("nyd_2f_green_c", instance_id())+"::OnMyMobDead";
+ donpcevent instance_npcname("nyd_2f_green_c", instance_id())+"::OnDisable";
+ end;
+
+OnDisable:
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ disablenpc instance_npcname("nyd_2f_green_c", instance_id());
+ stopnpctimer;
+ end;
+
+OnTimer180000:
+ killmonster "2@nyd",instance_npcname("nyd_2f_green_c", instance_id())+"::OnMyMobDead";
+ stopnpctimer;
+ set .@rullet,rand(1,4);
+ if (.@rullet == 1) {
+ instance_announce 0, "Nidhoggur's Shadow : In this chaos... your blood is just what I need.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",115,278;
+ end;
+ }
+ else if (.@rullet == 2) {
+ instance_announce 0, "Nidhoggur's Shadow : I will freeze every last drop of your blood.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",115,373;
+ end;
+ }
+ else if (.@rullet == 3) {
+ instance_announce 0, "Nidhoggur's Shadow : Sleep for eternity in an empty illusion.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",284,278;
+ end;
+ }
+ else if (.@rullet == 4) {
+ instance_announce 0, "Nidhoggur's Shadow : I'll let you enjoy the pain of dying slowly.",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("nyd_2f_red", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_white", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_yellow", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("nyd_2f_green", instance_id())+"::OnEnable";
+ instance_warpall "2@nyd",284,374;
+ end;
+ }
+ end;
+}
+
+2@nyd,274,356,0 script nyd_2f_green_warp1 -1,6,6,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_green_warp1", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_green_warp1", instance_id());
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("nyd_2f_green_warp1", instance_id());
+ end;
+
+OnTouch:
+ warp "2@nyd",284,374;
+ end;
+}
+
+2@nyd,260,356,0 script nyd_2f_green_warp2 -1,6,6,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_green_warp2", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_green_warp2", instance_id());
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("nyd_2f_green_warp2", instance_id());
+ end;
+
+OnTouch:
+ warp "2@nyd",284,374;
+ end;
+}
+
+2@nyd,258,368,0 script nyd_2f_green_warp3 -1,6,6,{
+OnInstanceInit:
+ disablenpc instance_npcname("nyd_2f_green_warp3", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("nyd_2f_green_warp3", instance_id());
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("nyd_2f_green_warp3", instance_id());
+ end;
+
+OnTouch:
+ warp "2@nyd",284,374;
+ end;
+}
+
+2@nyd,1,1,0 script ins_nyd2_spawn_mobs -1,{
+OnInstanceInit:
+ areamonster "2@nyd",200,92,180,80,"Rhyncho",2020,20;
+ areamonster "2@nyd",200,92,180,80,"Phylla",2021,20;
+ areamonster "2@nyd",200,92,180,80,"Dark Shadow",2023,20;
+ areamonster "2@nyd",200,92,180,80,"Dark Pinguicula",2015,20;
+ areamonster "2@nyd",200,92,180,80,"Rhyncho",2020,20;
+ areamonster "2@nyd",200,92,180,80,"Phylla",2021,20;
+ areamonster "2@nyd",200,92,180,80,"Dark Shadow",2023,20;
+ areamonster "2@nyd",200,92,180,80,"Dark Pinguicula",2015,20;
+ end;
+}
diff --git a/npc/instances/OrcsMemory.txt b/npc/instances/OrcsMemory.txt
new file mode 100644
index 000000000..a1d8618ca
--- /dev/null
+++ b/npc/instances/OrcsMemory.txt
@@ -0,0 +1,1369 @@
+//===== rAthena Script =======================================
+//= Orc's Memory
+//===== By: ==================================================
+//= L0ne_W0lf
+//===== Current Version: =====================================
+//= 1.6
+//===== Compatible With: =====================================
+//= rAthena SVN
+//===== Description: =========================================
+//= [Aegis Conversion]
+//= Relive the memory of an orc.
+//===== Additional Comments: =================================
+//= 1.0 First version. [L0ne_W0lf]
+//= 1.1 First round of bugfixes. (bugreport:3928) [L0ne_W0lf]
+//= Fixed some npcs calling wrong events.
+//= Fixed Depraved Orc Spirit spawn point
+//= Fixed an NPC that was never being enabled.
+//= 1.1a Second round from bugreport. (bugreport:3928) [L0ne_W0lf]
+//= Fixed first warp never enabling, issue not seen
+//= because of a local source mod.
+//= Corrected the IDs for the Vengeful Orc Spirit and
+//= Shaman Cargalache, copy/paste fail.
+//= Changed spawn point for dungeon according to spawn
+//= point on iRO.
+//= 1.2 More bugfixes, mostly typos. :O (bugreport:3944) [L0ne_W0lf]
+//= Fixed some varaibles (types/values) as well.
+//= 1.3 Disabled an exploit related to the orc hero spawn. [L0ne_W0lf]
+//= Corrected the variable type for party leader name.
+//= 1.4 Fixed donpcevent calling non-existant npc. (bugreport:4039) [L0ne_W0lf]
+//= 1.5 Fixed a checkquest condition never setting quest. [L0ne_W0lf]
+//= 1.6 Added 'instance_check_party' command to the script for proper checking if
+//= the invoking party meets the requirements to join the Memorial Dungeon.
+//============================================================
+
+// Entrance
+gef_fild10,242,202,0 script Dimensional Gorge Piece 406,{
+
+ set .@party_id,getcharid(1);
+ set .@ins_mas,getpartyleader(.@party_id,1);
+ set .@p_name$,getpartyname(.@party_id);
+ set .@p_leader$,rid2name(.@ins_mas);
+ set .@md_name$,"Orc's Memory";
+
+ if(!instance_check_party(.@party_id,2,30,80)){
+ mes "I'm sorry but your Party does not meet the requirements to join the Memorial Dungeon.";
+ close;
+ }
+
+ set .@orctime,checkquest(12059,PLAYTIME);
+ if (.@orctime == -1) {
+ if (.@ins_mas == getcharid(3)) {
+ mes "Party status confirmed. Would you like to book entrance to the "+.@md_name$+"?";
+ next;
+ switch(select("Reserve the "+.@md_name$+":Enter the Dungeon:Cancel")) {
+ case 1:
+ set .@instance,instance_create(.@md_name$,.@party_id);
+ if (.@instance < 0) {
+ mes "Party Name: "+.@p_name$+"";
+ mes "Party Leader: "+.@p_leader$+"";
+ mes "^0000ff"+.@md_name$+" ^000000 - Reservation Failed.";
+ close;
+ } else {
+ mes "^0000ff"+.@md_name$+"^000000- Attempting to book an entrance";
+ mes "After making a reservation, you have to select 'Enter the Dungeon' from the menu if you wish to enter the "+.@md_name$+".";
+ for( set .@i, 1; .@i <= 2; set .@i, .@i + 1 ) {
+ if( instance_attachmap(.@i + "@orcs", .@instance) == "" )
+ break;
+ }
+ if( .@i < 2 ) {
+ instance_destroy(.@instance);
+ close;
+ }
+ instance_attach(.@instance);
+ instance_set_timeout 7200,300,.@instance;
+ instance_init(.@instance);
+
+ // First Floor
+ donpcevent instance_npcname("#Resurrect Monsters1", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("#Resurrect Monsters2", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("#Resurrect Monsters3", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("#Resurrect Monsters4", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("B1 Area 1", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("B1 Area 2", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("B1 Area 3", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("B1 Area 4", instance_id())+"::OnInstanceInit";
+ disablenpc instance_npcname("Kurger#1-2", instance_id());
+
+ // Second Floor
+ donpcevent instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("Torch#1-1", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("Torch#1-2", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("Torch#1-3", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("Torch#1-4", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("Torch#2-2", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("Torch#2-3", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("Torch#2-4", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("Torch#3-2", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("Torch#3-3", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("Torch#3-4", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("#Warp2-1", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("#Warp2-2", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("#Warp2-3", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("#Boss Control", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("#Warp Outside Orc Dun", instance_id())+"::OnInstanceInit";
+ donpcevent instance_npcname("Kruger#", instance_id())+"::OnInstanceInit";
+ disablenpc instance_npcname("Kruger#2-2", instance_id());
+ close;
+ }
+ case 2:
+ if (has_instance("1@orcs") == "") {
+ mes "Memorial Dungeon "+.@md_name$+" does not exist.";
+ mes "The party leader has not reserved entrance to the dungeon yet.";
+ next;
+ mes "Once the reservation is complete, the dungeon will be generated.";
+ mes "If your dungeon has been destroyed you must wait 7 days before re-entering.";
+ close;
+ }
+ if((party_instance_id3 != 0) && (party_instance_id3 != getcharid(1))) {
+ mes "The Memorial Dungeon "+.@md_name$+" does not exist.";
+ mes "The Memorial Dungeon has been destroyed by the Party Leader or because of the time limit. Please try again after 2 hours.";
+ close;
+ }
+ mapannounce "gef_fild10", .@p_leader$ + " of the party, " + .@p_name$ + " is entering the "+.@md_name$+".",bc_map,"0x00ff99";
+ if (checkquest(12059)== -1) setquest 12059;
+ set party_instance_id3,getcharid(1);
+ warp "1@orcs",179,15;
+ end;
+ case 3:
+ close;
+ }
+ }
+ switch(select(.@md_name$ + " Enter the Memorial Dungeon:Cancel")) {
+ case 1:
+ if (has_instance("1@orcs") == "") {
+ mes "The Memorial Dungeon "+.@md_name$+" does not exist.";
+ mes "The Memorial Dungeon has been destroyed by the Party Leader or because of the time limit. Please try again after 2 hours.";
+ close;
+ }
+ if((party_instance_id3 != 0) && (party_instance_id3 != getcharid(1))) {
+ mes "The Memorial Dungeon "+.@md_name$+" does not exist.";
+ mes "The Memorial Dungeon has been destroyed by the Party Leader or because of the time limit. Please try again after 2 hours.";
+ close;
+ }
+ mapannounce "gef_fild10",.@p_name$+" Party's member "+.@p_leader$+" has entered the "+.@md_name$+".",bc_map,"0x00ff99";
+ set party_instance_id3,getcharid(1);
+ if (checkquest(12059)== -1) setquest 12059;
+ warp "1@orcs",179,15;
+ end;
+ case 2:
+ close;
+ }
+ } else if (.@orctime == 0 || .@orctime == 1) {
+ mes "You can enter the Dungeon if it has been generated.";
+ next;
+ switch(select("Enter the Dungeon "+.@md_name$+":Cancel")) {
+ case 1:
+ if (has_instance("1@orcs") == "") {
+ mes "The Memorial Dungeon "+.@md_name$+" does not exist.";
+ mes "The Memorial Dungeon has been destroyed by the Party Leader or because of the time limit. Please try again after 2 hours.";
+ close;
+ }
+ if((party_instance_id3 != 0) && (party_instance_id3 != getcharid(1))) {
+ mes "The Memorial Dungeon "+.@md_name$+" does not exist.";
+ mes "The Memorial Dungeon has been destroyed by the Party Leader or because of the time limit. Please try again after 2 hours.";
+ close;
+ }
+ mapannounce "gef_fild10",.@p_name$+" Party's member "+.@p_leader$+" has entered the "+.@md_name$+".",bc_map,"0x00ff99";
+ if (checkquest(12059)== -1) setquest 12059;
+ set party_instance_id3,getcharid(1);
+ warp "1@orcs",179,15;
+ end;
+ case 2:
+ close;
+ }
+ }
+ else if (.@orctime == 2) {
+ mes "^0000ffAll records and after-effects related to the Orc's Memory Dungeon are deleted. You can now regenerate or re-enter the dungeon.^000000";
+ set party_instance_id3,0;
+ erasequest 12059;
+ close;
+ }
+ mes "In order to generate a dungeon you must be the Party Leader and have at least 2 members in the party.";
+ close;
+}
+
+gef_fild10,238,202,6 script Mad Scientist#orc 865,{
+ if (BaseLevel < 50) {
+ mes "The Mad Scientist doesn't seem to notice you and keeps mumbling to himself...";
+ close;
+ }
+ if (mad > 1) {
+ set mad,1;
+ }
+ else if (mad < 1) {
+ mes "[Mad Scientist]";
+ mes "Haha, no Orcs are coming near me!";
+ mes "The power of the Dimensional Gorge is undefeatable!!";
+ next;
+ switch(select("Orcs don't attack you?:You wish!")) {
+ case 1:
+ mes "[Mad Scientist]";
+ mes "Yeah, yeah.. I know it's hard to belive. I don't blame ya.";
+ mes "I used to study the Dimensional Gorge discovered near Morroc.";
+ mes "According to my research, the minerals found there have enormous power inside them!";
+ next;
+ break;
+ case 2:
+ mes "[Mad Scientist]";
+ mes "You are a pretty distrustful person, huh?";
+ next;
+ break;
+ }
+ switch(select("Oh? Like what, travel to alternate space?")) {
+ case 1:
+ mes "[Mad Scientist]";
+ mes "Very smart! I have actually just done that! See that statue over there? It's not your normal Monolith!";
+ next;
+ mes "[Mad Scientist]";
+ mes "I have created it with a combination of our technology and the unlimited energy I discovered from the Gorge! Want to try it?";
+ next;
+ break;
+ }
+ switch(select("... Um, that doesn't sound legal?")) {
+ case 1:
+ mes "[Mad Scientist]";
+ mes "Hey, since when did something so interesting have to be legal!? How about it! You can talk to the Orcs! C'mon!";
+ next;
+ mes "[Mad Scientist]";
+ mes "Chances are they'll just give you lots of instructions once they see you, so just wing it! They're always saying the same thing, to the point where I memorized them!";
+ next;
+ break;
+ }
+ switch(select("Alright... What do I do?:Umm, maybe not.")) {
+ case 1:
+ mes "[Mad Scientist]";
+ mes "Very good! Just sit in the hands of this statue! And try to act natural when you're in there!";
+ set mad,1;
+ break;
+ case 2:
+ mes "[Mad Scientist]";
+ mes "Oh fine, be that way!";
+ break;
+ }
+ }
+ else {
+ mes "[Mad Scientist]";
+ mes "Hmm? Put your hand on that Monemus Statue if you want to experience traveling through dimensions!";
+ }
+ close;
+}
+
+// Orc's Memory Floor 1
+1@orcs,180,30,0 script #Resurrect Monsters1 844,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("#Resurrect Monsters1", instance_id());
+ end;
+
+OnDisable:
+ killmonster "1@orcs",instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("#Resurrect Monsters1", instance_id());
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@callnum,30;
+ set .@c_mob_num,mobcount("1@orcs",instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead");
+ set .@mob_dead_num,.@callnum - .@c_mob_num;
+ if (.@mob_dead_num > 0) {
+ set .@mob_ran,rand(1,30);
+ if (.@mob_ran > 29) {
+ monster "1@orcs",0,0,"Orc Warrior",1023,.@mob_dead_num,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ }
+ else if ((.@mob_ran > 28) && (.@mob_ran < 30)) {
+ monster "1@orcs",0,0,"High Orc",1213,.@mob_dead_num,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ if (rand(1,10) == 9) {
+ instance_announce 0, "High Orc: We need more defenses! Get more people here!",bc_map,"0xff4444";
+ }
+ }
+ else if ((.@mob_ran > 26) && (.@mob_ran < 29)) {
+ areamonster "1@orcs",41,91,51,81,"High Orc",1213,.@mob_dead_num,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ if (rand(1,10) == 9) {
+ instance_announce 0, "Where are the High Orcs!? Get them to stop the enemies!",bc_map,"0xff4444";
+ }
+ }
+ else {
+ areamonster "1@orcs",17,187,27,177,"High Orc",1213,.@mob_dead_num,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ if (rand(1,5) == 3) {
+ instance_announce 0, "Caution: The army's starting to concentrate at Zone No. 4.",bc_map,"0x77ff77";
+ }
+ if (rand(1,100) == 50) {
+ initnpctimer;
+ }
+ }
+ }
+ end;
+
+OnTimer10:
+ instance_announce 0, "Shouts of the Chief Orc of Safeguards: Looks like this will take longer than expected. Summon the Stalactic Golems!",bc_map,"0xff4444";
+ end;
+
+OnTimer4010:
+ instance_announce 0, "Stalactic Golems are digging out of the deep underground.",bc_map,"0x77ff77";
+ areamonster "1@orcs",17,187,27,177,"Stalactic Golem",1278,20,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ stopnpctimer;
+ end;
+}
+
+1@orcs,180,30,0 script #Resurrect Monsters2 844,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("#Resurrect Monsters2", instance_id());
+ end;
+
+OnDisable:
+ killmonster "1@orcs",instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("#Resurrect Monsters2", instance_id());
+ monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@callnum,15;
+ set .@c_mob_num,mobcount("1@orcs",instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead");
+ set .@mob_dead_num,.@callnum - .@c_mob_num;
+ if (rand(1,30) > 15) {
+ if (.@mob_dead_num > 0) {
+ monster "1@orcs",0,0,"Trained Wolf",1106,.@mob_dead_num,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
+ }
+ }
+ else {
+ if (.@mob_dead_num > 0) {
+ areamonster "1@orcs",17,187,27,177,"Trained Wolf",1106,.@mob_dead_num,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
+ }
+ }
+ end;
+}
+
+1@orcs,180,30,0 script #Resurrect Monsters3 844,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("#Resurrect Monsters3", instance_id());
+ end;
+
+OnDisable:
+ killmonster "1@orcs",instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("#Resurrect Monsters3", instance_id());
+ monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@callnum,15;
+ set .@c_mob_num,mobcount("1@orcs",instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead");
+ set .@mob_dead_num,.@callnum - .@c_mob_num;
+ set .@mob_ran,rand(1,30);
+ if (.@mob_ran > 29) {
+ if (.@mob_dead_num > 0) {
+ monster "1@orcs",0,0,"Orc Archer",1189,.@mob_dead_num,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ }
+ }
+ else if ((.@mob_ran > 26) && (.@mob_ran < 30)) {
+ if (.@mob_dead_num > 0) {
+ areamonster "1@orcs",43,155,47,159,"Orc Archer",1189,.@mob_dead_num,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ if (rand(1,3) == 3) {
+ instance_announce 0, "High Orc: Attack them from behind! Cut off their support!",bc_map,"0xff4444";
+ }
+ }
+ }
+ else {
+ if (.@mob_dead_num > 0) {
+ areamonster "1@orcs",17,187,27,177,"Orc Archer",1189,.@mob_dead_num,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ }
+ }
+ end;
+}
+
+1@orcs,180,30,0 script #Resurrect Monsters4 844,{
+ end;
+
+OnInstanceInit:
+ enablenpc instance_npcname("#Resurrect Monsters4", instance_id());
+ areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@callnum,10;
+ set .@c_mob_num,mobcount("1@orcs",instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead");
+ set .@mob_dead_num,.@callnum - .@c_mob_num;
+ if (.@mob_dead_num > 0) {
+ monster "1@orcs",0,0,"Anopheles",1627,.@mob_dead_num,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ }
+ end;
+
+OnDisable:
+ killmonster "1@orcs",instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ end;
+}
+
+1@orcs,180,29,4 script Kurger#1-1 433,{
+ donpcevent instance_npcname("Kurger#1-2", instance_id())+"::OnEnable";
+ end;
+}
+
+1@orcs,180,29,4 script Kurger#1-2 433,{
+ end;
+
+OnEnable:
+ disablenpc instance_npcname("Kurger#1-1", instance_id());
+ enablenpc instance_npcname("Kurger#1-2", instance_id());
+ initnpctimer;
+ end;
+
+OnTimer10:
+ instance_announce 0, "Kruger: Damn... What took you so long!! I don't have all day!!",bc_map,"0xffff00";
+ end;
+
+OnTimer5710:
+ instance_announce 0, "Kruger: My plan was to let our comrades open the gate, but it's all ruined since I got busted by the Orc Shaman.",bc_map,"0xffff00";
+ end;
+
+OnTimer14610:
+ instance_announce 0, "Shouts of the Chief Orc of Safeguards: I smell a rat.. Send some patrols to the entrance!!",bc_map,"0xff4444";
+ end;
+
+OnTimer20210:
+ instance_announce 0, "Kruger: Darn it.. They'll be here any minute. Ok. Listen to me now.",bc_map,"0xffff00";
+ end;
+
+OnTimer24910:
+ instance_announce 0, "Kruger: The Orc Shaman has sealed the 1st basement by dividing it into 4 zones. Each zone has one Enchanted Orc who has the power to unseal the next zone.",bc_map,"0xffff00";
+ end;
+
+OnTimer34310:
+ instance_announce 0, "Kruger: Find those Enchanted Orcs and get rid of them to move to the next zone.",bc_map,"0xffff00";
+ end;
+
+OnTimer39710:
+ instance_announce 0, "Kruger: Try to avoid encountering Orcs other then the Enchanted ones. Everytime you kill a normal Orc, High Orcs will gather at the last path to the 2nd floor.",bc_map,"0xffff00";
+ end;
+
+OnTimer49210:
+ instance_announce 0, "Kruger: In the worst case, the path to the 2nd floor could be completely blocked. For your own sake, you should be as sneaky as possible.",bc_map,"0xffff00";
+ end;
+
+OnTimer56310:
+ instance_announce 0, "Mission: Sneak in and get rid of the 'Enchanted Orcs'. Avoiding battles with other Orcs is the best way of getting into the 2nd floor.",bc_map,"0x44ffff";
+ donpcevent instance_npcname("#Resurrect Monsters1", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("#Resurrect Monsters2", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("#Resurrect Monsters3", instance_id())+"::OnEnable";
+ disablenpc instance_npcname("Kurger#1-2", instance_id());
+ end;
+
+OnTimer60000:
+ areamonster "1@orcs",137,83,143,89,"Enchanted Orc",1023,1,instance_npcname("B1 Area Mobs", instance_id())+"::OnMyMobDead";
+ stopnpctimer;
+ end;
+
+}
+
+1@orcs,168,125,0 script B1 Area 1 45,3,3,{
+OnInstanceInit:
+ disablenpc instance_npcname("B1 Area 1", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("B1 Area 1", instance_id());
+ areamonster "1@orcs",103,105,109,111,"Enchanted Orc",1023,1,instance_npcname("B1 Area Mobs", instance_id())+"::OnMyMobDead1";
+ end;
+
+OnTouch:
+ warp "1@orcs",168,130;
+ end;
+
+OnContinue:
+ donpcevent instance_npcname("B1 Area 2", instance_id())+"::OnEnable";
+ initnpctimer;
+ end;
+
+OnTimer10300:
+ instance_announce 0, "Kruger's Whisper: The Orcs here used to be my companions. They just lost their will ever since the Orc Shaman started to control them with her magic.",bc_map,"0xff4499";
+ end;
+
+OnTimer18700:
+ instance_announce 0, "Kruger's Whisper: There's nothing we can do but to defeat the Orc Shaman if we want to save the remaining tribes.",bc_map,"0xff4499";
+ stopnpctimer;
+ end;
+}
+
+1@orcs,89,94,0 script B1 Area 2 45,3,3,{
+OnInstanceInit:
+ disablenpc instance_npcname("B1 Area 2", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("B1 Area 2", instance_id());
+ areamonster "1@orcs",32,40,38,46,"Enchanted Orc",1023,1,instance_npcname("B1 Area Mobs", instance_id())+"::OnMyMobDead2";
+ end;
+
+OnTouch:
+ warp "1@orcs",85,85;
+ end;
+
+OnContinue:
+ donpcevent instance_npcname("B1 Area 3", instance_id())+"::OnEnable";
+ initnpctimer;
+ end;
+
+OnTimer30300:
+ instance_announce 0, "Kruger's Whisper: I saw the bodies of our tribe. It seems that the Orc Shaman used those Orcs for her rituals.",bc_map,"0xff4499";
+ end;
+
+OnTimer37600:
+ instance_announce 0, "Kruger's Whisper: ... It all has to do with me. I am responsible for this evil.",bc_map,"0xff4499";
+ stopnpctimer;
+ end;
+}
+
+1@orcs,38,105,0 script B1 Area 3 45,3,3,{
+OnInstanceInit:
+ disablenpc instance_npcname("B1 Area 3", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("B1 Area 3", instance_id());
+ areamonster "1@orcs",19,177,25,183,"Enchanted Orc",1023,1,instance_npcname("B1 Area Mobs", instance_id())+"::OnMyMobDead3";
+ end;
+
+OnTouch:
+ warp "1@orcs",38,110;
+ end;
+
+OnContinue:
+ donpcevent instance_npcname("B1 Area 4", instance_id())+"::OnEnable";
+ initnpctimer;
+ end;
+
+OnTimer30300:
+ instance_announce 0, "Please, hang in there!",bc_map,"0xff4499";
+ end;
+
+OnTimer32700:
+ instance_announce 0, "We'll get some rest when we get to the 2nd basement after passing through here.",bc_map,"0xff4499";
+ stopnpctimer;
+ end;
+}
+
+1@orcs,21,189,0 script B1 Area 4 45,3,3,{
+OnInstanceInit:
+ disablenpc instance_npcname("B1 Area 4", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("B1 Area 4", instance_id());
+ donpcevent instance_npcname("#Resurrect Monsters1", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("#Resurrect Monsters2", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("#Resurrect Monsters3", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("#Resurrect Monsters4", instance_id())+"::OnDisable";
+ end;
+
+OnTouch:
+ warp "2@orcs",32,171;
+ end;
+}
+
+1@orcs,1,1,0 script B1 Area Mobs -1,{
+ end;
+
+OnMyMobDead:
+ donpcevent instance_npcname("B1 Area 1", instance_id())+"::OnEnable";
+ end;
+
+OnMyMobDead1:
+ donpcevent instance_npcname("B1 Area 1", instance_id())+"::OnContinue";
+ end;
+
+OnMyMobDead2:
+ donpcevent instance_npcname("B1 Area 2", instance_id())+"::OnContinue";
+ end;
+
+OnMyMobDead3:
+ donpcevent instance_npcname("B1 Area 3", instance_id())+"::OnContinue";
+ end;
+}
+
+// Orc's Memory Floor 2
+2@orcs,36,171,0 script #2Resurrect Monsters1 844,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("#2Resurrect Monsters1", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("#2Resurrect Monsters1", instance_id());
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ end;
+
+OnDisable:
+ killmonster "2@orcs",instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@callnum,30;
+ set .@c_mob_num,mobcount("2@orcs",instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead");
+ set .@mob_dead_num,.@callnum - .@c_mob_num;
+ if (.@mob_dead_num > 0) {
+ set .@mob_ran,rand(1,30);
+ if (.@mob_ran > 29) {
+ monster "2@orcs",0,0,"Vengeful Orc",1152,.@mob_dead_num,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ }
+ else if ((.@mob_ran > 28) && (.@mob_ran < 30)) {
+ monster "2@orcs",0,0,"High Orc",1213,.@mob_dead_num,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ set mob_ran2,rand(1,10);
+ }
+ else if ((.@mob_ran > 26) && (.@mob_ran < 29)) {
+ areamonster "2@orcs",157,112,167,122,"High Orc",1213,.@mob_dead_num,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ if (rand(1,10) == 9) {
+ instance_announce 0, "Warning: High Orcs are gathering near area 3.",bc_map,"0xff4444";
+ }
+ }
+ else {
+ areamonster "2@orcs",173,13,183,23,"High Orc",1213,.@mob_dead_num,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ if (rand(1,5) == 3) {
+ instance_announce 0, "Caution: The Forces have started to concentrate at the Shaman's Altar.",bc_map,"0x77ff77";
+ }
+ if (rand(1,70) == 50) {
+ initnpctimer;
+ }
+ }
+ }
+ end;
+
+OnTimer10:
+ instance_announce 0, "Voice from somewhere: Foolish... Do you really think the altar would fall like that?",bc_map,"0xff4444";
+ end;
+
+OnTimer4010:
+ instance_announce 0, "[ Wraiths were summoned by an unknown power ]",bc_map,"0x77ff77";
+ areamonster "2@orcs",167,25,177,35,"Wraith",1475,30,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
+ stopnpctimer;
+ end;
+}
+
+2@orcs,36,171,0 script #2Resurrect Monsters3 844,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("#2Resurrect Monsters3", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("#2Resurrect Monsters3", instance_id());
+ monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@callnum,15;
+ set .@c_mob_num,mobcount("2@orcs",instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead");
+ set .@mob_dead_num,.@callnum - .@c_mob_num;
+ set .@mob_ran,rand(1,30);
+ if (.@mob_ran > 29) {
+ if (.@mob_dead_num > 0) {
+ monster "2@orcs",0,0,"Orc Archer",1189,.@mob_dead_num,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ }
+ }
+ else if ((.@mob_ran > 6) && (.@mob_ran < 30)) {
+ if (.@mob_dead_num > 0) {
+ areamonster "2@orcs",168,10,184,26,"Orc Archer",1189,.@mob_dead_num,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ if (rand(1,15) == 3) {
+ instance_announce 0, "Warning: Orc Archer teams are gathering near the altar.",bc_map,"0xff4444";
+ }
+ }
+ }
+ else {
+ if (.@mob_dead_num > 0) {
+ areamonster "2@orcs",168,21,184,21,"Orc Archer",1189,.@mob_dead_num,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ }
+ }
+ end;
+
+OnDisable:
+ killmonster "2@orcs",instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
+ end;
+}
+
+2@orcs,180,30,0 script #2Resurrect Monsters4 844,{
+ end;
+
+OnInstanceInit:
+ enablenpc instance_npcname("#2Resurrect Monsters4", instance_id());
+ monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ set .@callnum,10;
+ set .@c_mob_num,mobcount("2@orcs",instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead");
+ set .@mob_dead_num,.@callnum - .@c_mob_num;
+ if (.@mob_dead_num > 0) {
+ monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
+ }
+ end;
+}
+
+2@orcs,35,169,4 script Kruger#2-1 433,{
+ donpcevent instance_npcname("Kruger#2-2", instance_id())+"::OnEnable";
+ end;
+}
+
+2@orcs,35,169,4 script Kruger#2-2 433,{
+ end;
+
+OnEnable:
+ disablenpc instance_npcname("Kruger#2-1", instance_id());
+ enablenpc instance_npcname("Kruger#2-2", instance_id());
+ initnpctimer;
+ end;
+
+OnTimer10:
+ instance_announce 0, "Kruger's Whisper: I'll tell you how to get to the Shaman's altar.",bc_map,"0xffff00";
+ end;
+
+OnTimer3510:
+ instance_announce 0, "Kruger's Whisper: Do you see the braziers that light the path? Unseal the next zone by strengthening their flames.",bc_map,"0xffff00";
+ end;
+
+OnTimer10710:
+ instance_announce 0, "Kruger's Whisper: Of course those monsters won't let you touch the braziers that easily.",bc_map,"0xffff00";
+ end;
+
+OnTimer16310:
+ instance_announce 0, "Kruger's Whisper: But still, try keep the battles not too noticable so the Shaman won't guard the altar with her army squad.",bc_map,"0xffff00";
+ end;
+
+OnTimer21910:
+ instance_announce 0, "Kruger's Whisper: Only the Party Leader can strengthen the flames, so protect your leader.",bc_map,"0xffff00";
+ end;
+
+OnTimer23910:
+ instance_announce 0, "Mission: Unseal the zone by lighting the braziers. They can only be lit in a certain order, so be careful.",bc_map,"0x4444ff";
+ donpcevent instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("Torch#1-1", instance_id())+"::OnEnable";
+ disablenpc instance_npcname("Kruger#2-2", instance_id());
+ end;
+}
+
+2@orcs,26,164,0 script Torch#1-1 844,{
+ if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
+ progressbar "ffff00",5;
+ donpcevent instance_npcname("Torch#1-2", instance_id())+"::OnEnable";
+ initnpctimer;
+ disablenpc instance_npcname("Torch#1-1", instance_id());
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("Torch#1-1", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("Torch#1-1", instance_id());
+ end;
+
+OnTimer100:
+ specialeffect EF_FIREPILLAR;
+ end;
+
+OnTimer2000:
+ specialeffect EF_FIREPILLARBOMB;
+ stopnpctimer;
+ end;
+}
+
+2@orcs,55,155,0 script Torch#1-2 844,{
+ if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
+ progressbar "ffff00",5;
+ donpcevent instance_npcname("Torch#1-3", instance_id())+"::OnEnable";
+ initnpctimer;
+ disablenpc instance_npcname("Torch#1-2", instance_id());
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("Torch#1-2", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("Torch#1-2", instance_id());
+ end;
+
+OnTimer100:
+ specialeffect EF_FIREPILLAR;
+ end;
+
+OnTimer2000:
+ specialeffect EF_FIREPILLARBOMB;
+ stopnpctimer;
+ end;
+}
+
+2@orcs,108,146,0 script Torch#1-3 844,{
+ if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
+ progressbar "ffff00",5;
+ donpcevent instance_npcname("Torch#1-4", instance_id())+"::OnEnable";
+ initnpctimer;
+ disablenpc instance_npcname("Torch#1-3", instance_id());
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("Torch#1-3", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("Torch#1-3", instance_id());
+ end;
+
+OnTimer100:
+ specialeffect EF_FIREPILLAR;
+ end;
+
+OnTimer2000:
+ specialeffect EF_FIREPILLARBOMB;
+ stopnpctimer;
+ end;
+}
+
+2@orcs,98,171,0 script Torch#1-4 844,{
+ if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
+ progressbar "ffff00",5;
+ donpcevent instance_npcname("#Warp2-1", instance_id())+"::OnEnable";
+ initnpctimer;
+ disablenpc instance_npcname("Torch#1-4", instance_id());
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("Torch#1-4", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("Torch#1-4", instance_id());
+ end;
+
+OnTimer100:
+ specialeffect EF_FIREPILLAR;
+ end;
+
+OnTimer2000:
+ specialeffect EF_FIREPILLARBOMB;
+ stopnpctimer;
+ end;
+}
+
+2@orcs,48,100,0 script #Warp2-1 45,3,3,{
+OnInstanceInit:
+ disablenpc instance_npcname("#Warp2-1", instance_id());
+ end;
+
+OnEnable:
+ monster "2@orcs",109,156,"Safeguard Chief",1981,1,instance_npcname("#Mobs Control", instance_id())+"::OnMyMobDead1";
+ instance_announce 0, "The Chief Orc of Safeguards: Oh!! Looks like I have company. Defeat me if you can!!",bc_map,"0xff8888";
+ end;
+
+OnContinue:
+ enablenpc instance_npcname("#Warp2-1", instance_id());
+ initnpctimer;
+ end;
+
+OnTimer10000:
+ areamonster "2@orcs",28,158,40,170,"Safeguard Chief",1981,1,instance_npcname("#Mobs Control", instance_id())+"::OnMyMobDead1";
+ stopnpctimer;
+ end;
+
+OnTouch:
+ warp "2@orcs",47,93;
+ end;
+}
+
+2@orcs,35,92,0 script Torch#2-1 844,{
+ if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
+ progressbar "ffff00",5;
+ donpcevent instance_npcname("Torch#2-2", instance_id())+"::OnEnable";
+ initnpctimer;
+ disablenpc instance_npcname("Torch#2-1", instance_id());
+ end;
+
+OnTimer100:
+ specialeffect EF_FIREPILLAR;
+ end;
+
+OnTimer2000:
+ specialeffect EF_FIREPILLARBOMB;
+ stopnpctimer;
+ end;
+}
+
+2@orcs,32,70,0 script Torch#2-2 844,{
+ if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
+ progressbar "ffff00",5;
+ donpcevent instance_npcname("Torch#2-3", instance_id())+"::OnEnable";
+ initnpctimer;
+ disablenpc instance_npcname("Torch#2-2", instance_id());
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("Torch#2-2", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("Torch#2-2", instance_id());
+ end;
+
+OnTimer100:
+ specialeffect EF_FIREPILLAR;
+ end;
+
+OnTimer2000:
+ specialeffect EF_FIREPILLARBOMB;
+ stopnpctimer;
+ end;
+}
+
+2@orcs,70,31,0 script Torch#2-3 844,{
+ if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
+ progressbar "ffff00",5;
+ donpcevent instance_npcname("Torch#2-4", instance_id())+"::OnEnable";
+ initnpctimer;
+ disablenpc instance_npcname("Torch#2-3", instance_id());
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("Torch#2-3", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("Torch#2-3", instance_id());
+ end;
+
+OnTimer100:
+ specialeffect EF_FIREPILLAR;
+ end;
+
+OnTimer2000:
+ specialeffect EF_FIREPILLARBOMB;
+ stopnpctimer;
+ end;
+}
+
+2@orcs,84,51,0 script Torch#2-4 844,{
+ if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
+ progressbar "ffff00",5;
+ donpcevent instance_npcname("#Warp2-2", instance_id())+"::OnEnable";
+ initnpctimer;
+ disablenpc instance_npcname("Torch#2-4", instance_id());
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("Torch#2-4", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("Torch#2-4", instance_id());
+ end;
+
+OnTimer100:
+ specialeffect EF_FIREPILLAR;
+ end;
+
+OnTimer2000:
+ specialeffect EF_FIREPILLARBOMB;
+ stopnpctimer;
+ end;
+}
+
+2@orcs,101,55,0 script #Warp2-2 45,3,3,{
+OnInstanceInit:
+ disablenpc instance_npcname("#Warp2-2", instance_id());
+ end;
+
+OnEnable:
+ monster "2@orcs",67,64,"Orc Sniper",1982,1,instance_npcname("#Mobs Control", instance_id())+"::OnMyMobDead2";
+ instance_announce 0, "Orc Sniper: Hah! Pretty impressive that you made it this far, but your foolish little trip ends here...",bc_map,"0xff8888";
+ end;
+
+OnContinue:
+ enablenpc instance_npcname("#Warp2-2", instance_id());
+ initnpctimer;
+ end;
+
+OnTimer10000:
+ areamonster "2@orcs",40,91,52,103,"Orc Sniper",1982,1,instance_npcname("#Mobs Control", instance_id())+"::OnMyMobDead2";
+ stopnpctimer;
+ end;
+
+OnTouch:
+ warp "2@orcs",107,55;
+ end;
+}
+
+2@orcs,142,145,0 script Torch#3-1 844,{
+ if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
+ progressbar "ffff00",5;
+ donpcevent instance_npcname("Torch#3-2", instance_id())+"::OnEnable";
+ initnpctimer;
+ disablenpc instance_npcname("Torch#3-1", instance_id());
+ end;
+
+OnTimer100:
+ specialeffect EF_FIREPILLAR;
+ end;
+
+OnTimer2000:
+ specialeffect EF_FIREPILLARBOMB;
+ stopnpctimer;
+ end;
+}
+
+2@orcs,162,134,0 script Torch#3-2 844,{
+ if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
+ progressbar "ffff00",5;
+ donpcevent instance_npcname("Torch#3-3", instance_id())+"::OnEnable";
+ initnpctimer;
+ disablenpc instance_npcname("Torch#3-2", instance_id());
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("Torch#3-2", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("Torch#3-2", instance_id());
+ end;
+
+OnTimer100:
+ specialeffect EF_FIREPILLAR;
+ end;
+
+OnTimer2000:
+ specialeffect EF_FIREPILLARBOMB;
+ stopnpctimer;
+ end;
+}
+
+2@orcs,144,117,0 script Torch#3-3 844,{
+ if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
+ progressbar "ffff00",5;
+ donpcevent instance_npcname("Torch#3-4", instance_id())+"::OnEnable";
+ initnpctimer;
+ disablenpc instance_npcname("Torch#3-3", instance_id());
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("Torch#3-3", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("Torch#3-3", instance_id());
+ end;
+
+OnTimer100:
+ specialeffect EF_FIREPILLAR;
+ end;
+
+OnTimer2000:
+ specialeffect EF_FIREPILLARBOMB;
+ stopnpctimer;
+ end;
+}
+
+2@orcs,136,98,0 script Torch#3-4 844,{
+ if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
+ progressbar "ffff00",5;
+ donpcevent instance_npcname("#Warp2-3", instance_id())+"::OnEnable";
+ initnpctimer;
+ disablenpc instance_npcname("Torch#3-4", instance_id());
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("Torch#3-4", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("Torch#3-4", instance_id());
+ end;
+
+OnTimer100:
+ specialeffect EF_FIREPILLAR;
+ end;
+
+OnTimer2000:
+ specialeffect EF_FIREPILLARBOMB;
+ stopnpctimer;
+ end;
+}
+
+2@orcs,167,104,0 script #Warp2-3 45,3,3,{
+OnInstanceInit:
+ disablenpc instance_npcname("#Warp2-3", instance_id());
+ end;
+
+OnEnable:
+ monster "2@orcs",152,147,"Depraved Orc Spirit",1983,1,instance_npcname("#Mobs Control", instance_id())+"::OnMyMobDead3";
+ instance_announce 0, "Depraved Orc Spirit: I smell flesh! Hungry! Wanna try some human meat!!",bc_map,"0xff8888";
+ end;
+
+OnContinue:
+ //areamonster "2@orcs",117,61,129,73,"Depraved Orc Spirit",1983,1,instance_npcname("#Mobs Control", instance_id())+"::OnMyMobDead3";
+ donpcevent instance_npcname("#Boss Control", instance_id())+"::OnEnable";
+ enablenpc instance_npcname("#Warp2-3", instance_id());
+ initnpctimer;
+ end;
+
+OnTimer10:
+ instance_announce 0, "Shaman Cargalache: Hahaha!! So, you finally made it here. The assassin you sent was just terrible. That stupid Orc is getting cold under my feet.",bc_map,"0xffff00";
+ end;
+
+OnTimer6810:
+ instance_announce 0, "Shaman Cargalache: My loyal slave, go get those intruders!",bc_map,"0xffff00";
+ end;
+
+OnTimer10310:
+ instance_announce 0, "Depraved Orc Hero: Whatever you say, my lord.",bc_map,"0xff7777";
+ end;
+
+OnTimer13110:
+ instance_announce 0, "Caution: You have been discovered by Shaman Cargalache. Kruger's plan to assassinate the Shaman has failed. You must defeat Cargalache and find traces of Kruger.",bc_map,"0x8888ff";
+ stopnpctimer;
+ end;
+
+OnTouch:
+ warp "2@orcs",167,95;
+ end;
+}
+
+2@orcs,36,171,0 script #Boss Control 844,{
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname("#Boss Control", instance_id());
+ end;
+
+OnEnable:
+ monster "2@orcs",185,8,"Shaman Cargalache",1984,1,instance_npcname("#Boss Control", instance_id())+"::OnMyMobDead";
+ monster "2@orcs",179,15,"Depraved Orc Hero",1087,1;
+ enablenpc instance_npcname("#Boss Control", instance_id());
+ end;
+
+OnMyMobDead:
+ donpcevent instance_npcname("Kruger#", instance_id())+"::OnEnable";
+ set .@mob_ran,rand(1,5);
+ if (.@mob_ran == 1) {
+ instance_announce 0, "Shaman Cargalache: How... How could this be... How could someone like you...!!",bc_map,"0xffff00";
+ }
+ else if (.@mob_ran == 2) {
+ instance_announce 0, "Shaman Cargalache: How is it that I've been overpowered by mere humans!",bc_map,"0xffff00";
+ }
+ else if (.@mob_ran == 3) {
+ instance_announce 0, "Shaman Cargalache: This... This can't be the end...",bc_map,"0xffff00";
+ }
+ else if (.@mob_ran == 4) {
+ instance_announce 0, "Shaman Cargalache: I... Can't die... Yet...!",bc_map,"0xffff00";
+ }
+ else {
+ instance_announce 0, "Shaman Cargalache: Defeated by these fools... It can't be happening...!",bc_map,"0xffff00";
+ }
+ donpcevent instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("#Warp Outside Orc Dun", instance_id())+"::OnEnable";
+ end;
+}
+
+2@orcs,182,8,0 script #Warp Outside Orc Dun 45,3,3,{
+OnInstanceInit:
+ disablenpc instance_npcname("#Warp Outside Orc Dun", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("#Warp Outside Orc Dun", instance_id());
+ end;
+
+OnTouch:
+ warp "gef_fild10",240,197;
+ end;
+}
+
+2@orcs,172,13,0 script Kruger# 434,{
+ if (yong_odun < 2) {
+ mes "[Kruger]";
+ mes "*Coughing*";
+ mes ""+strcharinfo(0)+", it's you...";
+ next;
+ mes "["+strcharinfo(0)+"] ";
+ mes "Don't move! You are wounded!";
+ next;
+ mes "[Kruger]";
+ mes "It's... all right.. I'm dying...";
+ mes "....";
+ mes "The Shaman? What about the Shaman?";
+ next;
+ mes "["+strcharinfo(0)+"] ";
+ mes "The Shaman's dead now. Who was that Shaman really?";
+ next;
+ mes "Kruger seemed to be relieved as he hears of the death of the Shaman, but you notice the bitter expression on his face.";
+ next;
+ mes "[Kruger]";
+ mes "I.. I just couldn't kill my own daughter...";
+ mes "Thank you, I'm sure she's finally free from the nightmare that used to choke her soul.";
+ next;
+ mes "Kruger was about to say something more, but he breathed his last breath before he could...";
+ set yong_odun,2;
+ close;
+ }
+ else {
+ mes "You can see the dead body of Kruger, peacefully lying on the ground.";
+ close;
+ }
+
+OnInstanceInit:
+ disablenpc instance_npcname("Kruger#", instance_id());
+ end;
+
+OnEnable:
+ enablenpc instance_npcname("Kruger#", instance_id());
+ end;
+}
+
+2@orcs,36,171,0 script #Mobs Control 844,{
+ end;
+
+OnMyMobDead1:
+ donpcevent instance_npcname("#Warp2-1", instance_id())+"::OnContinue";
+ end;
+
+OnMyMobDead2:
+ donpcevent instance_npcname("#Warp2-2", instance_id())+"::OnContinue";
+ end;
+
+OnMyMobDead3:
+ donpcevent instance_npcname("#Warp2-3", instance_id())+"::OnContinue";
+ end;
+}
diff --git a/npc/instances/SealedShrine.txt b/npc/instances/SealedShrine.txt
new file mode 100644
index 000000000..ada7dabcb
--- /dev/null
+++ b/npc/instances/SealedShrine.txt
@@ -0,0 +1,2451 @@
+//===== rAthena Script =======================================
+//= Sealed Shrine
+//===== By: ==================================================
+//= L0ne_W0lf
+//===== Current Version: =====================================
+//= 1.8
+//===== Compatible With: =====================================
+//= rAthena SVN
+//===== Description: =========================================
+//= [Aegis Conversion]
+//= Seal away the Great Demon Baphomet.
+//===== Additional Comments: =================================
+//= 1.0 First version. [L0ne_W0lf]
+//= 1.1 Added setquest for instance cooldown. [L0ne_W0lf]
+//= 1.2 Fixed Torch#12 not being disabled. (bugreport:4044) [L0ne_w0lf]
+//= 1.3 Fixed cutins not being removed. (bugreport:4117) [L0ne_w0lf]
+//= 1.4 Fixed some typos. [Gepard]
+//= 1.5 Fixed not being able to enter dungeon for the first two hours.
+//= 1.6 Players should be able to re-take the quest after 12 hours now.
+//= Changed quest 3046 to 3040. This is the correct quest id.
+//= Removed checking quest 3045, unofficial check.
+//= 1.7 Fixed a checkquest condition never setting quest. [L0ne_W0lf]
+//= 1.8 Added 'instance_check_party' command to the script for proper checking if
+//= the invoking party meets the requirements to join the Memorial Dungeon.
+//============================================================
+
+// Sealed Catacomb Entrance
+monk_test,309,146,3 script Friar Patrick#edq 412,{
+ if (checkquest(3040)>=0) erasequest 3040;
+ cutin "ins_cata_pri_n",2;
+ mes "[Friar Patrick]";
+ mes "The peace of this world cannot last forever... The hands of Evil are reaching into the world again...";
+ next;
+ mes "[Friar Patrick]";
+ mes "What brought you to this place?";
+ next;
+ if (countitem(6004) > 0) {
+ set .@doll,1;
+ set .@selection,select("What is this place?:I want to enter.:About the Cursed Baphomet Doll.:Cancel.");
+ }
+ else {
+ set .@selection,select("What is this place?:I want to enter.:Cancel.");
+ }
+ switch(.@selection) {
+ case 1:
+ mes "[Friar Patrick]";
+ mes "Huh... Don't you know? This is St. Capitolina Monastery where the Brothers who wish to become monks train and pray.";
+ next;
+ mes "[Friar Patrick]";
+ mes "And this place is... What can I say... Yes. It's the grave of the Devil. Grave...";
+ next;
+ mes "[Friar Patrick]";
+ mes "The very place where the great Devil who once demolished this world is sleeping.";
+ next;
+ switch(select("Tell me more.:Stop talking.")) {
+ case 1:
+ cutin "ins_cata_pri_n",2;
+ mes "[Friar Patrick]";
+ mes "Baphomet... is the name of the Devil... I think you have heard of his name.";
+ next;
+ mes "[Friar Patrick]";
+ mes "Numerous brave men and brothers have trained in this monastery...";
+ next;
+ mes "[Friar Patrick]";
+ mes "Under this gravestone in front of you... Baphomet is sealed.";
+ next;
+ mes "[Friar Patrick]";
+ mes "But... As we speak Satan Morocc is marshalling his powerful magic in order to affect all life on this continent.";
+ next;
+ mes "[Friar Patrick]";
+ mes "Baphomet also... has awakened and is preparing for his revival, into this world, by weakening the power of the seal through the power of Satan Morocc...";
+ next;
+ mes "[Friar Patrick]";
+ mes "Now... I'm looking for someone brave enough to reseal Baphomet in its shrine... as we once did many years ago...";
+ next;
+ mes "[Friar Patrick]";
+ mes "Anyone who fights for good will know, deep inside, that evil is threatening to conquer this world...";
+ next;
+ mes "[Friar Patrick]";
+ mes "Train more and use your skills to protect the world from evil's looming presence...";
+ break;
+ case 2:
+ cutin "ins_cata_pri_n",2;
+ mes "[Friar Patrick]";
+ mes "Anyone who fights for good will know, deep inside, that evil is threatening to conquer this world...";
+ next;
+ mes "[Friar Patrick]";
+ mes "Train more and use your skills to protect the world from evil's looming presence...";
+ break;
+ }
+ break;
+ case 2:
+ if (BaseLevel > 74) {
+
+ set .@party_id,getcharid(1);
+
+ mes "[Friar Patrick]";
+ mes "Do you mean you'll go to the shrine and reseal Baphomet?";
+ next;
+
+ // 12 hour cooldown
+ set .@ins_bapho_check,checkquest(3040,PLAYTIME);
+ // Two hour play limit
+ //set .@ins_bapho_check2,checkquest(3045,PLAYTIME);
+
+ if(!instance_check_party(.@party_id,2,75)){
+ mes "I'm sorry but your Party does not meet the requirements to join the Memorial Dungeon.";
+ close;
+ }
+
+ if (.@ins_bapho_check == -1) {
+ if (getpartyleader(.@party_id,2) == getcharid(0)) {
+ set .@instance, instance_create("Sealed Catacombs", .@party_id);
+ if (.@instance < 0) {
+ mes "[Friar Patrick]";
+ mes "Party name is "+getpartyname(.@party_id)+"...";
+ mes "Name of the leader is "+.@partymembername$[0]+"...";
+ mes "Umm... But it seems that there is a problem here... I'll check quickly. Please wait.";
+ }
+ else {
+
+ for( set .@i, 1; .@i <= 2; set .@i, .@i + 1 ) {
+ if( instance_attachmap("" + .@i + "@cata", .@instance) == "" )
+ break;
+ }
+ if( .@i < 2 ) {
+ instance_destroy(.@instance);
+ close;
+ }
+
+ instance_attach(.@instance);
+ instance_set_timeout 7200,300,.@instance;
+ instance_init(.@instance);
+
+ // First Floor
+ disablenpc instance_npcname("Ancient Hero's Soul#1F", instance_id());
+ disablenpc instance_npcname("ins_bapho_to_2f", instance_id());
+
+ for( set .@i, 1; .@i < 13; set .@i, .@i + 1 ) {
+ disablenpc instance_npcname("Gravestone#1F_"+.@i+"T", instance_id());
+ disablenpc instance_npcname("Gravestone#1F_"+.@i+"F", instance_id());
+ }
+ for( set .@i, 1; .@i <= 12; set .@i, .@i + 1 ) {
+ disablenpc instance_npcname("Bobbing Torch#"+.@i, instance_id());
+ }
+
+ // Second Floor
+ disablenpc instance_npcname("ins_baphomet_1f_timer", instance_id());
+ disablenpc instance_npcname("ins_2f_enter_broad", instance_id());
+ disablenpc instance_npcname("Magical Seal#0", instance_id());
+ disablenpc instance_npcname("Magical Seal#2", instance_id());
+ disablenpc instance_npcname("Magical Seal#4", instance_id());
+ disablenpc instance_npcname("Magical Seal#8", instance_id());
+ disablenpc instance_npcname("Magical Seal#10", instance_id());
+ disablenpc instance_npcname("Ancient Hero's Soul#2F", instance_id());
+ disablenpc instance_npcname("control_baphomet", instance_id());
+ disablenpc instance_npcname("ins_2f_hero_broad2", instance_id());
+ disablenpc instance_npcname("2f_callmon_pattern_c", instance_id());
+ disablenpc instance_npcname("2f_callmon_pattern", instance_id());
+ disablenpc instance_npcname("ins_2f_hero_pattern_c", instance_id());
+ disablenpc instance_npcname("ins_2f_hero_pattern", instance_id());
+
+ // Pick proper grave
+ donpcevent instance_npcname("ins_baphomet_lotto", instance_id())+"::OnEnable";
+
+ // Spawn monsters.
+ donpcevent instance_npcname("ins_1f_spawn_mobs", instance_id())+"::OnEnable";
+
+ mes "[Friar Patrick]";
+ mes "Party name is "+getpartyname(.@party_id)+"...";
+ mes "Name of the leader is "+.@partymembername$[0]+"...";
+ mes "Okay... I'll adjust the shrine's seal so that you and your group can enter.";
+ next;
+ mes "[Friar Patrick]";
+ mes "You will see a sign when the seal has broken. Please wait until the sign appears...";
+ next;
+ mes "[Friar Patrick]";
+ mes "When you see the sign, put your hands on the gravestone... Then you can move inside.";
+ next;
+ mes "[Friar Patrick]";
+ mes "One thing that you should remember is... Anyone who enters this shrine will be cursed by Baphomet and cannot enter or leave while they are cursed.";
+ next;
+ mes "[Friar Patrick]";
+ mes "And one more thing... In this cursed area, some skills, which are protected by outer physical power are prohibited by the effect of the seal.";
+ next;
+ mes "[Friar Patrick]";
+ mes "For example, the skills like ^0000FFSafety Wall and Assumptio^000000... So you'd better prepare before entering the shrine.";
+ }
+ }
+ else {
+ mes "[Friar Patrick]";
+ mes "Umm... I recognize your courage, but... I can't permit anyone to enter this place. I can only permit the leader of a party to enter first.";
+ next;
+ mes "[Friar Patrick]";
+ mes "Once the party leader is permitted, the rest of the party can enter. This is a rule of this monastery, so please understand.";
+ }
+ }
+ else if (.@ins_bapho_check == 0 || .@ins_bapho_check == 1) {
+ mes "[Friar Patrick]";
+ mes "It seems you have entered this shrine recently... You cannot reenter because Baphomet's Curse still remains. Baphomet's Curse disappears only after a certain amount of time has passed.";
+ }
+ else if (.@ins_bapho_check == 2) {
+ mes "[Friar Patrick]";
+ mes "Umm... It seems that Baphomet's Curse has weakened. I can remove it now.";
+ next;
+ mes "[Friar Patrick]";
+ mes "Haaaaaaap... Hocus Pocus Wingardium Abracadabra!!!!!";
+ next;
+ if (checkquest(3040)>=0) erasequest 3040;
+ if (checkquest(3041)>=0) erasequest 3041;
+ if (checkquest(3045)>=0) erasequest 3045;
+ set party_instance_id4,0;
+ mes "[Friar Patrick]";
+ mes "Huu... It's over. Now that I've released Baphomet's Curse, you can enter again.";
+ }
+ }
+ else {
+ mes "[Friar Patrick]";
+ mes "Umm... You should train more to enter this dangerous place... You should reach at least Lv 75 to enter here.";
+ next;
+ mes "[Friar Patrick]";
+ mes "Please train more and come again.";
+ }
+ break;
+ case 3:
+ if (.@doll == 1) {
+ mes "[Friar Patrick]";
+ mes "That is... the villainous doll that you are holding... Let me see it.";
+ next;
+ mes "[Friar Patrick]";
+ mes "... ... ...";
+ next;
+ mes "[Friar Patrick]";
+ mes "That's correct... I can feel Baphomet's evil inside... So, what will you do with the doll?";
+ next;
+ mes "[Friar Patrick]";
+ mes "It is just a dangerous and useless thing if you do nothing with it... I'll introduce someone who can help you... Do you want to see him?";
+ next;
+ mes "[Friar Patrick]";
+ mes "Go to see ^0000FFRust Blackhand^000000 who is near the main building of the monastery... He will make this doll helpful to you.";
+ setquest 3042;
+ break;
+ }
+ case 4:
+ mes "[Friar Patrick]";
+ mes "Anyone who fights for good will know, deep inside, that evil is threatening to conquer this world...";
+ next;
+ mes "[Friar Patrick]";
+ mes "Train more and use your skills to protect the world from evil's looming presence...";
+ break;
+ }
+ close2;
+ cutin "",255;
+ end;
+}
+
+monk_test,306,151,3 script Grave of Baphomet#edq 111,{
+ if (countitem(6002) > 0)
+ delitem 6002,countitem(6002); //Token_Of_Apostle
+ mes "This gravestone has a carving of a wicked devil with large horns. It arouses an ominous feeling.";
+ next;
+ switch(select("Touch the stone.:Step back.")) {
+ case 1:
+
+ set .@party_id,getcharid(1);
+ set .@instance, instance_id(1);
+ instance_attach(.@instance);
+
+ // 12 hour cooldown
+ set .@ins_bapho_check,checkquest(3040,PLAYTIME);
+ // Two hour play limit
+ //set .@ins_bapho_check2,checkquest(3045,PLAYTIME);
+
+ if(!instance_check_party(.@party_id,2,75)){
+ mes "I'm sorry but your Party does not meet the requirements to join the Memorial Dungeon.";
+ close;
+ }
+
+ if (.@ins_bapho_check == -1) {
+ if (has_instance("1@cata") == "") {
+ mes "It's cold to the touch. It doesn't respond.";
+ }
+ if((party_instance_id4 != 0) && (party_instance_id4 != getcharid(1))) {
+ mes "It seems you have entered this shrine recently... You cannot reenter because Baphomet's Curse still remains. Baphomet's Curse disappears only after a certain amount of time has passed.";
+ }
+ else {
+ mapannounce "monk_test","[" + strcharinfo(0) + "] member of the [" + getpartyname(.@party_id) + "] party has entered the Sealed Shrine.",bc_map,"0x00ff99";
+ if (checkquest(3040) == -1) setquest 3040;
+ set party_instance_id4,getcharid(1);
+ warp "1@cata",100,224;
+ end;
+ }
+ }
+ else if (.@ins_bapho_check == 0 || .@ins_bapho_check == 1) {
+ mes "[Friar Patrick]";
+ mes "It seems you have entered this shrine recently... You cannot reenter because the curse of Baphomet still remains.";
+ mes "The curse of Baphomet disappears after a certain amount of time after you entered.";
+ }
+ else if (.@ins_bapho_check == 2) {
+ mes "[Friar Patrick]";
+ mes "Umm... It seems the curse of Baphomet weakened. I'll clear the bad curse.";
+ next;
+ mes "[Friar Patrick]";
+ mes "Haaaaaaap... Wingardium Leviosa Expecto Patronum !!!!!";
+ specialeffect2 EF_HOLYHIT;
+ if (checkquest(3040)>=0) erasequest 3040;
+ if (checkquest(3041)>=0) erasequest 3041;
+ if (checkquest(3045)>=0) erasequest 3045;
+ set party_instance_id4,0;
+ next;
+ mes "[Friar Patrick]";
+ mes "Huu... It's over. Now I released all of the curses on you. You can enter again.";
+ }
+ break;
+ case 2:
+ break;
+ }
+ close;
+}
+
+prt_monk,261,91,3 script Rust Blackhand#edq 826,{
+ set .@new_maje,checkquest(3043);
+ mes "[Rust Blackhand]";
+ mes "Who are you? What do you want me for?";
+ next;
+ mes "[Rust Blackhand]";
+ mes "You're not a monk, then what do you want?";
+ next;
+ if (.@new_maje == 0 || .@new_maje == 1) {
+ mes "[Rust Blackhand]";
+ mes "Did you bring all of the ingredients?";
+ next;
+ if ((countitem(6004) > 0) && (countitem(2256) > 0) && (countitem(7799) > 29) && (countitem(7798) > 49) && (Zeny > 990000)) {
+ mes "[Rust Blackhand]";
+ mes "kkk... You prepared the ingredients well. Why don't you leave it there and wait?";
+ next;
+ mes "[Rust Blackhand]";
+ mes "Hmm... It's been such a long time since I last saw these wicked horns... kkk... Let me start...";
+ next;
+ mes "...";
+ next;
+ mes "... ...";
+ next;
+ mes "... ... ...";
+ next;
+ delitem 6004,1; //Bapho_Doll
+ delitem 2256,1; //Magestic_Goat
+ delitem 7799,30; //Dark_Crystal
+ delitem 7798,50; //Dark_Debris
+ set zeny,zeny-990000;
+ completequest 3043;
+ getitem 5374,1; //L_Magestic_Goat
+ mes "[Rust Blackhand]";
+ mes "It's done. You may be excited, of course. I understand...";
+ next;
+ mes "[Rust Blackhand]";
+ mes "I don't accept complaints or A/S requests, so use it with care. I must go...";
+ close;
+ }
+ else {
+ mes "[Rust Blackhand]";
+ mes "Huu... You don't understand what I said. You cannot make anything with these ingredients.";
+ next;
+ mes "[Rust Blackhand]";
+ mes "I'll tell you the ingredients one more time, so please gather them correctly.";
+ next;
+ mes "[Rust Blackhand]";
+ mes "^0000FFCursed Baphomet Doll, Magestic Goat, 30 Crystal of Darkness, 50 Fragment of Darkness^000000, and the most important, production cost is ^0000FF990000^000000 Zeny.";
+ close;
+ }
+ }
+ else if ((.@new_maje == -1) && (countitem(6004) > 0)) {
+ switch(select("About the Cursed Baphomet Doll:Stop talking.")) {
+ case 1:
+ mes "[Rust Blackhand]";
+ mes "What?... Hmmm... Did you get the doll? You're pretty good, unlike your appearance...";
+ next;
+ mes "[Rust Blackhand]";
+ mes "Let me see... Needless to say, Patric must have sent you here to deal with the doll, right?";
+ next;
+ mes "[Rust Blackhand]";
+ mes "Cool... I'll help you make the evil doll useful. What? What can I do?";
+ next;
+ mes "[Rust Blackhand]";
+ mes "I can make the strong and large horns of the wicked devil Baphomet for you. A helm that has his immense power.";
+ next;
+ mes "[Rust Blackhand]";
+ mes "It is called the ^4d4dffGigantic Magestic Goat^000000. You'll realize that the Magestic Goat you're familiar with is nothing in comparison.";
+ next;
+ mes "[Rust Blackhand]";
+ mes "The Cursed Baphomet Doll is the most important ingredient... I'll make you if you want. What would you like to do?";
+ next;
+ switch(select("I want to make one!:I don't need one.")) {
+ case 1:
+ mes "[Rust Blackhand]";
+ mes "kkk... Yes, wise men take their chances when the opportunity comes. I'll tell you the ingredients. Don't forget, and bring them all.";
+ next;
+ mes "[Rust Blackhand]";
+ mes "^0000FFCursed Baphomet Doll, Magestic Goat, 30 Crystal of Darkness, 50 Fragment of Darkness^000000, and the most important, production cost is ^0000FF990000^000000 Zeny.";
+ next;
+ mes "[Rust Blackhand]";
+ mes "You can get the Magestic Goat from the weak Baphomet in the Labyrinth Forest. Crystal of Darkness and Fragment of Darkness are from the Incarnation of Morocc.";
+ next;
+ mes "[Rust Blackhand]";
+ mes "I'm sure that you can get the ingredients because you sealed the real Baphomet. Can't you? kkk...";
+ next;
+ mes "[Rust Blackhand]";
+ mes "You'll never know how great this hat is until you get one. If you understood, go and get the ingredients.";
+ changequest 3042,3043;
+ close;
+ case 2:
+ mes "[Rust Blackhand]";
+ mes "Huh... Do you? Do whatever you want... Do you really want to let this opportunity go to waste?";
+ next;
+ mes "[Rust Blackhand]";
+ mes "Tut, tut... I don't care if the wicked doll threatens your life all the time!";
+ close;
+ }
+ case 2:
+ mes "[Rust Blackhand]";
+ mes "What a dull boy he is... huh...";
+ close;
+ }
+ }
+ else if ((.@new_maje == -1) && (countitem(6004) == 0)) {
+ mes "[Rust Blackhand]";
+ mes "If you don't have business with me, go away! As you see, I make equipment for the Brothers at the monastery, not for adventurers like you. Do you understand?";
+ close;
+ }
+ else if ((.@new_maje == 2) && (countitem(6004) > 0)) {
+ switch(select("About the Cursed Baphomet Doll:Stop talking.")) {
+ case 1:
+ mes "[Rust Blackhand]";
+ mes "What?... You again? What do you want this time?";
+ next;
+ mes "[Rust Blackhand]";
+ mes "What? You got another doll from the wicked devil? Umm... You're much better than I thought...";
+ next;
+ mes "[Rust Blackhand]";
+ mes "Alright... I'll help you again.";
+ next;
+ mes "[Rust Blackhand]";
+ mes "If you want to make the doll into a ^4d4dffGigantic Magestic Goat^000000 again, I can make you another.";
+ next;
+ mes "[Rust Blackhand]";
+ mes "I'll tell you the ingredients again. So, do you want to make?";
+ next;
+ switch(select("I want.:No, I don't want.")) {
+ case 1:
+ mes "[Rust Blackhand]";
+ mes "kkk... Yes, wise men take their chances when the opportunity comes. I'll tell you the ingredients. Don't forget, and bring them all.";
+ next;
+ mes "[Rust Blackhand]";
+ mes "^0000FFCursed Baphomet Doll, Magestic Goat, 30 Crystal of Darkness, 50 Fragment of Darkness^000000, and the most important, production cost is ^0000FF990000^000000 Zeny.";
+ next;
+ mes "[Rust Blackhand]";
+ mes "You can get the Magestic Goat from the weak Baphomet in the Labyrinth Forest. Crystal of Darkness and Fragment of Darkness are from the Incarnation of Morocc.";
+ next;
+ mes "[Rust Blackhand]";
+ mes "I'm sure that you can get the ingredients because you sealed the real Baphomet. Can't you? kkk...";
+ next;
+ mes "[Rust Blackhand]";
+ mes "You'll never know how great this hat is until you get one. If you understood, go and get the ingredients.";
+ //recall_completequest 3043
+ changequest 3042,3043;
+ close;
+ case 2:
+ mes "[Rust Blackhand]";
+ mes "Huh... Do you? Do whatever you want... Do you really want to let this opportunity go to waste?";
+ next;
+ mes "[Rust Blackhand]";
+ mes "Tut, tut... I don't care if the wicked doll threatens your life all the time!";
+ close;
+ }
+ case 2:
+ mes "[Rust Blackhand]";
+ mes "What a dull boy he is... huh...";
+ close;
+ }
+ }
+ else if ((.@new_maje == 2) && (countitem(6004) == 0)) {
+ mes "[Rust Blackhand]";
+ mes "Why are you hanging around here? If you don't want a ^4d4dffGigantic Magestic Goat^000000, go away.";
+ close;
+ }
+}
+
+// Sealed Shrine Interior
+1@cata,1,2,0 script ins_baphomet_lotto -1,{
+OnEnable:
+ switch(rand(1,13)) {
+ case 1:
+ enablenpc instance_npcname("Gravestone#1F_1T", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_2F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_3F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_4F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_5F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_6F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_7F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_8F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_9F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_10F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_11F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_12F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_13F", instance_id());
+ end;
+ case 2:
+ enablenpc instance_npcname("Gravestone#1F_1F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_2T", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_3F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_4F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_5F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_6F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_7F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_8F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_9F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_10F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_11F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_12F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_13F", instance_id());
+ end;
+ case 3:
+ enablenpc instance_npcname("Gravestone#1F_1F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_2F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_3T", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_4F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_5F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_6F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_7F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_8F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_9F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_10F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_11F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_12F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_13F", instance_id());
+ end;
+ case 4:
+ enablenpc instance_npcname("Gravestone#1F_1F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_2F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_3F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_4T", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_5F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_6F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_7F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_8F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_9F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_10F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_11F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_12F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_13F", instance_id());
+ end;
+ case 5:
+ enablenpc instance_npcname("Gravestone#1F_1F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_2F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_3F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_4F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_5T", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_6F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_7F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_8F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_9F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_10F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_11F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_12F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_13F", instance_id());
+ end;
+ case 6:
+ enablenpc instance_npcname("Gravestone#1F_1F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_2F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_3F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_4F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_5F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_6T", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_7F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_8F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_9F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_10F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_11F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_12F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_13F", instance_id());
+ end;
+ case 7:
+ enablenpc instance_npcname("Gravestone#1F_1F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_2F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_3F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_4F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_5F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_6F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_7T", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_8F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_9F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_10F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_11F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_12F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_13F", instance_id());
+ end;
+ case 8:
+ enablenpc instance_npcname("Gravestone#1F_1F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_2F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_3F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_4F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_5F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_6F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_7F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_8T", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_9F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_10F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_11F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_12F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_13F", instance_id());
+ end;
+ case 9:
+ enablenpc instance_npcname("Gravestone#1F_1F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_2F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_3F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_4F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_5F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_6F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_7F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_8F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_9T", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_10F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_11F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_12F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_13F", instance_id());
+ end;
+ case 10:
+ enablenpc instance_npcname("Gravestone#1F_1F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_2F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_3F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_4F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_5F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_6F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_7F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_8F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_9F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_10T", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_11F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_12F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_13F", instance_id());
+ end;
+ case 11:
+ enablenpc instance_npcname("Gravestone#1F_1F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_2F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_3F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_4F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_5F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_6F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_7F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_8F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_9F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_10F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_11T", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_12F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_13F", instance_id());
+ end;
+ case 12:
+ enablenpc instance_npcname("Gravestone#1F_1F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_2F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_3F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_4F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_5F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_6F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_7F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_8F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_9F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_10F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_11F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_12T", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_13F", instance_id());
+ end;
+ case 13:
+ enablenpc instance_npcname("Gravestone#1F_1F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_2F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_3F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_4F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_5F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_6F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_7F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_8F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_9F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_10F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_11F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_12F", instance_id());
+ enablenpc instance_npcname("Gravestone#1F_13T", instance_id());
+ end;
+ }
+ end;
+}
+
+1@cata,3,2,0 script ins_baphomet_lotto2 -1,{
+OnEnable:
+ enablenpc instance_npcname("Bobbing Torch#1", instance_id());
+ enablenpc instance_npcname("Bobbing Torch#2", instance_id());
+ enablenpc instance_npcname("Bobbing Torch#3", instance_id());
+ enablenpc instance_npcname("Bobbing Torch#4", instance_id());
+ enablenpc instance_npcname("Bobbing Torch#5", instance_id());
+ enablenpc instance_npcname("Bobbing Torch#6", instance_id());
+ enablenpc instance_npcname("Bobbing Torch#7", instance_id());
+ enablenpc instance_npcname("Bobbing Torch#8", instance_id());
+ enablenpc instance_npcname("Bobbing Torch#9", instance_id());
+ enablenpc instance_npcname("Bobbing Torch#10", instance_id());
+ enablenpc instance_npcname("Bobbing Torch#11", instance_id());
+ enablenpc instance_npcname("Bobbing Torch#12", instance_id());
+ end;
+}
+
+1@cata,4,2,0 script ins_baphomet_lotto3 -1,{
+OnEnable:
+ monster "1@cata",0,0,"Apostle of Baphomet",1869,1,instance_npcname("ins_baphomet_lotto3", instance_id())+"::OnMyMobDead";
+ monster "1@cata",0,0,"Apostle of Baphomet",1291,1,instance_npcname("ins_baphomet_lotto3", instance_id())+"::OnMyMobDead";
+ monster "1@cata",0,0,"Apostle of Baphomet",1869,1,instance_npcname("ins_baphomet_lotto3", instance_id())+"::OnMyMobDead";
+ monster "1@cata",0,0,"Apostle of Baphomet",1291,1,instance_npcname("ins_baphomet_lotto3", instance_id())+"::OnMyMobDead";
+ monster "1@cata",0,0,"Apostle of Baphomet",1869,1,instance_npcname("ins_baphomet_lotto3", instance_id())+"::OnMyMobDead";
+ monster "1@cata",0,0,"Apostle of Baphomet",1291,1,instance_npcname("ins_baphomet_lotto3", instance_id())+"::OnMyMobDead";
+ monster "1@cata",0,0,"Apostle of Baphomet",1869,1,instance_npcname("ins_baphomet_lotto3", instance_id())+"::OnMyMobDead";
+ monster "1@cata",0,0,"Apostle of Baphomet",1132,1,instance_npcname("ins_baphomet_lotto3", instance_id())+"::OnMyMobDead";
+ monster "1@cata",0,0,"Apostle of Baphomet",1117,1,instance_npcname("ins_baphomet_lotto3", instance_id())+"::OnMyMobDead";
+ monster "1@cata",0,0,"Apostle of Baphomet",1132,1,instance_npcname("ins_baphomet_lotto3", instance_id())+"::OnMyMobDead";
+ monster "1@cata",0,0,"Apostle of Baphomet",1117,1,instance_npcname("ins_baphomet_lotto3", instance_id())+"::OnMyMobDead";
+ monster "1@cata",0,0,"Apostle of Baphomet",1132,1,instance_npcname("ins_baphomet_lotto3", instance_id())+"::OnMyMobDead";
+ monster "1@cata",0,0,"Apostle of Baphomet",1291,1,instance_npcname("ins_baphomet_lotto3", instance_id())+"::OnMyMobDead";
+ monster "1@cata",0,0,"Apostle of Baphomet",1117,1,instance_npcname("ins_baphomet_lotto3", instance_id())+"::OnMyMobDead";
+ monster "1@cata",0,0,"Apostle of Baphomet",1869,1,instance_npcname("ins_baphomet_lotto3", instance_id())+"::OnMyMobDead";
+ end;
+
+OnDisable:
+ killmonster "1@cata",instance_npcname("ins_baphomet_lotto3", instance_id())+"::OnMyMobDead";
+ end;
+
+OnMyMobDead:
+ if (mobcount("1@cata",instance_npcname("ins_baphomet_lotto3", instance_id())+"::OnMyMobDead") < 1) {
+ instance_announce 0, "All apostles of Baphomet are dead!",bc_map,"0x00ff99";
+ }
+ getitem 6002,1; //Token_Of_Apostle
+ end;
+}
+
+//===================== soul of hero near the north grave ========================
+1@cata,141,221,0 script Gravestone# 844,3,3,{
+ set .@party_id,getcharid(1);
+ if ('ins_baphomet == 0) {
+ mes "The gravestone is trembling...";
+ next;
+ mes "When touching the gravestone, I hear a voice.";
+ next;
+ specialeffect2 EF_CONE;
+ mes "[Voice of the Gravestone]";
+ mes "I have waited and waited for a brave adventurer like you who will come back here again...";
+ next;
+ while(1) {
+ switch(select("Who are you?:Waited for me?:Cancel.")) {
+ case 1:
+ mes "[Voice of the Gravestone]";
+ mes "I was one of the warriors to stop Baphomet like you. Now, I'm dead and only my soul remains...";
+ next;
+ mes "[Voice of the Gravestone]";
+ mes "As you know... We don't have much time. You can't stop Baphomet by yourselves. The power of the devil has strengthened over the years.";
+ next;
+ mes "[Voice of the Gravestone]";
+ mes "In the past, my companions and I sealed Baphomet at the altar located on the 2nd basement and blocked the entrance.";
+ next;
+ mes "[Voice of the Gravestone]";
+ mes "I moved my soul's essence to my pendant, so that I could remain in this world. That's when I became this grave's guardian.";
+ next;
+ break;
+ case 2:
+ mes "[Voice of the Gravestone]";
+ mes "Baphomet's power is about to break the seal that we made. If you don't reactivate them... Baphomet's revival will only be a matter of time.";
+ next;
+ mes "[Voice of the Gravestone]";
+ mes "To open the entrance, you must substantialize my soul. I'll open the entrance and reactivate the weakened seals after I am substantilized.";
+ next;
+ mes "[Voice of the Gravestone]";
+ mes "To substantialize my soul, you should find my pendant. You can find my body near a grave here.";
+ next;
+ mes "[Voice of the Gravestone]";
+ mes "If your ^0000FFparty leader^000000 brings me the pendant, my soul can be substantialized. So, hurry up.";
+ set 'ins_baphomet,1;
+ close;
+ case 3:
+ mes "I can feel the voice becoming faint.";
+ close;
+ }
+ }
+ }
+ else if ('ins_baphomet == 1) {
+ mes "[Voice of the Gravestone]";
+ mes "To open the entrance, you must substantialize my soul. I'll open the entrance and reactivate the weakened seals after I am substantilized.";
+ next;
+ mes "[Voice of the Gravestone]";
+ mes "To substantialize my soul, you should find my pendant. You can find my body near a grave here.";
+ next;
+ mes "[Voice of the Gravestone]";
+ mes "If your ^0000FFparty leader^000000 brings me the pendant, my soul can be substantialized. So, hurry up.";
+ close;
+ }
+ else if (('ins_baphomet == 2) && (getpartyleader(.@party_id,2) == getcharid(0))) {
+ mes "[Voice of the Gravestone]";
+ mes "Did you find the pendant?";
+ next;
+ if (countitem(6003) > 0) {
+ specialeffect EF_MAPPILLAR;
+ mes "[Voice of the Gravestone]";
+ mes "Yes... This is... My pendant...";
+ next;
+ delitem 6003,1; //Soul_Pendant
+ enablenpc instance_npcname("Ancient Hero's Soul#1F", instance_id());
+ disablenpc instance_npcname("Gravestone#", instance_id());
+ mes "[Voice of the Gravestone]";
+ mes "Now I can substantialize my soul. I'll wait for you in front of the altar of fire located at the center of this grave. Let's meet there.";
+ next;
+ instance_announce 0, "Ancient Hero's Soul : I'll wait for you in front of the altar of fire located at the center",bc_map,"0xFFFF00";
+ mes "I can feel the voice becoming faint.";
+ close;
+ }
+ else {
+ mes "[Voice of the Gravestone]";
+ mes "Are you still there? Bring back my pendant as soon as possible.";
+ next;
+ mes "[Voice of the Gravestone]";
+ mes "You can find my body near a grave here. Go and get my pendant there.";
+ close;
+ }
+ }
+ else {
+ mes "[Voice of the Gravestone]";
+ mes "I want to talk to ^0000FFa representative among your party^000000. Everyone else, wait here.";
+ close;
+ }
+ end;
+
+OnTouch:
+ if ('ins_baphomet == 0) {
+ mes "'Krrrr... Krrrr...'";
+ next;
+ mes "I can feel something odd at the grave. It's like someone is calling out silently...";
+ close;
+ }
+ end;
+}
+
+1@cata,176,119,4 script Ancient Hero's Soul#1F 411,{
+ set .@party_id,getcharid(1);
+ cutin "ins_cata_champ_n",2;
+ if ('ins_baphomet == 2) {
+ mes "[Ancient Hero's Soul]";
+ mes "With your help, my soul can be substantialized. I want to talk more, but we do not have enough time...";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "I must be substantialized within the next hour. To reach the Main Altar underground, you must help me perform the ceremony for opening each seal.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "Now I'll tell you what should you do. First, collect ^0000FFEssence of Fire^000000 from the torches on the graves...";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "Second, all members who will enter the underground must carry a symbol, called the Token of Apostle.";
+ next;
+ while(1) {
+ cutin "ins_cata_champ_n",2;
+ switch(select("What is Essence of Fire?:What is a Token of Apostle?:What should I do?:I am ready.")) {
+ case 1:
+ set .@ins_baphomet_1f_1,.@ins_baphomet_1f_1+1;
+ mes "[Ancient Hero's Soul]";
+ mes "You can see the torches here and there. These torches are the essence of Thor, the god of Thunder. They are inherited from our predecessors to stop the darkness of Baphomet...";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "To open the sealed underground gate, I must be purified by the ^0000FFEssence of Fire^000000 which has the power of Thor. Collect ^0000FF10 Essence of Fire^000000 from the torches.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "One thing you must remember is... ^0000FFEssence of Fire^000000 can only be collected by the Inheritor of Faith.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "I'll give the token of the Inheritor of Faith to the party leader. Only the party leader can collect the ^0000FFEssence of Fire^000000.";
+ next;
+ break;
+ case 2:
+ set .@ins_baphomet_1f_2,.@ins_baphomet_1f_2+1;
+ mes "[Ancient Hero's Soul]";
+ mes "At that time, it was impossible to get rid of Devil Baphomet by ourselves. After numerous heroes sacrificed their lives, we could barely seal him under this Abbey.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "However, Baphomet never gave up. He continuously strengthened his power. And his power has brought new life to this shrine.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "Some of these monsters have magical powers. Baphomet calls them his 'Apostles'.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "The apostles are cloning themselves to fill the shrine with their evil energy. They are the monsters here in this catacomb.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "Kill the Apostles. They can only be distinguished from their clones because they will possess a ^0000FFToken of Apostle^000000...";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "If each party member possesses a ^0000FFToken of Apostle^000000, Baphomet will not be able to perceive your entrance to the Main Altar underground.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "If Baphomet perceives you when you pass through the sealed gate, he may release his tremendous magical power. Then, this abbey will be demolished.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "Kill the apostles and get the ^0000FFToken of Apostle^000000.";
+ next;
+ break;
+ case 3:
+ set .@ins_baphomet_1f_3,.@ins_baphomet_1f_3+1;
+ if (getpartyleader(.@party_id,2) == getcharid(0)) {
+ mes "[Ancient Hero's Soul]";
+ mes "You look like the leader of this party. You need to go and get ^0000FF10 Essence of Fire^000000 from the torches.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "Now I'll carve you the symbol which shows you're a inheritor of faith. Be aware that no one in your party but you can collect the Essence of Fire.";
+ next;
+ specialeffect2 EF_HOLYHIT;
+ mes "[Ancient Hero's Soul]";
+ mes "You should also carry a ^0000FFToken of Apostle^000000, so find one for yourself too.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "When all of you are ready to go, let me know. I'll open the sealed gate when you're ready.";
+ next;
+ }
+ else {
+ mes "[Ancient Hero's Soul]";
+ mes "Make sure that your party leader has listened to my explanation of what you and your companions must do.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "Kill the Apostles of Baphomet and find their ^0000FFToken of Apostle^000000.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "It might be better to kill all of them because there is no way to differentiate them from their clones.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "Are you ready?";
+ mes "Make sure that you have listened to all that I have to say before saying that you are ready.";
+ next;
+ }
+ break;
+ case 4:
+ if ((.@ins_baphomet_1f_1 > 0) && (.@ins_baphomet_1f_2 > 0) && (.@ins_baphomet_1f_3 > 0)) {
+ cutin "ins_cata_champ_n",2;
+ mes "[Ancient Hero's Soul]";
+ mes "Are you ready to go? Then I'll open this sealed gate now.";
+ next;
+ set .@exitloop,1;
+ }
+ else {
+ cutin "ins_cata_champ_a",2;
+ mes "[Ancient Hero's Soul]";
+ mes "It may be difficult but I wish you luck braving the perils of this catacomb.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "Remember, you need to collect ^0000FF10 Essence of Fire^000000 from the torches and the ^0000FFToken of Apostle^000000 from the Apostles of Baphomet.";
+ next;
+ }
+ break;
+ }
+ if (.@exitloop) break;
+ }
+ if (getpartyleader(.@party_id,2) == getcharid(0)) {
+ mes "[Ancient Hero's Soul]";
+ mes "To remind you again, I must be substantialized within the next hour. So everyone, finish your work within that time!";
+ set 'ins_baphomet,3;
+ donpcevent instance_npcname("ins_baphomet_1f_timer", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("ins_baphomet_lotto2", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("ins_baphomet_lotto3", instance_id())+"::OnEnable";
+ }
+ else {
+ mes "[Ancient Hero's Soul]";
+ mes "To remind you again, I can be substantialized for the next hour. So everyone, finish your work within that time.";
+ //set 'ins_baphomet,3;
+ }
+ close2;
+ cutin "",255;
+ end;
+ }
+ else if (('ins_baphomet == 3) && (getpartyleader(.@party_id,2) == getcharid(0))) {
+ cutin "ins_cata_champ_n",2;
+ mes "[Ancient Hero's Soul]";
+ mes "Did you get 10 ^0000FFEssence of Fire^000000 and ^0000FFToken of Apostle^000000?";
+ next;
+ if ((countitem(6001) > 9) && (countitem(6002) > 0)) {
+ delitem 6001,countitem(6001); //Essence_Of_Fire
+ set 'ins_baphomet,4;
+ mes "[Ancient Hero's Soul]";
+ mes "Okay. You've done your work. Now check your companions and tell me when everyone has finished their work.";
+ }
+ else {
+ mes "[Ancient Hero's Soul]";
+ mes "Not ready yet? You should prepare 10 ^0000FFEssence of Fire^000000 and ^0000FFToken of Apostle^000000.";
+ }
+ close2;
+ cutin "",255;
+ end;
+ }
+ else if ('ins_baphomet == 3) {
+ cutin "ins_cata_champ_n",2;
+ mes "[Ancient Hero's Soul]";
+ mes "Do you have a ^0000FFToken of Apostle^000000?";
+ next;
+ if (countitem(6002) > 0) {
+ set 'ins_baphomet,4;
+ mes "[Ancient Hero's Soul]";
+ mes "Okay. You've done your work. Tell your representative to check your companions and come to me when everyone has finished their work.";
+ }
+ else {
+ mes "[Ancient Hero's Soul]";
+ mes "Not ready yet? You should prepare ^0000FFToken of Apostle^000000.";
+ }
+ close2;
+ cutin "",255;
+ end;
+ }
+ else if (('ins_baphomet == 4) && (getpartyleader(.@party_id,2) == getcharid(0))) {
+ cutin "ins_cata_champ_n",2;
+ mes "[Ancient Hero's Soul]";
+ mes "Are you ready? I opened the sealed gate. To pass the gate, you should carry a ^0000FFToken of Apostle^000000.";
+ next;
+ set 'ins_baphomet,5;
+ specialeffect EF_TELEPORTATION;
+ enablenpc instance_npcname("ins_bapho_to_2f", instance_id());
+ mes "[Ancient Hero's Soul]";
+ mes "Now you can go to the main altar. It is located in the bottom right corner of this floor.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "Your real battle will begin... I'll follow you soon and find a way to help you.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "Go ahead, warriors.";
+ cutin "",255;
+ instance_announce 0, "Ancient Hero's Soul : Now you can go to the Main Altar's gate. It is located in the Southeast",bc_map,"0xFFFF00";
+ close;
+ }
+ else if ('ins_baphomet == 4) {
+ cutin "ins_cata_champ_n",2;
+ mes "[Ancient Hero's Soul]";
+ mes "Are you ready? I opened the sealed gate. To pass the gate, you should carry a ^0000FFToken of Apostle^000000.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "I'll complete opening the sealed gate when your representative tells me that you're ready.";
+ cutin "",255;
+ close;
+ }
+ else if ('ins_baphomet == 5) {
+ cutin "ins_cata_champ_n",2;
+ mes "[Ancient Hero's Soul]";
+ mes "What are you doing? The entrance of the main altar is opened now, go and fight! The entrance is near the bottom right side of this floor.";
+ cutin "",255;
+ close;
+ }
+ else {
+ cutin "ins_cata_champ_n",2;
+ mes "[Ancient Hero's Soul]";
+ mes "I have nothing to say to you...";
+ cutin "",255;
+ close;
+ }
+}
+
+//===================== TO 2F Warp ========================
+1@cata,281,12,0 script ins_bapho_to_2f 45,1,1,{
+
+OnTouch:
+ if (countitem(6002) > 0) {
+ delitem 6002,countitem(6002); //Token_Of_Apostle
+ set 'ins_baphomet,5;
+ warp "2@cata",80,144;
+ end;
+ }
+ else {
+ mes "[Ancient Hero's Soul]";
+ mes "Where is your Token of Apostle? I said you should carry the Token of Apostle to pass this gate.";
+ close;
+ }
+}
+
+1@cata,86,214,0 script Gravestone#1F_1T 844,{
+ if ('ins_baphomet == 1) {
+ getitem 6003,1; //Soul_Pendant
+ set 'ins_baphomet,2;
+ mes "A small object is shining under a leaning grave.";
+ next;
+ mes "[" + strcharinfo(0) + "]";
+ mes "I think this is the pendant...";
+ close;
+ }
+ else {
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+ }
+}
+
+1@cata,86,214,0 script Gravestone#1F_1F 844,{
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+ end;
+}
+
+1@cata,200,209,0 script Gravestone#1F_2T 844,{
+ if ('ins_baphomet == 1) {
+ getitem 6003,1; //Soul_Pendant
+ set 'ins_baphomet,2;
+ mes "A small object is shining under a leaning grave.";
+ next;
+ mes "[" + strcharinfo(0) + "]";
+ mes "I think this is the pendant...";
+ close;
+ }
+ else {
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+ }
+}
+
+1@cata,200,209,0 script Gravestone#1F_2F 844,{
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+}
+
+1@cata,230,195,0 script Gravestone#1F_3T 844,{
+ if ('ins_baphomet == 1) {
+ getitem 6003,1; //Soul_Pendant
+ set 'ins_baphomet,2;
+ mes "A small object is shining under a leaning grave.";
+ next;
+ mes "[" + strcharinfo(0) + "]";
+ mes "I think this is the pendant...";
+ close;
+ }
+ else {
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+ }
+}
+
+1@cata,230,195,0 script Gravestone#1F_3F 844,{
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+}
+
+1@cata,118,182,0 script Gravestone#1F_4T 844,{
+ if ('ins_baphomet == 1) {
+ getitem 6003,1; //Soul_Pendant
+ set 'ins_baphomet,2;
+ mes "A small object is shining under a leaning grave.";
+ next;
+ mes "[" + strcharinfo(0) + "]";
+ mes "I think this is the pendant...";
+ close;
+ }
+ else {
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+ }
+}
+
+1@cata,118,182,0 script Gravestone#1F_4F 844,{
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+}
+
+1@cata,193,182,0 script Gravestone#1F_5T 844,{
+ if ('ins_baphomet == 1) {
+ getitem 6003,1; //Soul_Pendant
+ set 'ins_baphomet,2;
+ mes "A small object is shining under a leaning grave.";
+ next;
+ mes "[" + strcharinfo(0) + "]";
+ mes "I think this is the pendant...";
+ close;
+ }
+ else {
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+ }
+}
+
+1@cata,193,182,0 script Gravestone#1F_5F 844,{
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+}
+
+1@cata,253,156,0 script Gravestone#1F_6T 844,{
+ if ('ins_baphomet == 1) {
+ getitem 6003,1; //Soul_Pendant
+ set 'ins_baphomet,2;
+ mes "A small object is shining under a leaning grave.";
+ next;
+ mes "[" + strcharinfo(0) + "]";
+ mes "I think this is the pendant...";
+ close;
+ }
+ else {
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+ }
+}
+
+1@cata,253,156,0 script Gravestone#1F_6F 844,{
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+}
+
+1@cata,88,154,0 script Gravestone#1F_7T 844,{
+ if ('ins_baphomet == 1) {
+ getitem 6003,1; //Soul_Pendant
+ set 'ins_baphomet,2;
+ mes "A small object is shining under a leaning grave.";
+ next;
+ mes "[" + strcharinfo(0) + "]";
+ mes "I think this is the pendant...";
+ close;
+ }
+ else {
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+ }
+}
+
+1@cata,88,154,0 script Gravestone#1F_7F 844,{
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+}
+
+1@cata,127,116,0 script Gravestone#1F_8T 844,{
+ if ('ins_baphomet == 1) {
+ getitem 6003,1; //Soul_Pendant
+ set 'ins_baphomet,2;
+ mes "A small object is shining under a leaning grave.";
+ next;
+ mes "[" + strcharinfo(0) + "]";
+ mes "I think this is the pendant...";
+ close;
+ }
+ else {
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+ }
+}
+
+1@cata,127,116,0 script Gravestone#1F_8F 844,{
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+}
+
+1@cata,90,98,0 script Gravestone#1F_9T 844,{
+ if ('ins_baphomet == 1) {
+ getitem 6003,1; //Soul_Pendant
+ set 'ins_baphomet,2;
+ mes "A small object is shining under a leaning grave.";
+ next;
+ mes "[" + strcharinfo(0) + "]";
+ mes "I think this is the pendant...";
+ close;
+ }
+ else {
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+ }
+}
+
+1@cata,90,98,0 script Gravestone#1F_9F 844,{
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+ end;
+}
+
+1@cata,188,84,0 script Gravestone#1F_10T 844,{
+ if ('ins_baphomet == 1) {
+ getitem 6003,1; //Soul_Pendant
+ set 'ins_baphomet,2;
+ mes "A small object is shining under a leaning grave.";
+ next;
+ mes "[" + strcharinfo(0) + "]";
+ mes "I think this is the pendant...";
+ close;
+ }
+ else {
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+ }
+}
+
+1@cata,188,84,0 script Gravestone#1F_10F 844,{
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+ end;
+}
+
+1@cata,244,42,0 script Gravestone#1F_11T 844,{
+ if ('ins_baphomet == 1) {
+ getitem 6003,1; //Soul_Pendant
+ set 'ins_baphomet,2;
+ mes "A small object is shining under a leaning grave.";
+ next;
+ mes "[" + strcharinfo(0) + "]";
+ mes "I think this is the pendant...";
+ close;
+ }
+ else {
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+ }
+}
+
+1@cata,244,42,0 script Gravestone#1F_11F 844,{
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+}
+
+1@cata,127,32,0 script Gravestone#1F_12T 844,{
+ if ('ins_baphomet == 1) {
+ getitem 6003,1; //Soul_Pendant
+ set 'ins_baphomet,2;
+ mes "A small object is shining under a leaning grave.";
+ next;
+ mes "[" + strcharinfo(0) + "]";
+ mes "I think this is the pendant...";
+ close;
+ }
+ else {
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+ }
+}
+
+1@cata,127,32,0 script Gravestone#1F_12F 844,{
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+}
+
+1@cata,267,30,0 script Gravestone#1F_13T 844,{
+ if ('ins_baphomet == 1) {
+ getitem 6003,1; //Soul_Pendant
+ set 'ins_baphomet,2;
+ mes "A small object is shining under a leaning grave.";
+ next;
+ mes "[" + strcharinfo(0) + "]";
+ mes "I think this is the pendant...";
+ close;
+ }
+ else {
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+ }
+}
+
+1@cata,267,30,0 script Gravestone#1F_13F 844,{
+ mes "I can only feel gloom from this Gravestone.";
+ close;
+}
+
+1@cata,267,210,0 script Bobbing Torch#1 844,{
+ set .@party_id,getcharid(1);
+ if (getpartyleader(.@party_id,2) == getcharid(0)) {
+ if (('ins_baphomet == 3) && (countitem(6001) < 11)) {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me.";
+ next;
+ mes "The grand appearance and heat of the fire makes me step back... But I pluck up my courage and reach out to pick up the torch.";
+ next;
+ specialeffect2 EF_HOLYHIT;
+ getitem 6001,1; //Essence_Of_Fire
+ mes "The symbol of inheritor shines. Then a small crystal falls into my hand from the torch.";
+ disablenpc instance_npcname("Bobbing Torch#1", instance_id());
+ close;
+ }
+ else if (('ins_baphomet == 3) && (countitem(6001) > 10)) {
+ mes "You have 10 Essence of Fire already, so you don't need to collect any more.";
+ close;
+ }
+ else {
+ mes "You don't need to collect Essence of Fire anymore.";
+ close;
+ }
+ }
+ else {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me..";
+ next;
+ mes "[Unknown Voice]";
+ mes "You are not a inheritor of faith. Do not desecrate the Essence of Fire with your disrespectful hands.";
+ specialeffect2 EF_FIRESPLASHHIT;
+ percentheal -50,0;
+ close;
+ }
+}
+
+1@cata,85,182,0 script Bobbing Torch#2 844,{
+ set .@party_id,getcharid(1);
+ if (getpartyleader(.@party_id,2) == getcharid(0)) {
+ if (('ins_baphomet == 3) && (countitem(6001) < 11)) {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me.";
+ next;
+ mes "The grand appearance and heat of the fire makes me step back... But I pluck up my courage and reach out to pick up the torch.";
+ next;
+ specialeffect2 EF_HOLYHIT;
+ getitem 6001,1; //Essence_Of_Fire
+ mes "The symbol of inheritor shines. Then a small crystal falls into my hand from the torch.";
+ disablenpc instance_npcname("Bobbing Torch#2", instance_id());
+ close;
+ }
+ else if (('ins_baphomet == 3) && (countitem(6001) > 10)) {
+ mes "You have 10 Essence of Fire already, so you don't need to collect any more.";
+ close;
+ }
+ else {
+ mes "You don't need to collect Essence of Fire anymore.";
+ close;
+ }
+ }
+ else {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me..";
+ next;
+ mes "[Unknown Voice]";
+ mes "You are not a inheritor of faith. Do not desecrate the Essence of Fire with your disrespectful hands.";
+ specialeffect2 EF_FIRESPLASHHIT;
+ percentheal -50,0;
+ close;
+ }
+}
+
+1@cata,267,154,0 script Bobbing Torch#3 844,{
+ set .@party_id,getcharid(1);
+ if (getpartyleader(.@party_id,2) == getcharid(0)) {
+ if (('ins_baphomet == 3) && (countitem(6001) < 11)) {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me.";
+ next;
+ mes "The grand appearance and heat of the fire makes me step back... But I pluck up my courage and reach out to pick up the torch.";
+ next;
+ specialeffect2 EF_HOLYHIT;
+ getitem 6001,1; //Essence_Of_Fire
+ mes "The symbol of inheritor shines. Then a small crystal falls into my hand from the torch.";
+ disablenpc instance_npcname("Bobbing Torch#3", instance_id());
+ close;
+ }
+ else if (('ins_baphomet == 3) && (countitem(6001) > 10)) {
+ mes "You have 10 Essence of Fire already, so you don't need to collect any more.";
+ close;
+ }
+ else {
+ mes "You don't need to collect Essence of Fire anymore.";
+ close;
+ }
+ }
+ else {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me..";
+ next;
+ mes "[Unknown Voice]";
+ mes "You are not a inheritor of faith. Do not desecrate the Essence of Fire with your disrespectful hands.";
+ specialeffect2 EF_FIRESPLASHHIT;
+ percentheal -50,0;
+ close;
+ }
+}
+
+1@cata,157,139,0 script Bobbing Torch#4 844,{
+ set .@party_id,getcharid(1);
+ if (getpartyleader(.@party_id,2) == getcharid(0)) {
+ if (('ins_baphomet == 3) && (countitem(6001) < 11)) {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me.";
+ next;
+ mes "The grand appearance and heat of the fire makes me step back... But I pluck up my courage and reach out to pick up the torch.";
+ next;
+ specialeffect2 EF_HOLYHIT;
+ getitem 6001,1; //Essence_Of_Fire
+ mes "The symbol of inheritor shines. Then a small crystal falls into my hand from the torch.";
+ disablenpc instance_npcname("Bobbing Torch#4", instance_id());
+ close;
+ }
+ else if (('ins_baphomet == 3) && (countitem(6001) > 10)) {
+ mes "You have 10 Essence of Fire already, so you don't need to collect any more.";
+ close;
+ }
+ else {
+ mes "You don't need to collect Essence of Fire anymore.";
+ close;
+ }
+ }
+ else {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me..";
+ next;
+ mes "[Unknown Voice]";
+ mes "You are not a inheritor of faith. Do not desecrate the Essence of Fire with your disrespectful hands.";
+ specialeffect2 EF_FIRESPLASHHIT;
+ percentheal -50,0;
+ close;
+ }
+}
+
+1@cata,193,138,0 script Bobbing Torch#5 844,{
+ set .@party_id,getcharid(1);
+ if (getpartyleader(.@party_id,2) == getcharid(0)) {
+ if (('ins_baphomet == 3) && (countitem(6001) < 11)) {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me.";
+ next;
+ mes "The grand appearance and heat of the fire makes me step back... But I pluck up my courage and reach out to pick up the torch.";
+ next;
+ specialeffect2 EF_HOLYHIT;
+ getitem 6001,1; //Essence_Of_Fire
+ mes "The symbol of inheritor shines. Then a small crystal falls into my hand from the torch.";
+ disablenpc instance_npcname("Bobbing Torch#5", instance_id());
+ close;
+ }
+ else if (('ins_baphomet == 3) && (countitem(6001) > 10)) {
+ mes "You have 10 Essence of Fire already, so you don't need to collect any more.";
+ close;
+ }
+ else {
+ mes "You don't need to collect Essence of Fire anymore.";
+ close;
+ }
+ }
+ else {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me..";
+ next;
+ mes "[Unknown Voice]";
+ mes "You are not a inheritor of faith. Do not desecrate the Essence of Fire with your disrespectful hands.";
+ specialeffect2 EF_FIRESPLASHHIT;
+ percentheal -50,0;
+ close;
+ }
+}
+
+1@cata,193,102,0 script Bobbing Torch#6 844,{
+ set .@party_id,getcharid(1);
+ if (getpartyleader(.@party_id,2) == getcharid(0)) {
+ if (('ins_baphomet == 3) && (countitem(6001) < 11)) {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me.";
+ next;
+ mes "The grand appearance and heat of the fire makes me step back... But I pluck up my courage and reach out to pick up the torch.";
+ next;
+ specialeffect2 EF_HOLYHIT;
+ getitem 6001,1; //Essence_Of_Fire
+ mes "The symbol of inheritor shines. Then a small crystal falls into my hand from the torch.";
+ disablenpc instance_npcname("Bobbing Torch#6", instance_id());
+ close;
+ }
+ else if (('ins_baphomet == 3) && (countitem(6001) > 10)) {
+ mes "You have 10 Essence of Fire already, so you don't need to collect any more.";
+ close;
+ }
+ else {
+ mes "You don't need to collect Essence of Fire anymore.";
+ close;
+ }
+ }
+ else {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me..";
+ next;
+ mes "[Unknown Voice]";
+ mes "You are not a inheritor of faith. Do not desecrate the Essence of Fire with your disrespectful hands.";
+ specialeffect2 EF_FIRESPLASHHIT;
+ percentheal -50,0;
+ close;
+ }
+}
+
+1@cata,157,102,0 script Bobbing Torch#7 844,{
+ set .@party_id,getcharid(1);
+ if (getpartyleader(.@party_id,2) == getcharid(0)) {
+ if (('ins_baphomet == 3) && (countitem(6001) < 11)) {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me.";
+ next;
+ mes "The grand appearance and heat of the fire makes me step back... But I pluck up my courage and reach out to pick up the torch.";
+ next;
+ specialeffect2 EF_HOLYHIT;
+ getitem 6001,1; //Essence_Of_Fire
+ mes "The symbol of inheritor shines. Then a small crystal falls into my hand from the torch.";
+ disablenpc instance_npcname("Bobbing Torch#7", instance_id());
+ close;
+ }
+ else if (('ins_baphomet == 3) && (countitem(6001) > 10)) {
+ mes "You have 10 Essence of Fire already, so you don't need to collect any more.";
+ close;
+ }
+ else {
+ mes "You don't need to collect Essence of Fire anymore.";
+ close;
+ }
+ }
+ else {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me..";
+ next;
+ mes "[Unknown Voice]";
+ mes "You are not a inheritor of faith. Do not desecrate the Essence of Fire with your disrespectful hands.";
+ specialeffect2 EF_FIRESPLASHHIT;
+ percentheal -50,0;
+ close;
+ }
+}
+
+1@cata,113,112,0 script Bobbing Torch#8 844,{
+ set .@party_id,getcharid(1);
+ if (getpartyleader(.@party_id,2) == getcharid(0)) {
+ if (('ins_baphomet == 3) && (countitem(6001) < 11)) {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me.";
+ next;
+ mes "The grand appearance and heat of the fire makes me step back... But I pluck up my courage and reach out to pick up the torch.";
+ next;
+ specialeffect2 EF_HOLYHIT;
+ getitem 6001,1; //Essence_Of_Fire
+ mes "The symbol of inheritor shines. Then a small crystal falls into my hand from the torch.";
+ disablenpc instance_npcname("Bobbing Torch#8", instance_id());
+ close;
+ }
+ else if (('ins_baphomet == 3) && (countitem(6001) > 10)) {
+ mes "You have 10 Essence of Fire already, so you don't need to collect any more.";
+ close;
+ }
+ else {
+ mes "You don't need to collect Essence of Fire anymore.";
+ close;
+ }
+ }
+ else {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me..";
+ next;
+ mes "[Unknown Voice]";
+ mes "You are not a inheritor of faith. Do not desecrate the Essence of Fire with your disrespectful hands.";
+ specialeffect2 EF_FIRESPLASHHIT;
+ percentheal -50,0;
+ close;
+ }
+}
+
+1@cata,253,56,0 script Bobbing Torch#9 844,{
+ set .@party_id,getcharid(1);
+ if (getpartyleader(.@party_id,2) == getcharid(0)) {
+ if (('ins_baphomet == 3) && (countitem(6001) < 11)) {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me.";
+ next;
+ mes "The grand appearance and heat of the fire makes me step back... But I pluck up my courage and reach out to pick up the torch.";
+ next;
+ specialeffect2 EF_HOLYHIT;
+ getitem 6001,1; //Essence_Of_Fire
+ mes "The symbol of inheritor shines. Then a small crystal falls into my hand from the torch.";
+ disablenpc instance_npcname("Bobbing Torch#9", instance_id());
+ close;
+ }
+ else if (('ins_baphomet == 3) && (countitem(6001) > 10)) {
+ mes "You have 10 Essence of Fire already, so you don't need to collect any more.";
+ close;
+ }
+ else {
+ mes "You don't need to collect Essence of Fire anymore.";
+ close;
+ }
+ }
+ else {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me..";
+ next;
+ mes "[Unknown Voice]";
+ mes "You are not a inheritor of faith. Do not desecrate the Essence of Fire with your disrespectful hands.";
+ specialeffect2 EF_FIRESPLASHHIT;
+ percentheal -50,0;
+ close;
+ }
+}
+
+1@cata,239,56,0 script Bobbing Torch#10 844,{
+ set .@party_id,getcharid(1);
+ if (getpartyleader(.@party_id,2) == getcharid(0)) {
+ if (('ins_baphomet == 3) && (countitem(6001) < 11)) {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me.";
+ next;
+ mes "The grand appearance and heat of the fire makes me step back... But I pluck up my courage and reach out to pick up the torch.";
+ next;
+ specialeffect2 EF_HOLYHIT;
+ getitem 6001,1; //Essence_Of_Fire
+ mes "The symbol of inheritor shines. Then a small crystal falls into my hand from the torch.";
+ disablenpc instance_npcname("Bobbing Torch#10", instance_id());
+ close;
+ }
+ else if (('ins_baphomet == 3) && (countitem(6001) > 10)) {
+ mes "You have 10 Essence of Fire already, so you don't need to collect any more.";
+ close;
+ }
+ else {
+ mes "You don't need to collect Essence of Fire anymore.";
+ close;
+ }
+ }
+ else {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me..";
+ next;
+ mes "[Unknown Voice]";
+ mes "You are not a inheritor of faith. Do not desecrate the Essence of Fire with your disrespectful hands.";
+ specialeffect2 EF_FIRESPLASHHIT;
+ percentheal -50,0;
+ close;
+ }
+}
+
+1@cata,71,42,0 script Bobbing Torch#11 844,{
+ set .@party_id,getcharid(1);
+ if (getpartyleader(.@party_id,2) == getcharid(0)) {
+ if (('ins_baphomet == 3) && (countitem(6001) < 11)) {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me.";
+ next;
+ mes "The grand appearance and heat of the fire makes me step back... But I pluck up my courage and reach out to pick up the torch.";
+ next;
+ specialeffect2 EF_HOLYHIT;
+ getitem 6001,1; //Essence_Of_Fire
+ mes "The symbol of inheritor shines. Then a small crystal falls into my hand from the torch.";
+ disablenpc instance_npcname("Bobbing Torch#11", instance_id());
+ close;
+ }
+ else if (('ins_baphomet == 3) && (countitem(6001) > 10)) {
+ mes "You have 10 Essence of Fire already, so you don't need to collect any more.";
+ close;
+ }
+ else {
+ mes "You don't need to collect Essence of Fire anymore.";
+ close;
+ }
+ }
+ else {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me..";
+ next;
+ mes "[Unknown Voice]";
+ mes "You are not a inheritor of faith. Do not desecrate the Essence of Fire with your disrespectful hands.";
+ specialeffect2 EF_FIRESPLASHHIT;
+ percentheal -50,0;
+ close;
+ }
+}
+
+1@cata,155,14,0 script Bobbing Torch#12 844,{
+ set .@party_id,getcharid(1);
+ if (getpartyleader(.@party_id,2) == getcharid(0)) {
+ if (('ins_baphomet == 3) && (countitem(6001) < 11)) {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me.";
+ next;
+ mes "Its grand appearance and heat of the fire makes me step back... But I pluck up my courage and reach out to pick up the torch.";
+ next;
+ specialeffect2 EF_HOLYHIT;
+ getitem 6001,1; //Essence_Of_Fire
+ mes "The symbol of inheritor shines. Then a small crystal falls into my hand from the torch.";
+ disablenpc instance_npcname("Bobbing Torch#12", instance_id());
+ close;
+ }
+ else if (('ins_baphomet == 3) && (countitem(6001) > 10)) {
+ mes "You have 10 Essence of Fire already, so you don't need to collect any more.";
+ close;
+ }
+ else {
+ mes "You don't need to collect Essence of Fire anymore.";
+ close;
+ }
+ }
+ else {
+ mes "A huge torch appearing as if it can burn everything is bobbing up and down in front of me..";
+ next;
+ mes "[Unknown Voice]";
+ mes "You are not a inheritor of faith. Do not desecrate the Essence of Fire with your disrespectful hands.";
+ specialeffect2 EF_FIRESPLASHHIT;
+ percentheal -50,0;
+ close;
+ }
+}
+
+1@cata,1,1,0 script ins_baphomet_1f_timer -1,{
+OnEnable:
+ enablenpc instance_npcname("ins_baphomet_1f_timer", instance_id());
+ initnpctimer;
+ end;
+
+OnDisable:;
+ disablenpc instance_npcname("ins_baphomet_1f_timer", instance_id());
+ stopnpctimer;
+ end;
+
+OnTimer1800000:
+ instance_announce 0, "Ancient Hero's Soul : We don't have enough time! Hurry up!",bc_map,"0xFFFF00";
+ end;
+
+OnTimer2400000:
+ instance_announce 0, "Ancient Hero's Soul : My body is disappearing... Hurry up!",bc_map,"0xFFFF00";
+ end;
+
+OnTimer3000000:
+ instance_announce 0, "Ancient Hero's Soul : Everything is over... There is no other way but to wait for the next chance...",bc_map,"0xFFFF00";
+ end;
+
+OnTimer3050000:
+ instance_announce 0, "Ancient Hero's Soul : We failed... However... We still have a chance. I hope you will train yourselves until the time comes.",bc_map,"0xFFFF00";
+ end;
+
+OnTimer3100000:
+ instance_announce 0, "You've failed to open the seal of main altar.",bc_map,"0xFFFF00";
+ end;
+
+OnTimer3500000:
+ instance_warpall "monk_test",310,150;
+ stopnpctimer;
+ end;
+}
+
+2@cata,80,144,0 script ins_2f_enter -1,3,3,{
+OnTouch:
+ donpcevent instance_npcname("ins_2f_enter_broad", instance_id())+"::OnEnable";
+ disablenpc instance_npcname("ins_2f_enter", instance_id());
+ end;
+}
+
+2@cata,1,1,0 script ins_2f_enter_broad -1,{
+OnEnable:
+ enablenpc instance_npcname("ins_2f_enter_broad", instance_id());
+ initnpctimer;
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("ins_2f_enter_broad", instance_id());
+ end;
+
+OnTimer10000:
+ instance_announce 0, "Baphomet : Humans... interfering again...",bc_map,"0xdb7093";
+ end;
+
+OnTimer13000:
+ instance_announce 0, "Apostle of Baphomet : Humans! Humans have invaded our sanctum!",bc_map,"0xFFFF00";
+ end;
+
+OnTimer16000:
+ instance_announce 0, "Apostle of Baphomet : Kill the humans! Do not stop the revival of our Master!",bc_map,"0xFFFF00";
+ end;
+
+OnTimer18000:
+ instance_announce 0, "Apostle of Baphomet : Hurry up and release the seals of the altars! Our Master's return is upon us!",bc_map,"0xFFFF00";
+ stopnpctimer;
+ disablenpc instance_npcname("ins_2f_enter_broad", instance_id());
+ end;
+}
+
+2@cata,50,67,0 script slave_left -1,5,5,{
+OnTouch:
+ disablenpc instance_npcname("slave_left", instance_id());
+ instance_announce 0, "Apostle of Baphomet : Kill the humans! Don't let them interrupt the revival of our Master!",bc_map,"0xFFFF00";
+ monster "2@cata",55,67,"Apostle of Baphomet",1869,1;
+ monster "2@cata",51,67,"Apostle of Baphomet",1291,1;
+ monster "2@cata",58,67,"Apostle of Baphomet",1292,1;
+ monster "2@cata",53,67,"Apostle of Baphomet",1291,1;
+ monster "2@cata",54,67,"Apostle of Baphomet",1869,1;
+ monster "2@cata",55,67,"Apostle of Baphomet",1291,1;
+ monster "2@cata",56,67,"Apostle of Baphomet",1117,1;
+ monster "2@cata",58,66,"Apostle of Baphomet",1869,1;
+ monster "2@cata",56,66,"Apostle of Baphomet",1117,1;
+ monster "2@cata",60,66,"Apostle of Baphomet",1132,1;
+ monster "2@cata",59,66,"Apostle of Baphomet",1117,1;
+ monster "2@cata",54,66,"Apostle of Baphomet",1132,1;
+ monster "2@cata",55,66,"Apostle of Baphomet",1292,1;
+ monster "2@cata",56,66,"Apostle of Baphomet",1132,1;
+ monster "2@cata",50,65,"Apostle of Baphomet",1867,1;
+ monster "2@cata",61,65,"Apostle of Baphomet",1292,1;
+ end;
+}
+
+2@cata,109,67,0 script slave_right -1,5,5,{
+OnTouch:
+ disablenpc instance_npcname("slave_right", instance_id());
+ instance_announce 0, "Apostle of Baphomet : Kill the humans! Don't let them interrupt the revival of our Master!",bc_map,"0xFFFF00";
+ monster "2@cata",105,67,"Apostle of Baphomet",1869,1;
+ monster "2@cata",104,67,"Apostle of Baphomet",1291,1;
+ monster "2@cata",107,67,"Apostle of Baphomet",1869,1;
+ monster "2@cata",106,67,"Apostle of Baphomet",1291,1;
+ monster "2@cata",102,67,"Apostle of Baphomet",1869,1;
+ monster "2@cata",103,67,"Apostle of Baphomet",1291,1;
+ monster "2@cata",103,67,"Apostle of Baphomet",1117,1;
+ monster "2@cata",109,66,"Apostle of Baphomet",1117,1;
+ monster "2@cata",108,66,"Apostle of Baphomet",1132,1;
+ monster "2@cata",101,66,"Apostle of Baphomet",1117,1;
+ monster "2@cata",106,66,"Apostle of Baphomet",1292,1;
+ monster "2@cata",102,66,"Apostle of Baphomet",1132,1;
+ monster "2@cata",104,66,"Apostle of Baphomet",1292,1;
+ monster "2@cata",103,66,"Apostle of Baphomet",1132,1;
+ monster "2@cata",109,65,"Apostle of Baphomet",1867,1;
+ monster "2@cata",108,65,"Apostle of Baphomet",1292,1;
+ end;
+}
+
+2@cata,79,39,0 script slave_down -1,5,5,{
+OnTouch:
+ disablenpc instance_npcname("slave_down", instance_id());
+ instance_announce 0, "Apostle of Baphomet : Kill the humans! Don't let them interrupt the revival of our Master!",bc_map,"0xFFFF00";
+ monster "2@cata",78,41,"Apostle of Baphomet",1869,1;
+ monster "2@cata",79,42,"Apostle of Baphomet",1291,1;
+ monster "2@cata",78,46,"Apostle of Baphomet",1869,1;
+ monster "2@cata",81,41,"Apostle of Baphomet",1291,1;
+ monster "2@cata",81,42,"Apostle of Baphomet",1869,1;
+ monster "2@cata",79,43,"Apostle of Baphomet",1291,1;
+ monster "2@cata",77,40,"Apostle of Baphomet",1117,1;
+ monster "2@cata",79,41,"Apostle of Baphomet",1132,1;
+ monster "2@cata",79,42,"Apostle of Baphomet",1117,1;
+ monster "2@cata",79,43,"Apostle of Baphomet",1132,1;
+ monster "2@cata",79,48,"Apostle of Baphomet",1117,1;
+ monster "2@cata",78,49,"Apostle of Baphomet",1132,1;
+ monster "2@cata",78,41,"Apostle of Baphomet",1292,1;
+ monster "2@cata",74,42,"Apostle of Baphomet",1292,1;
+ monster "2@cata",72,48,"Apostle of Baphomet",1867,1;
+ monster "2@cata",72,38,"Apostle of Baphomet",1292,1;
+ end;
+}
+
+2@cata,79,81,0 script Magical Seal#0 844,{
+ set .@seal_check,checkquest(3041,PLAYTIME);
+ if (.@seal_check == -1) {
+ specialeffect EF_LEXDIVINA;
+ disablenpc instance_npcname("Magical Seal#0", instance_id());
+ areamobuseskill "2@cata",79,81,10,1929,686,1,0,0,26,0;
+ percentheal -50,0;
+ sc_start Eff_Stone,20000,0;
+ setquest 3041;
+ instance_announce 0, "The seal activated by putting magical power into the altar.",bc_map,"0x87ceeb";
+ mes "I can feel the power of the altar came back by adding magical power.";
+ next;
+ mes "But you can't use your magic for 3 minutes because you used your SP on the altar.";
+ close;
+ }
+ else if (.@seal_check == 0 || .@seal_check == 1) {
+ specialeffect2 EF_SILENCEATTACK;
+ percentheal -50,0;
+ sc_start Eff_Stone,30000,0;
+ mes "Your SP has not recovered yet. You lost your SP on the altar, but it seems the power of the seal has returned.";
+ close;
+ }
+ else if (.@seal_check == 2) {
+ erasequest 3041;
+ specialeffect EF_LEXDIVINA;
+ disablenpc instance_npcname("Magical Seal#0", instance_id());
+ areamobuseskill "2@cata",79,81,10,1929,686,1,0,0,26,0;
+ percentheal -50,0;
+ sc_start Eff_Stone,20000,0;
+ setquest 3041;
+ instance_announce 0, "The seal activated by putting magical power into the altar.",bc_map,"0x87ceeb";
+ mes "I can feel the power of the altar came back by adding magical power.";
+ next;
+ mes "But you can't use your magic for 3 minutes because you used your SP on the altar.";
+ close;
+ }
+ end;
+}
+
+2@cata,123,109,0 script Magical Seal#2 844,{
+ set .@seal_check,checkquest(3041,PLAYTIME);
+ if (.@seal_check == -1) {
+ specialeffect EF_LEXDIVINA;
+ disablenpc instance_npcname("Magical Seal#2", instance_id());
+ areamobuseskill "2@cata",123,109,10,1929,686,1,0,0,26,0;
+ percentheal -50,0;
+ sc_start Eff_Stone,20000,0;
+ setquest 3041;
+ instance_announce 0, "The seal activated by putting magical power into the altar.",bc_map,"0x87ceeb";
+ mes "I can feel the power of the altar came back by adding magical power.";
+ next;
+ mes "But you can't use your magic for 3 minutes because you used your SP on the altar.";
+ close;
+ }
+ else if (.@seal_check == 0 || .@seal_check == 1) {
+ specialeffect2 EF_SILENCEATTACK;
+ percentheal -50,0;
+ sc_start Eff_Stone,30000,0;
+ mes "Your SP has not recovered yet. You lost your SP on the altar, but it seems the power of the seal has returned.";
+ close;
+ }
+ else if (.@seal_check == 2) {
+ erasequest 3041;
+ specialeffect EF_LEXDIVINA;
+ disablenpc instance_npcname("Magical Seal#2", instance_id());
+ areamobuseskill "2@cata",123,109,10,1929,686,1,0,0,26,0;
+ percentheal -50,0;
+ sc_start Eff_Stone,20000,0;
+ setquest 3041;
+ instance_announce 0, "The seal activated by putting magical power into the altar.",bc_map,"0x87ceeb";
+ mes "I can feel the power of the altar came back by adding magical power.";
+ next;
+ mes "But you can't use your magic for 3 minutes because you used your SP on the altar.";
+ close;
+ }
+ end;
+}
+
+2@cata,123,22,0 script Magical Seal#4 844,{
+ set .@seal_check,checkquest(3041,PLAYTIME);
+ if (.@seal_check == -1) {
+ specialeffect EF_LEXDIVINA;
+ disablenpc instance_npcname("Magical Seal#4", instance_id());
+ areamobuseskill "2@cata",123,22,10,1929,686,1,0,0,26,0;
+ percentheal -50,0;
+ sc_start Eff_Stone,20000,0;
+ setquest 3041;
+ instance_announce 0, "The seal activated by putting magical power into the altar.",bc_map,"0x87ceeb";
+ mes "I can feel the power of the altar came back by adding magical power.";
+ next;
+ mes "But you can't use your magic for 3 minutes because you used your SP on the altar.";
+ close;
+ }
+ else if (.@seal_check == 0 || .@seal_check == 1) {
+ specialeffect2 EF_SILENCEATTACK;
+ percentheal -50,0;
+ sc_start Eff_Stone,30000,0;
+ mes "Your SP has not recovered yet. You lost your SP on the altar, but it seems the power of the seal has returned.";
+ close;
+ }
+ else if (.@seal_check == 2) {
+ erasequest 3041;
+ specialeffect EF_LEXDIVINA;
+ disablenpc instance_npcname("Magical Seal#4", instance_id());
+ areamobuseskill "2@cata",123,22,10,1929,686,1,0,0,26,0;
+ percentheal -50,0;
+ sc_start Eff_Stone,20000,0;
+ setquest 3041;
+ instance_announce 0, "The seal activated by putting magical power into the altar.",bc_map,"0x87ceeb";
+ mes "I can feel the power of the altar came back by adding magical power.";
+ next;
+ mes "But you can't use your magic for 3 minutes because you used your SP on the altar.";
+ close;
+ }
+ end;
+}
+
+2@cata,35,21,0 script Magical Seal#8 844,{
+ set .@seal_check,checkquest(3041,PLAYTIME);
+ if (.@seal_check == -1) {
+ specialeffect EF_LEXDIVINA;
+ disablenpc instance_npcname("Magical Seal#8", instance_id());
+ areamobuseskill "2@cata",35,21,10,1929,686,1,0,0,26,0;
+ percentheal -50,0;
+ sc_start Eff_Stone,20000,0;
+ setquest 3041;
+ instance_announce 0, "The seal activated by putting magical power into the altar.",bc_map,"0x87ceeb";
+ mes "I can feel the power of the altar came back by adding magical power.";
+ next;
+ mes "But you can't use your magic for 3 minutes because you used your SP on the altar.";
+ close;
+ }
+ else if (.@seal_check == 0 || .@seal_check == 1) {
+ specialeffect2 EF_SILENCEATTACK;
+ percentheal -50,0;
+ sc_start Eff_Stone,30000,0;
+ mes "Your SP has not recovered yet. You lost your SP on the altar, but it seems the power of the seal has returned.";
+ close;
+ }
+ else if (.@seal_check == 2) {
+ erasequest 3041;
+ specialeffect EF_LEXDIVINA;
+ disablenpc instance_npcname("Magical Seal#8", instance_id());
+ areamobuseskill "2@cata",35,21,10,1929,686,1,0,0,26,0;
+ percentheal -50,0;
+ sc_start Eff_Stone,20000,0;
+ setquest 3041;
+ instance_announce 0, "The seal activated by putting magical power into the altar.",bc_map,"0x87ceeb";
+ mes "I can feel the power of the altar came back by adding magical power.";
+ next;
+ mes "But you can't use your magic for 3 minutes because you used your SP on the altar.";
+ close;
+ }
+ end;
+}
+
+2@cata,35,109,0 script Magical Seal#10 844,{
+ set .@seal_check,checkquest(3041,PLAYTIME);
+ if (.@seal_check == -1) {
+ specialeffect EF_LEXDIVINA;
+ disablenpc instance_npcname("Magical Seal#10", instance_id());
+ areamobuseskill "2@cata",35,109,10,1929,686,1,0,0,26,0;
+ percentheal -50,0;
+ sc_start Eff_Stone,20000,0;
+ setquest 3041;
+ instance_announce 0, "The seal activated by putting magical power into the altar.",bc_map,"0x87ceeb";
+ mes "I can feel the power of the altar came back by adding magical power.";
+ next;
+ mes "But you can't use your magic for 3 minutes because you used your SP on the altar.";
+ close;
+ }
+ else if (.@seal_check == 0 || .@seal_check == 1) {
+ specialeffect2 EF_SILENCEATTACK;
+ percentheal -50,0;
+ sc_start Eff_Stone,30000,0;
+ mes "Your SP has not recovered yet. You lost your SP on the altar, but it seems the power of the seal has returned.";
+ close;
+ }
+ else if (.@seal_check == 2) {
+ erasequest 3041;
+ specialeffect EF_LEXDIVINA;
+ disablenpc instance_npcname("Magical Seal#10", instance_id());
+ areamobuseskill "2@cata",35,109,10,1929,686,1,0,0,26,0;
+ percentheal -50,0;
+ sc_start Eff_Stone,20000,0;
+ setquest 3041;
+ instance_announce 0, "The seal activated by putting magical power into the altar.",bc_map,"0x87ceeb";
+ mes "I can feel the power of the altar came back by adding magical power.";
+ next;
+ mes "But you can't use your magic for 3 minutes because you used your SP on the altar.";
+ close;
+ }
+ end;
+}
+
+2@cata,79,65,0 script The Main Altar#ss 844,{
+ set .@party_id,getcharid(1);
+ if (('ins_baphomet == 5) && (getpartyleader(.@party_id,2) == getcharid(0))) {
+ mes "An evil power, too terrible to describe, lies under the great altar radiating a violet color.";
+ next;
+ mes "Complicated Magical Rune letters blink rapidly, attempting to suppress the dreadful power within.";
+ next;
+ mes "The bottom of the Main Altar trembles furiously.";
+ next;
+ specialeffect EF_METEORSTORM;
+ specialeffect EF_METEORSTORM;
+ mes "[" + strcharinfo(0) + "]";
+ mes "Watch out! Something... Something is comming.";
+ set 'ins_baphomet,6;
+ donpcevent instance_npcname("ins_2f_hero_broad", instance_id())+"::OnEnable";
+ disablenpc instance_npcname("The Main Altar#ss", instance_id());
+ close;
+ }
+ else if (('ins_baphomet == 5) && (getpartyleader(.@party_id,2) != getcharid(0))) {
+ mes "An evil power, too terrible to describe, lies under the great altar radiating a violet color.";
+ next;
+ mes "Complicated Magical Rune letters blink rapidly, attempting to suppress the dreadful power within.";
+ close;
+ }
+ else {
+ mes "An evil power, too terrible to describe, lies under the great altar radiating a violet color.";
+ next;
+ mes "Complicated Magical Rune letters blink rapidly, attempting to suppress the dreadful power within.";
+ close;
+ }
+ end;
+}
+
+2@cata,80,63,4 script Ancient Hero's Soul#2F 411,{
+ cutin "ins_cata_champ_s",2;
+ if (checkquest(3041)>=0) erasequest 3041;
+ if (checkquest(3040)>=0) erasequest 3040;
+ setquest 3040;
+ mes "[Ancient Hero's Soul]";
+ mes "Good job, my descendants... You've finished the long-cherished task that me and my bretheren could not complete.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "I really appreciate your help.";
+ mes "Our souls can finally rest in peace...";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "The struggle for peace on this world will never end. But... my role here is finally over because there are brave heroes like you.";
+ next;
+ switch(select("Let me leave the shrine.:Stop talking.")) {
+ case 1:
+ mes "[Ancient Hero's Soul]";
+ mes "Okay. I'll let you and your group leave here safely.";
+ next;
+ mes "[Ancient Hero's Soul]";
+ mes "If you leave, please say hello to Patrick for me.";
+ cutin "",255;
+ set 'ins_baphomet,0;
+ warp "monk_test",310,150;
+ close;
+ case 2:
+ mes "[Ancient Hero's Soul]";
+ mes "Do you still have something to do here? If you're done I'll let you leave safely...";
+ cutin "",255;
+ close;
+ }
+}
+
+2@cata,1,2,0 script ins_2f_hero_broad -1,{
+OnEnable:
+ enablenpc instance_npcname("ins_2f_hero_broad", instance_id());
+ initnpctimer;
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("ins_2f_hero_broad", instance_id());
+ end;
+
+OnTimer3000:
+ instance_announce 0, "Ancient Hero's Soul : My God! The seal of the Main Altar is weakening!",bc_map,"0xFFFF00";
+ end;
+
+OnTimer6000:
+ instance_announce 0, "Ancient Hero's Soul : My descendants... Listen carefully to what I'm going to say.",bc_map,"0xFFFF00";
+ end;
+
+OnTimer9000:
+ instance_announce 0, "Ancient Hero's Soul : The altars that control the Main Altar's power are located in the Northeast, Southeast, Southwest and Northwest corners of this room.",bc_map,"0xFFFF00";
+ end;
+
+OnTimer12000:
+ instance_announce 0, "Ancient Hero's Soul : Find these altars and activate their seals before Baphomet revives.",bc_map,"0xFFFF00";
+ end;
+
+OnTimer15000:
+ instance_announce 0, "Baphomet : It's too late, weaklings... Now, you'll feel the despair of death!",bc_map,"0xdb7093";
+ end;
+
+OnTimer17000:
+ instance_announce 0, "Baphomet : No one can harm me here. You will be my first sacrifice.",bc_map,"0xdb7093";
+ donpcevent instance_npcname("control_baphomet", instance_id())+"::OnEnable";
+ donpcevent instance_npcname("ins_2f_hero_broad2", instance_id())+"::OnEnable";
+ stopnpctimer;
+ disablenpc instance_npcname("ins_2f_hero_broad", instance_id());
+ end;
+}
+
+2@cata,3,3,0 script control_baphomet -1,{
+OnEnable:
+ enablenpc instance_npcname("control_baphomet", instance_id());
+ donpcevent instance_npcname("2f_callmon_pattern_c", instance_id())+"::OnEnable";
+ monster "2@cata",79,64,"Baphomet#",1929,1,instance_npcname("control_baphomet", instance_id())+"::OnMyMobDead";
+ end;
+
+OnDisable:
+ disablenpc "control_baphomet";
+ end;
+
+OnMyMobDead:
+ if (mobcount("2@cata",instance_npcname("control_baphomet", instance_id())+"::OnMyMobDead") < 1) {
+ set 'ins_baphomet,7;
+ setquest 3040;
+ erasequest 3041;
+ instance_announce 0, "Baphomet : No! Nonono! How dare these weaklings defeat me!... No!!...",bc_map,"0xdb7093";
+ enablenpc instance_npcname("Ancient Hero's Soul#2F", instance_id());
+ disablenpc instance_npcname("slave_down", instance_id());
+ disablenpc instance_npcname("slave_left", instance_id());
+ disablenpc instance_npcname("slave_right", instance_id());
+ donpcevent instance_npcname("ins_2f_hero_broad", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("ins_2f_hero_broad2", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("ins_2f_hero_pattern_c", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("2f_callmon_pattern_c", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("2f_callmon_pattern", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("ins_2f_hero_pattern", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("ins_2f_enter_broad", instance_id())+"::OnDisable";
+ donpcevent instance_npcname("control_baphomet", instance_id())+"::OnDisable";
+ disablenpc instance_npcname("control_baphomet", instance_id());
+ }
+ end;
+}
+
+2@cata,2,2,0 script ins_2f_hero_broad2 -1,{
+OnEnable:
+ enablenpc instance_npcname("ins_2f_hero_broad2", instance_id());
+ initnpctimer;
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("ins_2f_hero_broad2", instance_id());
+ end;
+
+OnTimer8000:
+ instance_announce 0, "Ancient Hero's Soul : Don't be discouraged, Baphomet can still be defeated!",bc_map,"0xFFFF00";
+ end;
+
+OnTimer11000:
+ instance_announce 0, "Ancient Hero's Soul : Go to the altars and activate their seals.",bc_map,"0xFFFF00";
+ end;
+
+OnTimer13000:
+ instance_announce 0, "Ancient Hero's Soul : Once the seals recover their power, Baphomet will be vulnerable.",bc_map,"0xFFFF00";
+ end;
+
+OnTimer16000:
+ instance_announce 0, "Ancient Hero's Soul : You should lure Baphomet to the unsealed Altars. Otherwise, your efforts will be futile.",bc_map,"0xFFFF00";
+ end;
+
+OnTimer19000:
+ instance_announce 0, "Ancient Hero's Soul : We have only 1 hour to stop Baphomet. If time runs out, the power of the seals will be useless.",bc_map,"0xFFFF00";
+ end;
+
+OnTimer22000:
+ instance_announce 0, "Baphomet : It's useless. Make more seals. I'll crush them all. None of you will survive!",bc_map,"0xdb7093";
+ end;
+
+OnTimer26000:
+ instance_announce 0, "Ancient Hero's Soul : The magical power of the central seal is running out. Go to the central seal and put the magical power.",bc_map,"0xFFFF00";
+ enablenpc instance_npcname("Magical Seal#0", instance_id());
+ disablenpc instance_npcname("Magical Seal#2", instance_id());
+ disablenpc instance_npcname("Magical Seal#4", instance_id());
+ disablenpc instance_npcname("Magical Seal#8", instance_id());
+ disablenpc instance_npcname("Magical Seal#10", instance_id());
+ donpcevent instance_npcname("ins_2f_hero_pattern_c", instance_id())+"::OnEnable";
+ stopnpctimer;
+ disablenpc instance_npcname("ins_2f_hero_broad2", instance_id());
+ end;
+}
+
+2@cata,4,1,0 script 2f_callmon_pattern_c -1,{
+OnEnable:
+ enablenpc instance_npcname("2f_callmon_pattern_c", instance_id());
+ initnpctimer;
+ donpcevent instance_npcname("2f_callmon_pattern_c", instance_id())+"::Ongo";
+ end;
+
+OnDisable:
+ stopnpctimer;
+ disablenpc instance_npcname("2f_callmon_pattern_c", instance_id());
+ end;
+
+Ongo:
+ donpcevent instance_npcname("2f_callmon_pattern", instance_id())+"::OnEnable";
+ end;
+
+OnTimer3600000:
+ donpcevent instance_npcname("2f_callmon_pattern_c", instance_id())+"::OnDisable";
+ end;
+}
+
+2@cata,4,2,0 script 2f_callmon_pattern -1,{
+OnEnable:
+ enablenpc instance_npcname("2f_callmon_pattern", instance_id());
+ stopnpctimer;
+ initnpctimer;
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("2f_callmon_pattern", instance_id());
+ stopnpctimer;
+ end;
+
+OnTimer300000:
+ enablenpc instance_npcname("slave_down", instance_id());
+ enablenpc instance_npcname("slave_left", instance_id());
+ enablenpc instance_npcname("slave_right", instance_id());
+ donpcevent instance_npcname("2f_callmon_pattern_c", instance_id())+"::Ongo";
+ end;
+}
+
+2@cata,3,1,0 script ins_2f_hero_pattern_c -1,{
+OnEnable:
+ enablenpc instance_npcname("ins_2f_hero_pattern_c", instance_id());
+ initnpctimer;
+ donpcevent instance_npcname("ins_2f_hero_pattern_c", instance_id())+"::Ongo";
+ end;
+
+Ongo:
+ donpcevent instance_npcname("ins_2f_hero_pattern", instance_id())+"::OnEnable";
+ end;
+
+OnDisable:
+ stopnpctimer;
+ disablenpc instance_npcname("Magical Seal#0", instance_id());
+ disablenpc instance_npcname("Magical Seal#2", instance_id());
+ disablenpc instance_npcname("Magical Seal#4", instance_id());
+ disablenpc instance_npcname("Magical Seal#8", instance_id());
+ disablenpc instance_npcname("Magical Seal#10", instance_id());
+ donpcevent instance_npcname("ins_2f_hero_pattern", instance_id())+"::OnDisable";
+ disablenpc instance_npcname("ins_2f_hero_pattern_c", instance_id());
+ end;
+
+OnTimer3600000:
+ instance_announce 0, "Baphomet : krrrr... Now you can't stop me with the seals. All you can do is wait for death!",bc_map,"0xdb7093";
+ end;
+
+OnTimer3605000:
+ instance_announce 0, "Ancient Hero's Soul : We can't stop Baphomet with the magical power of the seals anymore. Now everything depends on God...",bc_map,"0xFFFF00";
+ donpcevent instance_npcname("ins_2f_hero_pattern_c", instance_id())+"::OnDisable";
+ end;
+}
+
+2@cata,3,2,0 script ins_2f_hero_pattern -1,{
+OnEnable:
+ enablenpc instance_npcname("ins_2f_hero_pattern", instance_id());
+ initnpctimer;
+ end;
+
+OnDisable:
+ disablenpc instance_npcname("ins_2f_hero_pattern", instance_id());
+ stopnpctimer;
+ end;
+
+OnTimer70000:
+ switch(rand(1,5)) {
+ case 1:
+ instance_announce 0, "Ancient Hero's Soul : The seal of the Main Altar is running out. Strengthen the Main Altar's seal!",bc_map,"0xFFFF00";
+ enablenpc instance_npcname("Magical Seal#0", instance_id());
+ disablenpc instance_npcname("Magical Seal#2", instance_id());
+ disablenpc instance_npcname("Magical Seal#4", instance_id());
+ disablenpc instance_npcname("Magical Seal#8", instance_id());
+ disablenpc instance_npcname("Magical Seal#10", instance_id());
+ break;
+ case 2:
+ instance_announce 0, "Ancient Hero's Soul : The magical power of the seal at 2 o'clock is running out. Go to 2 o'clock and put the magical power in the seal.",bc_map,"0xFFFF00";
+ disablenpc instance_npcname("Magical Seal#0", instance_id());
+ enablenpc instance_npcname("Magical Seal#2", instance_id());
+ disablenpc instance_npcname("Magical Seal#4", instance_id());
+ disablenpc instance_npcname("Magical Seal#8", instance_id());
+ disablenpc instance_npcname("Magical Seal#10", instance_id());
+ break;
+ case 3:
+ instance_announce 0, "Ancient Hero's Soul : The magical power of the seal at 4 o'clock is running out. Go to 4 o'clock and put the magical power in the seal.",bc_map,"0xFFFF00";
+ disablenpc instance_npcname("Magical Seal#0", instance_id());
+ disablenpc instance_npcname("Magical Seal#2", instance_id());
+ enablenpc instance_npcname("Magical Seal#4", instance_id());
+ disablenpc instance_npcname("Magical Seal#8", instance_id());
+ disablenpc instance_npcname("Magical Seal#10", instance_id());
+ break;
+ case 4:
+ instance_announce 0, "Ancient Hero's Soul : The magical power of the seal at 8 o'clock is running out. Go to 8 o'clock and put the magical power in the seal.",bc_map,"0xFFFF00";
+ disablenpc instance_npcname("Magical Seal#0", instance_id());
+ disablenpc instance_npcname("Magical Seal#2", instance_id());
+ disablenpc instance_npcname("Magical Seal#4", instance_id());
+ enablenpc instance_npcname("Magical Seal#8", instance_id());
+ disablenpc instance_npcname("Magical Seal#10", instance_id());
+ break;
+ case 5:
+ instance_announce 0, "Ancient Hero's Soul : The magical power of the seal at 10 o'clock is running out. Go to 10 o'clock and put the magical power in the seal.",bc_map,"0xFFFF00";
+ disablenpc instance_npcname("Magical Seal#0", instance_id());
+ disablenpc instance_npcname("Magical Seal#2", instance_id());
+ disablenpc instance_npcname("Magical Seal#4", instance_id());
+ disablenpc instance_npcname("Magical Seal#8", instance_id());
+ enablenpc instance_npcname("Magical Seal#10", instance_id());
+ }
+ stopnpctimer;
+ donpcevent instance_npcname("ins_2f_hero_pattern_c", instance_id())+"::Ongo";
+ end;
+}
+
+
+1@cata,1,1,0 script ins_1f_spawn_mobs -1,{
+OnEnable:
+ monster "1@cata",0,0,"Zombie Master",1298,10;
+ monster "1@cata",0,0,"Wraith Dead",1291,10;
+ //monster "1@cata",0,0,"Ancient Mimic",1699,10;
+ monster "1@cata",0,0,"Flame Skull",1869,10;
+ monster "1@cata",0,0,"Skeleton General",1290,10;
+ monster "1@cata",0,0,"Zombie Master",1298,10;
+ monster "1@cata",0,0,"Skeleton General",1290,10;
+ monster "1@cata",0,0,"Flame Skull",1869,10;
+ monster "1@cata",0,0,"Wraith Dead",1291,10;
+ monster "1@cata",0,0,"Wraith Dead",1291,10;
+ monster "1@cata",0,0,"Khalitzburg",1132,10;
+ monster "1@cata",0,0,"Khalitzburg",1132,10;
+ monster "1@cata",0,0,"Flame Skull",1869,10;
+ monster "1@cata",0,0,"Flame Skull",1869,10;
+ monster "1@cata",0,0,"Ancient Mimic",1699,10;
+ monster "1@cata",0,0,"Zombie Master",1298,10;
+ monster "1@cata",0,0,"Ancient Mimic",1699,10;
+ monster "1@cata",0,0,"Zombie Master",1298,10;
+ monster "1@cata",0,0,"Wraith Dead",1291,10;
+ monster "1@cata",0,0,"Skeleton General",1290,10;
+ monster "1@cata",0,0,"Skeleton General",1290,10;
+ monster "1@cata",0,0,"Wind Ghost",1263,10;
+ monster "1@cata",0,0,"Wind Ghost",1263,10;
+ monster "1@cata",0,0,"Wind Ghost",1263,10;
+ monster "1@cata",0,0,"Lude",1509,10;
+ monster "1@cata",0,0,"Lude",1509,10;
+ monster "1@cata",0,0,"Evil Druid",1117,10;
+ monster "1@cata",0,0,"Evil Druid",1117,10;
+ monster "1@cata",0,0,"Evil Druid",1117,10;
+ monster "1@cata",0,0,"Banshee",1867,10;
+ monster "1@cata",0,0,"Dark Illusion",1302,1;
+ end;
+}