function script F_HeroicTrophy_Item { setarray .@CashPetScroll[1], 522, 1, 0, 21, // Mastela Fruit 547, 1, 0, 21, // Condensed White Potion 608, 1, 0, 21, // Yggdrasil Seed 607, 1, 0, 21, // Yggdrasil Fruit 678, 1, 0, 21, // Poison Bottle 547, 10, 0, 12, // Condensed White Potion 12075, 1, 0, 12, // Steamed Tongue 12080, 1, 0, 12, // Dragon Breath Cocktail 12085, 1, 0, 12, // Immortal Stew 12090, 1, 0, 12, // Steamed Desert Scorpions 12095, 1, 0, 12, // Hwergelmir's Tonic 12100, 1, 0, 12, // Cooked Nine Tail //12530, 1, 0, 3, // Mastela Fruit Box //12534, 1, 0, 3, // Yggdrasil Seed Box 14232, 1, 0, 3, // Yggdrasil Berry Box 12679, 1, 0, 3, // WoE White Potion Box 12676, 1, 0, 3, // WoE Violet Potion Box //12623, 1, 0, 3, // High Weapon Box 15093, 1, 0, 1, // Heroic Plate 15094, 1, 0, 1, // Heroic Magic Coat 15095, 1, 0, 1, // Heroic Judgement Shawl 15096, 1, 0, 1, // Heroic Trade-Mail 15097, 1, 0, 1, // Heroic Hidden Cloth 15098, 1, 0, 1, // Heroic Target Suit 22035, 1, 0, 1, // Heoric Nepenthes Shoes 22036, 1, 0, 1, // Heroic Silver Fox Leather Boots 22037, 1, 0, 1, // Heroic Ungoliant Upgrade Boots 0; for ( set .@r,0; .@r < getarraysize(.@CashPetScroll); set .@r,.@r+4) { set .@ps_rate,.@ps_rate+.@CashPetScroll[.@r]; } // Case No Info. if(.@ps_rate == 0) { getitem 909,1; return; } set .@i,rand(1,.@ps_rate); for (set .@ps_id,1; .@ps_id < getarraysize(.@CashPetScroll); set .@ps_id,.@ps_id+4) { set .@rt,.@rt+.@CashPetScroll[.@ps_id+3]; if(.@rt >= .@i) break; } if(.@CashPetScroll[.@ps_id] == -1) { dispbottom "Nothing found in Sealed Mind Box..."; } else{ if((getiteminfo(.@CashPetScroll[.@ps_id],2) == IT_WEAPON) || (getiteminfo(.@CashPetScroll[.@ps_id],2) == IT_ARMOR)) getitem2 .@CashPetScroll[.@ps_id],.@CashPetScroll[.@ps_id+1],0,0,0,0,0,0,0; else getitem .@CashPetScroll[.@ps_id],.@CashPetScroll[.@ps_id+1]; } return; } moro_cav,61,69,3 script Senior Tracker#mors 730,{ 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$,"Mors Cave"; getpartymember(.@party_id),2; set .@partymembercount,$@partymembercount; copyarray .@partymemberaid[0],$@partymemberaid[0],.@partymembercount; for(set .@i,0; .@i < .@partymembercount; set .@i,.@i+1){ if(isloggedin(.@partymemberaid[.@i])){ set .@loggedin,.@loggedin+1; } } set .@mcave_time,checkquest(9319,PLAYTIME); //23 Hours if(BaseLevel < 160) { mes "[Senior Tracker]"; mes "This is our advance base to stop Morroc."; mes "I'm a tracker charged with leading my army to Morroc's lair."; close; } if((checkquest(9318) == 0) || (checkquest(9318) == 1)) { mes "[Senior Tracker]"; mes "Finally you're back!"; mes "What happened in there?"; next; mes "- You relay your experience in the Red Flower. -"; next; if(checkquest(9318,HUNTING) == 2) { mes "[Senior Tracker]"; mes "So Morroc got away, but you killed his Necromancer."; mes "That's one good news anyway."; next; mes "[Senior Tracker]"; mes "We're nowhere near close to stopping Morroc's resurrection."; mes "I can't sleep at night, knowing Morroc is doing everything he can to recover his strength."; mes "Could you come back tomorrow?"; if(ins_morscave == 0) set ins_morscave,1; getitem 6684,1; // 勇者之证 erasequest 9318; setquest 9319; close; } else { mes "[Senior Tracker]"; mes "So Morroc got away."; mes "That's a shame."; next; mes "[Senior Tracker]"; mes "At least we know where he is."; mes "Could you come back tomorrow and help me track him down gain?"; mes "I'll be waiting here."; erasequest 9318; setquest 9319; close; } } if((checkquest(9319,PLAYTIME) == 0) || (checkquest(9319,PLAYTIME) == 1)) { mes "[Senior Tracker]"; mes "We're nowhere near close to stopping Morroc's resurrection."; mes "I can't sleep at night, knowing Morroc is doing everything he can to recover his strength."; mes "Could you come back tomorrow?"; close; } if(ins_morscave == 0) { mes "[Senior Tracker]"; mes "This is our advance base to stop Morroc."; mes "I'm a tracker charged with leading my army to Morroc's lair."; next; mes "[Senior Tracker]"; mes "After a painstaking search, I've located the place with the highest chance of hiding Morroc inside."; next; mes "[Senior Tracker]"; mes "According to my intel, Morroc is hiding out in this place, trying to recover his full strength."; next; mes "[Senior Tracker]"; mes "Even though I've located this place myself, I have to admit that I'm not equipped to explore it by myself."; mes "I'm a tracker after all, not a fighter."; next; mes "[Senior Tracker]"; mes "You look like a warrior spoiling for a good fight with Morroc, and I think you have a chance at winning it."; next; mes "[Senior Tracker]"; mes "How'd you like to enter Morroc's lair, defeat him, and become the hero who saved the world from evil?"; } else {/*todo*/ mes "[Senior Tracker]"; mes "I know you would be back."; } next; mes "[Senior Tracker]"; mes "Morroc may not have recovered his full strength,, but fighting him still takes more than a few warriors, no matter how strong they are."; mes "I recommend you join forces with as many comrades as you can find."; mes "Are you ready to enter the Red Flower where Morroc is believed to hiding?"; next; switch(select("Generate Memorial Dungeon.:Cancel")) { case 1: callfunc "F_MtimeChek"; if((.@party_id == 0) || (getcharid(0) != .@ins_mas)) { mes "You need to be a party leader in order to continue."; close; } if(has_instance("1@rev") != "") { mes "The entrance to the Red Flower has opened."; mes "It will only stay open for a while."; mes "You'd better use it while you can."; close; } set .@instance, instance_create(.@md_name$, .@party_id); if(.@instance < 0) { mes "Failed to book Memorial Dungeon, '^0000ff"+.@md_name$+"^000000'."; close; } else { if( instance_attachmap("1@rev", .@instance) == "" ) { mes "^0000ff"+.@md_name$+"^000000 - Reservation Failed!"; instance_destroy(.@instance); close; } instance_attach(.@instance); instance_set_timeout 3600,300,.@instance; instance_init(.@instance); debugmes strcharinfo(0)+" made an Mors Cave"; // Zone 1 donpcevent instance_npcname("#RZEvent_1", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("Reaper Ankou#mors", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#RZWarp_11", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#RZWarp_12", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#RZWarp_13", instance_id())+"::OnInstanceInit"; // Zone 2 donpcevent instance_npcname("#RZEvent_3", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("Weakened Morroc#mors", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#RZWarp_21", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#RZWarp_22", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#RZWarp_23", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#RZWarp_24", instance_id())+"::OnInstanceInit"; // Zone 3 donpcevent instance_npcname("#Battle_1RZ1", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#SoulEffect", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#Battle_1RZ1", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#Battle_1RZ1_Timer", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#RZWarp_31", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#RZWarp_32", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#RZWarp_33", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#RZWarp_34", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("Reaper Ankou#RZEvent_3", instance_id())+"::OnInstanceInit"; // Zone 4 donpcevent instance_npcname("#Battle_2RZ1", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#SoulEffect2", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#Battle_2RZ1_Timer", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#RZWarp_41", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#RZWarp_42", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#RZWarp_43", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#RZWarp_44", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("Reaper Ankou#RZEvent_4", instance_id())+"::OnInstanceInit"; // Final Zone donpcevent instance_npcname("#Battle_3RZ1", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("Morroc's Necromancer#RZ2", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#mors_finalmob", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#mors_finalmobctrl", instance_id())+"::OnInstanceInit"; // Exit donpcevent instance_npcname("Reaper Ankou#RZEvent_5", instance_id())+"::OnInstanceInit"; donpcevent instance_npcname("#exitmors", instance_id())+"::OnInstanceInit"; mes "The entrance to the Red Flower has opened."; mes "It will only stay open for a while."; mes "You'd better use it while you can."; close; } case 2: mes "[Senior Tracker]"; mes "Come back if you change your mind."; close; } } moro_cav,57,69,3 script Red Flower#mors 111,{ 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$,"Mors Cave"; set .@mcave_time,checkquest(9319,PLAYTIME); //23 Hours getpartymember(.@party_id),2; set .@partymembercount,$@partymembercount; copyarray .@partymemberaid[0],$@partymemberaid[0],.@partymembercount; for(set .@i,0; .@i < .@partymembercount; set .@i,.@i+1){ if(isloggedin(.@partymemberaid[.@i])){ set .@loggedin,.@loggedin+1; } } if(BaseLevel < 160) { mes "[Senior Tracker]"; mes "This is our advance base to stop Morroc."; mes "I'm a tracker charged with leading my army to Morroc's lair."; close; } if(((checkquest(9318) == 0) || (checkquest(9318) == 1)) || (checkquest(9319,PLAYTIME) == 0) || (checkquest(9319,PLAYTIME) == 1)) { mes "- The Red Flower is closed. You cannot enter it yet. -"; close; } if(checkquest(9319,PLAYTIME) == 2) erasequest 9319; if(.@party_id == 0) set .@menu$,"Do not enter the Crack.:Enter the Time Crack."; else set .@menu$,"Do not enter the Red Flower.:Enter the Red Flower."; if(select(.@menu$) == 1) { mes "- You can sense some sinister energy. -"; close; } if(has_instance("1@rev") == "") { mes "The Memorial Dungeon Mors Cave does not exist."; mes "Your party leader has not yet create the Memorial Dungeon."; close; } if(.@party_id == 0) { mes "Only party members can enter this Memorial Dungeon."; close; } mapannounce "moro_cav", .@p_reader$ + " member of the party, " + .@p_name$ + " is entering " + .@md_name$ + ".",bc_map,"0x00ff99"; setquest 9318; warp "1@rev",26,181; close; OnInit: initnpctimer; end; OnTimer5000: OnTimer10000: specialeffect EF_BOTTOM_VO; end; OnTimer11000: stopnpctimer; initnpctimer; end; } // Memorial Start //============================================================ 1@rev,27,181,0 script #RZMemorialStart 139,5,5,{ end; OnTouch_: if('ins_mors == 0) { set 'ins_mors,1; set 'ins_mors_gid,getcharid(3); initnpctimer; } end; OnTimer1000: instance_announce 0, "Morroc: Who dares to disrupt my sleep?!",bc_map,"0x00ebff"; unittalk 'ins_mors_gid,"We came to the right place!"; end; OnTimer4000: donpcevent instance_npcname("#RZEvent_1", instance_id())+"::OnEnable"; unittalk 'ins_mors_gid,"Wait! There's something ahead of us!"; end; OnTimer7000: unittalk 'ins_mors_gid,"Are these hideous monsters Morroc's lackeys?"; end; } // 1st Zone //============================================================ 1@rev,31,181,0 script #RZEvent_1 -1,{ end; OnInstanceInit: disablenpc instance_npcname("#RZEvent_1", instance_id()); end; OnEnable: enablenpc instance_npcname("#RZEvent_1", instance_id()); monster "1@rev",38,180,"Morroc's Ghoul",3001,1,instance_npcname("#RZEvent_1", instance_id())+"::OnMyMobDead"; monster "1@rev",38,181,"Morroc's Ghoul",3001,1,instance_npcname("#RZEvent_1", instance_id())+"::OnMyMobDead"; monster "1@rev",38,182,"Morroc's Ghoul",3001,1,instance_npcname("#RZEvent_1", instance_id())+"::OnMyMobDead"; monster "1@rev",38,183,"Morroc's Ghoul",3001,1,instance_npcname("#RZEvent_1", instance_id())+"::OnMyMobDead"; monster "1@rev",54,180,"Morroc's Ghoul",3001,1,instance_npcname("#RZEvent_1", instance_id())+"::OnMyMobDead"; monster "1@rev",54,181,"Morroc's Ghoul",3001,1,instance_npcname("#RZEvent_1", instance_id())+"::OnMyMobDead"; monster "1@rev",54,182,"Morroc's Ghoul",3001,1,instance_npcname("#RZEvent_1", instance_id())+"::OnMyMobDead"; monster "1@rev",54,183,"Morroc's Ghoul",3001,1,instance_npcname("#RZEvent_1", instance_id())+"::OnMyMobDead"; monster "1@rev",70,180,"Morroc's Ghoul",3001,1,instance_npcname("#RZEvent_1", instance_id())+"::OnMyMobDead"; monster "1@rev",70,181,"Morroc's Ghoul",3001,1,instance_npcname("#RZEvent_1", instance_id())+"::OnMyMobDead"; monster "1@rev",70,182,"Morroc's Ghoul",3001,1,instance_npcname("#RZEvent_1", instance_id())+"::OnMyMobDead"; monster "1@rev",70,183,"Morroc's Ghoul",3001,1,instance_npcname("#RZEvent_1", instance_id())+"::OnMyMobDead"; end; OnDisable: killmonster "1@rev", instance_npcname("#RZEvent_1", instance_id())+"::OnMyMobDead"; disablenpc instance_npcname("#RZEvent_1", instance_id()); end; OnMyMobDead: set .@mob_num,mobcount("1@rev",instance_npcname("#RZEvent_1", instance_id())+"::OnMyMobDead"); if(.@mob_num < 1) { donpcevent instance_npcname("Reaper Ankou#mors", instance_id())+"::OnEnable"; donpcevent instance_npcname("#RZEvent_3", instance_id())+"::OnEnable"; disablenpc instance_npcname("#RZEvent_1", instance_id()); } end; } 1@rev,64,181,4 script Reaper Ankou#mors 10028,{ end; OnInstanceInit: donpcevent instance_npcname("Reaper Ankou#mors", instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname("Reaper Ankou#mors", instance_id()); hideoffnpc instance_npcname("Reaper Ankou#mors", instance_id()); initnpctimer; end; OnDisable: hideonnpc instance_npcname("Reaper Ankou#mors", instance_id()); disablenpc instance_npcname("Reaper Ankou#mors", instance_id()); end; OnTimer3000: npctalk "*Chuckle* We meet again!"; end; OnTimer6000: npctalk "This world resides in his mind."; end; OnTimer9000: npctalk "You can't do anything against his will. *Chuckle*"; end; OnTimer12000: npctalk "Lord Morroc is expecting you. Let me take you to him. *Chuckle*"; end; OnTimer15000: hideonnpc instance_npcname("Reaper Ankou#mors", instance_id()); end; OnTimer18000: donpcevent instance_npcname("Weakened Morroc#mors", instance_id())+"::OnEnable"; donpcevent instance_npcname("#RZWarp_11", instance_id())+"::OnEnable"; donpcevent instance_npcname("#RZWarp_12", instance_id())+"::OnEnable"; donpcevent instance_npcname("#RZWarp_13", instance_id())+"::OnEnable"; end; OnTimer20000: stopnpctimer; donpcevent instance_npcname("Reaper Ankou#mors", instance_id())+"::OnDisable"; end; } 1@rev,63,181,0 script #RZWarp_11 139,8,8,{ end; OnInstanceInit: donpcevent instance_npcname(strnpcinfo(0), instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname(strnpcinfo(0), instance_id()); hideoffnpc instance_npcname(strnpcinfo(0), instance_id()); end; OnDisable: hideonnpc instance_npcname(strnpcinfo(0), instance_id()); disablenpc instance_npcname(strnpcinfo(0), instance_id()); end; OnTouch: warp "1@rev",103,177; end; } 1@rev,47,181,0 duplicate(#RZWarp_11) #RZWarp_12 139,8,8 1@rev,31,181,2 duplicate(#RZWarp_11) #RZWarp_13 139,8,8 // 2nd Zone //============================================================ 1@rev,104,176,0 script #RZEvent_3 139,5,5,{ end; OnInstanceInit: donpcevent instance_npcname("#RZEvent_3", instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname("#RZEvent_3", instance_id()); end; OnDisable: disablenpc instance_npcname("#RZEvent_3", instance_id()); end; OnTouch_: if('ins_mors == 1) { set 'ins_mors,2; set 'ins_mors_gid,getcharid(3); pcblockmove 'ins_mors_gid,1; initnpctimer; } end; OnTimer1000: unittalk 'ins_mors_gid,"Finally, here we are, Morroc."; end; OnTimer4000: unittalk 'ins_mors_gid,"It's been almost too easy to find you."; end; OnTimer7000: unittalk 'ins_mors_gid,"But it doesn't matter. you'll die today!"; end; OnTimer8000: pcblockmove 'ins_mors_gid,0; end; OnTimer10000: donpcevent instance_npcname("Weakened Morroc#mors", instance_id())+"::OnChat1"; end; OnTimer13000: donpcevent instance_npcname("Weakened Morroc#mors", instance_id())+"::OnChat2"; end; OnTimer16000: donpcevent instance_npcname("Weakened Morroc#mors", instance_id())+"::OnChat3"; end; OnTimer19000: donpcevent instance_npcname("Weakened Morroc#mors", instance_id())+"::OnChat4"; end; OnTimer22000: donpcevent instance_npcname("Weakened Morroc#mors", instance_id())+"::OnChat5"; end; OnTimer25000: donpcevent instance_npcname("Weakened Morroc#mors", instance_id())+"::OnChat6"; end; OnTimer27000: donpcevent instance_npcname("Weakened Morroc#mors", instance_id())+"::OnSummon"; end; OnTimer30000: stopnpctimer; disablenpc instance_npcname("#RZEvent_3", instance_id()); end; } 1@rev,111,178,4 script Weakened Morroc#mors 1916,{ end; OnInstanceInit: donpcevent instance_npcname("Weakened Morroc#mors", instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname("Weakened Morroc#mors", instance_id()); hideoffnpc instance_npcname("Weakened Morroc#mors", instance_id()); end; OnDisable: hideonnpc instance_npcname("Weakened Morroc#mors", instance_id()); disablenpc instance_npcname("Weakened Morroc#mors", instance_id()); end; OnHideOn: hideonnpc instance_npcname("Weakened Morroc#mors", instance_id()); end; OnHideOff: hideoffnpc instance_npcname("Weakened Morroc#mors", instance_id()); end; OnSummon: donpcevent instance_npcname("Weakened Morroc#mors", instance_id())+"::OnHideOn"; monster "1@rev",111,177,"Weakened Morroc",2998,1,instance_npcname("Weakened Morroc#mors", instance_id())+"::OnMyMobDead"; end; OnMyMobDead: donpcevent instance_npcname("Weakened Morroc#mors", instance_id())+"::OnHideOff"; donpcevent instance_npcname("#Battle_1RZ1", instance_id())+"::OnEnable"; initnpctimer; end; OnChat1: npctalk "I should punish you for disturbing my slumber."; end; OnChat2: npctalk "Do you really think you can stop me?"; end; OnChat3: npctalk "I'll make you regret ever coming here."; end; OnChat4: npctalk "I may have not recovered my full strength."; end; OnChat5: npctalk "But I still can take down a bunch of you easily."; end; OnChat6: npctalk "Death is your only escape!"; end; OnTimer1000: npctalk "I'm sorry, but I haven't recovered my full strength."; end; OnTimer4000: npctalk "I'll have to leave you to my soldiers for now."; end; OnTimer7000: npctalk "Do your worst to get out of my world!"; end; OnTimer10000: npctalk "In the end, you'll learn the meaning of helplessness in the most painful way!"; end; OnTimer13000: npctalk "And your souls will be mine! Mwah hah hah!"; end; OnTimer15000: donpcevent instance_npcname("Weakened Morroc#mors", instance_id())+"::OnHideOn"; end; OnTimer18000: donpcevent instance_npcname("#RZWarp_21", instance_id())+"::OnEnable"; donpcevent instance_npcname("#RZWarp_22", instance_id())+"::OnEnable"; donpcevent instance_npcname("#RZWarp_23", instance_id())+"::OnEnable"; donpcevent instance_npcname("#RZWarp_24", instance_id())+"::OnEnable"; end; OnTimer20000: stopnpctimer; donpcevent instance_npcname("Weakened Morroc#mors", instance_id())+"::OnDisable"; end; } 1@rev,106,183,0 script #RZWarp_21 139,5,5,{ end; OnInstanceInit: donpcevent instance_npcname(strnpcinfo(0), instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname(strnpcinfo(0), instance_id()); hideoffnpc instance_npcname(strnpcinfo(0), instance_id()); end; OnDisable: hideonnpc instance_npcname(strnpcinfo(0), instance_id()); disablenpc instance_npcname(strnpcinfo(0), instance_id()); end; OnTouch: warp "1@rev",33,117; end; } 1@rev,106,172,0 duplicate(#RZWarp_21) #RZWarp_22 139,5,5 1@rev,117,172,2 duplicate(#RZWarp_21) #RZWarp_23 139,5,5 1@rev,117,183,2 duplicate(#RZWarp_21) #RZWarp_24 139,5,5 // 3rd Zone //============================================================ 1@rev,35,119,0 script #Battle_1RZ1 139,4,4,{ end; OnInstanceInit: donpcevent instance_npcname("#Battle_1RZ1", instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname("#Battle_1RZ1", instance_id()); end; OnDisable: disablenpc instance_npcname("#Battle_1RZ1", instance_id()); end; OnTouch_: if('ins_mors == 2) { set 'ins_mors,3; set 'ins_mors_gname$,strcharinfo(0); initnpctimer; } end; OnTimer1000: donpcevent instance_npcname("#RZMemorialEffect1", instance_id())+"::OnEffect"; donpcevent instance_npcname("#SoulEffect", instance_id())+"::OnEnable"; instance_announce 0, "Morroc: How do you like to be separated from each other and have your bodies and minds bound?",bc_map,"0xF01838"; //FW_NORMAL 15 0 0 end; OnTimer4000: instance_announce 0, "Morroc: You're trespassing! Riff-raff like you have no business in here!",bc_map,"0xF01838"; //FW_NORMAL 15 0 0 end; OnTimer7000: instance_announce 0, "Morroc: Your bodies are mine to control!",bc_map,"0xF01838"; //FW_NORMAL 15 0 0 end; OnTimer10000: instance_announce 0, "Morroc: Your souls are food for my resurrection!",bc_map,"0xF01838"; //FW_NORMAL 15 0 0 end; OnTimer13000: donpcevent instance_npcname("#Battle_1RZ1_Timer", instance_id())+"::OnEnable"; end; OnTimer15000: stopnpctimer; donpcevent instance_npcname("#Battle_1RZ1", instance_id())+"::OnDisable"; end; } 1@rev,34,120,0 script #RZMemorialEffect1 139,{ end; OnDisable: disablenpc instance_npcname("#RZMemorialEffect1", instance_id()); end; OnEffect: specialeffect EF_STORMGUST,AREA; end; } 1@rev,34,120,0 script #SoulEffect 139,{ end; OnInstanceInit: donpcevent instance_npcname("#SoulEffect", instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname("#SoulEffect", instance_id()); monster "1@rev",34,120,'ins_mors_gname$+"'s Soul",3007,1,instance_npcname("#SoulEffect", instance_id())+"::OnMyMobDead"; hideoffnpc instance_npcname("#SoulEffect", instance_id()); end; OnDisable: hideonnpc instance_npcname("#SoulEffect", instance_id()); disablenpc instance_npcname("#SoulEffect", instance_id()); end; OnMyMobDead: monster "1@rev",34,120,'ins_mors_gname$+"'s Soul",3007,1,instance_npcname("#SoulEffect", instance_id())+"::OnMyMobDead"; end; } 1@rev,35,119,0 script #Battle_1RZ1_Timer -1,{ end; OnInstanceInit: donpcevent instance_npcname("#Battle_1RZ1_Timer", instance_id())+"::OnDisable"; end; OnEnable: set 'MyMobs1,42; enablenpc instance_npcname("#Battle_1RZ1_Timer", instance_id()); initnpctimer; end; OnDisable: disablenpc instance_npcname("#Battle_1RZ1_Timer", instance_id()); end; OnTimer100: instance_announce 0, "Morroc: My soldiers, tear their bodies asunder and bring their souls to me!",bc_map,"0xFFFF00"; callsub S_Summon; end; OnTimer30000: callsub S_Summon; end; OnTimer60000: instance_announce 0, "Morroc: My soldiers, make them suffer! Feast on their bodies and souls!",bc_map,"0xFFFF00"; callsub S_Summon; end; OnTimer90000: callsub S_Summon; end; OnTimer120000: instance_announce 0, "Morroc: Not enough. Make them feel terror!",bc_map,"0xFFFF00"; callsub S_Summon; end; OnTimer150000: callsub S_Summon; end; OnTimer180000: instance_announce 0, "Morroc: Resist me! Fight to the death!",bc_map,"0xFFFF00"; callsub S_Summon; end; OnTimer210000: callsub S_Summon; end; OnTimer240000: instance_announce 0, "Morroc: Mwa hah hah, I can feel my power returning!",bc_map,"0xFFFF00"; callsub S_Summon; monster "1@rev",30,112,"Morroc's Ghoul",3003,1,instance_npcname("#Battle_1RZ1_Timer", instance_id())+"::OnMyMobDead"; end; OnTimer270000: callsub S_Summon; monster "1@rev",30,127,"Morroc's Ghoul",3003,1,instance_npcname("#Battle_1RZ1_Timer", instance_id())+"::OnMyMobDead"; end; OnTimer300000: set .@mob_num,mobcount("1@rev",instance_npcname("#Battle_1RZ1_Timer", instance_id())+"::OnMyMobDead"); if(.@mob_num > 20) { stopnpctimer; donpcevent instance_npcname("Reaper Ankou#RZEvent_3", instance_id())+"::OnEnable"; donpcevent instance_npcname("#Battle_1RZ1_Timer", instance_id())+"::OnDisable"; } end; S_Summon: monster "1@rev",28,125,"Morroc's Ghoul",3001,1,instance_npcname("#Battle_1RZ1_Timer", instance_id())+"::OnMyMobDead"; monster "1@rev",28,114,"Morroc's Ghoul",3001,1,instance_npcname("#Battle_1RZ1_Timer", instance_id())+"::OnMyMobDead"; monster "1@rev",39,114,"Morroc's Ghoul",3001,1,instance_npcname("#Battle_1RZ1_Timer", instance_id())+"::OnMyMobDead"; monster "1@rev",39,125,"Morroc's Ghoul",3001,1,instance_npcname("#Battle_1RZ1_Timer", instance_id())+"::OnMyMobDead"; return; OnMyMobDead: set 'MyMobs1,'MyMobs1-1; if('MyMobs1 < 0) end; if('MyMobs1 == 0) { donpcevent instance_npcname("#Battle_2RZ1", instance_id())+"::OnEnable"; donpcevent instance_npcname("#RZWarp_31", instance_id())+"::OnEnable"; donpcevent instance_npcname("#RZWarp_32", instance_id())+"::OnEnable"; donpcevent instance_npcname("#RZWarp_33", instance_id())+"::OnEnable"; donpcevent instance_npcname("#RZWarp_34", instance_id())+"::OnEnable"; } end; } 1@rev,28,125,0 script #RZWarp_31 139,5,5,{ end; OnInstanceInit: donpcevent instance_npcname(strnpcinfo(0), instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname(strnpcinfo(0), instance_id()); hideoffnpc instance_npcname(strnpcinfo(0), instance_id()); end; OnDisable: hideonnpc instance_npcname(strnpcinfo(0), instance_id()); disablenpc instance_npcname(strnpcinfo(0), instance_id()); end; OnTouch: warp "1@rev",31,50; end; } 1@rev,28,114,0 duplicate(#RZWarp_31) #RZWarp_32 139,5,5 1@rev,39,114,2 duplicate(#RZWarp_31) #RZWarp_33 139,5,5 1@rev,39,125,2 duplicate(#RZWarp_31) #RZWarp_34 139,5,5 1@rev,34,126,4 script Reaper Ankou#RZEvent_3 3029,{ end; OnInstanceInit: donpcevent instance_npcname("Reaper Ankou#RZEvent_3", instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname("Reaper Ankou#RZEvent_3", instance_id()); hideoffnpc instance_npcname("Reaper Ankou#RZEvent_3", instance_id()); initnpctimer; end; OnDisable: hideonnpc instance_npcname("Reaper Ankou#RZEvent_3", instance_id()); disablenpc instance_npcname("Reaper Ankou#RZEvent_3", instance_id()); end; OnTimer1000: npctalk "You're pathetic."; end; OnTimer4000: npctalk "Weaklings like you aren't enough food for Lord Morroc..."; end; OnTimer7000: npctalk "To get the energy he needs for a full recovery."; end; OnTimer10000: npctalk "I'll give you one chance to leave. NOW!"; end; OnTimer13000: instance_warpall "SavePoint",0,0; end; OnTimer15000: stopnpctimer; donpcevent instance_npcname("Reaper Ankou#RZEvent_3", instance_id())+"::OnDisable"; end; } // 4th Zone //============================================================ 1@rev,34,47,0 script #Battle_2RZ1 139,5,5,{ end; OnInstanceInit: donpcevent instance_npcname("#Battle_2RZ1", instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname("#Battle_2RZ1", instance_id()); end; OnDisable: disablenpc instance_npcname("#Battle_2RZ1", instance_id()); end; OnTouch_: if('ins_mors == 3) { set 'ins_mors,4; initnpctimer; } end; OnTimer100: donpcevent instance_npcname("#RZMemorialEffect2", instance_id())+"::OnEffect"; donpcevent instance_npcname("#SoulEffect2", instance_id())+"::OnEnable"; instance_announce 0, "Morroc: How do you like to be separated from each other and have your bodies and minds bound?",bc_map,"0xF01838"; //FW_NORMAL 15 0 0 end; OnTimer4000: instance_announce 0, "Morroc: You're trespassing! Riff-raff like you have no business in here!",bc_map,"0xF01838"; //FW_NORMAL 15 0 0 end; OnTimer7000: instance_announce 0, "Morroc: Your bodies are mine to control!",bc_map,"0xF01838"; //FW_NORMAL 15 0 0 end; OnTimer10000: instance_announce 0, "Morroc: Your souls are food for my resurrection!",bc_map,"0xF01838"; //FW_NORMAL 15 0 0 end; OnTimer13000: donpcevent instance_npcname("#Battle_2RZ1_Timer", instance_id())+"::OnEnable"; end; OnTimer15000: stopnpctimer; donpcevent instance_npcname("#Battle_2RZ1", instance_id())+"::OnDisable"; end; } 1@rev,34,48,0 script #RZMemorialEffect2 139,{ end; OnDisable: disablenpc instance_npcname("#RZMemorialEffect2", instance_id()); end; OnEffect: specialeffect EF_STORMGUST,AREA; end; } 1@rev,34,49,0 script #SoulEffect2 139,{ end; OnInstanceInit: donpcevent instance_npcname("#SoulEffect2", instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname("#SoulEffect2", instance_id()); monster "1@rev",34,49,'ins_mors_gname$+"'s Soul",3007,1,instance_npcname("#SoulEffect2", instance_id())+"::OnMyMobDead"; hideoffnpc instance_npcname("#SoulEffect2", instance_id()); end; OnDisable: hideonnpc instance_npcname("#SoulEffect2", instance_id()); disablenpc instance_npcname("#SoulEffect2", instance_id()); end; OnMyMobDead: monster "1@rev",34,49,'ins_mors_gname$+"'s Soul",3007,1,instance_npcname("#SoulEffect2", instance_id())+"::OnMyMobDead"; end; } 1@rev,35,119,0 script #Battle_2RZ1_Timer -1,{ end; OnInstanceInit: donpcevent instance_npcname("#Battle_2RZ1_Timer", instance_id())+"::OnDisable"; end; OnEnable: set 'MyMobs2,42; enablenpc instance_npcname("#Battle_2RZ1_Timer", instance_id()); initnpctimer; end; OnDisable: disablenpc instance_npcname("#Battle_2RZ1_Timer", instance_id()); end; OnTimer100: instance_announce 0, "Morroc: Aren't you curious about what I'm doing at the moment?",bc_map,"0xFFFF00"; callsub S_Summon; end; OnTimer30000: callsub S_Summon; end; OnTimer60000: instance_announce 0, "Morroc: I am recuperating...",bc_map,"0xFFFF00"; callsub S_Summon; monster "1@rev",26,53,"Morroc Verit",3005,1,instance_npcname("#Battle_2RZ1_Timer", instance_id())+"::OnMyMobDead"; end; OnTimer90000: callsub S_Summon; monster "1@rev",40,41,"Morroc Verit",3005,1,instance_npcname("#Battle_2RZ1_Timer", instance_id())+"::OnMyMobDead"; end; OnTimer120000: instance_announce 0, "Morroc: It's funny to see how despicable you can get when you're pushed to a corner.",bc_map,"0xFFFF00"; callsub S_Summon; monster "1@rev",24,47,"Morroc Verit",3005,1,instance_npcname("#Battle_2RZ1_Timer", instance_id())+"::OnMyMobDead"; monster "1@rev",33,57,"Morroc Verit",3005,1,instance_npcname("#Battle_2RZ1_Timer", instance_id())+"::OnMyMobDead"; end; OnTimer150000: callsub S_Summon; monster "1@rev",24,47,"Morroc Verit",3005,1,instance_npcname("#Battle_2RZ1_Timer", instance_id())+"::OnMyMobDead"; monster "1@rev",33,57,"Morroc Verit",3005,1,instance_npcname("#Battle_2RZ1_Timer", instance_id())+"::OnMyMobDead"; end; OnTimer180000: set .@mob_num,mobcount("1@rev",instance_npcname("#Battle_2RZ1_Timer", instance_id())+"::OnMyMobDead"); if(.@mob_num > 20) { stopnpctimer; donpcevent instance_npcname("Reaper Ankou#RZEvent_4", instance_id())+"::OnEnable"; donpcevent instance_npcname("#Battle_2RZ1_Timer", instance_id())+"::OnDisable"; } end; S_Summon: monster "1@rev",24,47,"Morroc's Ghoul",3001,1,instance_npcname("#Battle_2RZ1_Timer", instance_id())+"::OnMyMobDead"; monster "1@rev",26,41,"Morroc's Ghoul",3001,1,instance_npcname("#Battle_2RZ1_Timer", instance_id())+"::OnMyMobDead"; monster "1@rev",40,41,"Morroc's Ghoul",3001,1,instance_npcname("#Battle_2RZ1_Timer", instance_id())+"::OnMyMobDead"; monster "1@rev",40,59,"Morroc's Ghoul",3001,1,instance_npcname("#Battle_2RZ1_Timer", instance_id())+"::OnMyMobDead"; monster "1@rev",41,53,"Morroc Archer Skeleton",3003,1,instance_npcname("#Battle_2RZ1_Timer", instance_id())+"::OnMyMobDead"; monster "1@rev",43,47,"Morroc Archer Skeleton",3003,1,instance_npcname("#Battle_2RZ1_Timer", instance_id())+"::OnMyMobDead"; return; OnMyMobDead: set 'MyMobs2,'MyMobs2-1; if('MyMobs2 < 0) end; if('MyMobs2 == 0) { instance_announce 0, "Morroc: Good....my powers are returning...!!",bc_map,"0xFFFF00"; donpcevent instance_npcname("#Battle_3RZ1", instance_id())+"::OnEnable"; donpcevent instance_npcname("#RZWarp_41", instance_id())+"::OnEnable"; donpcevent instance_npcname("#RZWarp_42", instance_id())+"::OnEnable"; donpcevent instance_npcname("#RZWarp_43", instance_id())+"::OnEnable"; donpcevent instance_npcname("#RZWarp_44", instance_id())+"::OnEnable"; } end; } 1@rev,28,53,0 script #RZWarp_41 139,5,5,{ end; OnInstanceInit: donpcevent instance_npcname(strnpcinfo(0), instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname(strnpcinfo(0), instance_id()); hideoffnpc instance_npcname(strnpcinfo(0), instance_id()); end; OnDisable: hideonnpc instance_npcname(strnpcinfo(0), instance_id()); disablenpc instance_npcname(strnpcinfo(0), instance_id()); end; OnTouch: warp "1@rev",104,48; end; } 1@rev,28,42,0 duplicate(#RZWarp_31) #RZWarp_42 139,5,5 1@rev,39,42,2 duplicate(#RZWarp_31) #RZWarp_43 139,5,5 1@rev,39,53,2 duplicate(#RZWarp_31) #RZWarp_44 139,5,5 1@rev,34,55,4 script Reaper Ankou#RZEvent_4 3029,{ end; OnInstanceInit: donpcevent instance_npcname("Reaper Ankou#RZEvent_4", instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname("Reaper Ankou#RZEvent_4", instance_id()); hideoffnpc instance_npcname("Reaper Ankou#RZEvent_4", instance_id()); initnpctimer; end; OnDisable: hideonnpc instance_npcname("Reaper Ankou#RZEvent_4", instance_id()); disablenpc instance_npcname("Reaper Ankou#RZEvent_4", instance_id()); end; OnTimer1000: npctalk "You're pathetic."; end; OnTimer4000: npctalk "Weaklings like you aren't enough food for Lord Morroc..."; end; OnTimer7000: npctalk "To get the energy he needs for a full recovery."; end; OnTimer10000: npctalk "I'll give you one chance to leave. NOW!"; end; OnTimer13000: instance_warpall "SavePoint",0,0; end; OnTimer15000: stopnpctimer; donpcevent instance_npcname("Reaper Ankou#RZEvent_4", instance_id())+"::OnDisable"; end; } // Final Zone //============================================================ 1@rev,112,47,0 script #Battle_3RZ1 139,9,9,{ end; OnInstanceInit: donpcevent instance_npcname("#Battle_3RZ1", instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname("#Battle_3RZ1", instance_id()); end; OnDisable: disablenpc instance_npcname("#Battle_3RZ1", instance_id()); end; OnTouch_: if('ins_mors == 4) { set 'ins_mors,5; initnpctimer; } end; OnTimer100: instance_announce 0, "Morroc: Our Necromancer! I'm going to recover my powers!",bc_map,"0xF01838"; //FW_NORMAL 15 0 0 end; OnTimer4000: instance_announce 0, "Morroc: Now you can play with our guesses!",bc_map,"0xF01838"; //FW_NORMAL 15 0 0 end; OnTimer7000: donpcevent instance_npcname("Morroc's Necromancer#RZ1", instance_id())+"::OnDisable"; donpcevent instance_npcname("Morroc's Necromancer#RZ2", instance_id())+"::OnEnable"; end; OnTimer7100: donpcevent instance_npcname("Morroc's Necromancer#RZ2", instance_id())+"::OnChat1"; end; OnTimer8000: donpcevent instance_npcname("Morroc's Necromancer#RZ2", instance_id())+"::OnChat2"; end; OnTimer10000: donpcevent instance_npcname("Morroc's Necromancer#RZ2", instance_id())+"::OnChat3"; end; OnTimer12000: donpcevent instance_npcname("Morroc's Necromancer#RZ2", instance_id())+"::OnChat4"; end; OnTimer14000: stopnpctimer; donpcevent instance_npcname("Morroc's Necromancer#RZ2", instance_id())+"::OnHideOn"; monster "1@rev",112,47,"Morroc's Necromancer",2999,1,instance_npcname("#Battle_3RZ1", instance_id())+"::OnMyMobDead"; end; OnMyMobDead: donpcevent instance_npcname("Morroc's Necromancer#RZ2", instance_id())+"::OnHideOff"; donpcevent instance_npcname("#Battle_4RZ1", instance_id())+"::OnEnable"; donpcevent instance_npcname("#Battle_3RZ1", instance_id())+"::OnDisable"; end; } 1@rev,112,47,0 script #Battle_4RZ1 -1,{ end; OnEnable: initnpctimer; end; OnTimer1000: donpcevent instance_npcname("Morroc's Necromancer#RZ2", instance_id())+"::OnChat5"; end; OnTimer3000: donpcevent instance_npcname("Morroc's Necromancer#RZ2", instance_id())+"::OnChat6"; end; OnTimer5000: stopnpctimer; donpcevent instance_npcname("Morroc's Necromancer#RZ2", instance_id())+"::OnHideOn"; monster "1@rev",112,47,"Morroc's Necromancer",3000,1,instance_npcname("#Battle_4RZ1", instance_id())+"::OnMyMobDead"; donpcevent instance_npcname("#mors_finalmob", instance_id())+"::OnEnable"; donpcevent instance_npcname("#mors_finalmobctrl", instance_id())+"::OnEnable"; end; OnMyMobDead: donpcevent instance_npcname("#mors_finalmobctrl", instance_id())+"::OnDisable"; donpcevent instance_npcname("#mors_finalmob", instance_id())+"::OnDisable"; donpcevent instance_npcname("Reaper Ankou#RZEvent_5", instance_id())+"::OnEnable"; donpcevent instance_npcname("#Battle_4RZ1", instance_id())+"::OnDisable"; end; } 1@rev,112,48,4 script Morroc's Necromancer#RZ1 3007,{ end; OnEnable: enablenpc instance_npcname("Morroc's Necromancer#RZ1", instance_id()); hideoffnpc instance_npcname("Morroc's Necromancer#RZ1", instance_id()); end; OnDisable: hideonnpc instance_npcname("Morroc's Necromancer#RZ1", instance_id()); disablenpc instance_npcname("Morroc's Necromancer#RZ1", instance_id()); end; } 1@rev,112,48,4 script Morroc's Necromancer#RZ2 10029,{ end; OnInstanceInit: donpcevent instance_npcname("Morroc's Necromancer#RZ2", instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname("Morroc's Necromancer#RZ2", instance_id()); hideoffnpc instance_npcname("Morroc's Necromancer#RZ2", instance_id()); end; OnDisable: hideonnpc instance_npcname("Morroc's Necromancer#RZ2", instance_id()); disablenpc instance_npcname("Morroc's Necromancer#RZ2", instance_id()); end; OnHideOn: hideonnpc instance_npcname("Morroc's Necromancer#RZ2", instance_id()); end; OnHideOff: hideoffnpc instance_npcname("Morroc's Necromancer#RZ2", instance_id()); end; OnChat1: npctalk "Yes sir!!"; end; OnChat2: npctalk "Haha...It seems you didn't realize that you were tricked!!"; end; OnChat3: npctalk "We were stalling you while Lord Morroc is healing himself!"; end; OnChat4: npctalk "Haha...You are extremely foolish! Thanks~! You will all meet your end here!!"; end; OnChat5: npctalk "I shall teach you true fear!!"; end; OnChat6: npctalk "Your life and death is all within my grasp...Hehehe..."; end; } 1@rev,0,0,0 script #mors_finalmobctrl -1,{ end; OnInstanceInit: donpcevent instance_npcname("#mors_finalmobctrl", instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname("#mors_finalmobctrl", instance_id()); initnpctimer; end; OnDisable: stopnpctimer; disablenpc instance_npcname("#mors_finalmobctrl", instance_id()); end; OnTimer20000: instance_announce 0, "Morroc Minions: Behold the terror of the Morroc Minions!!",bc_map,"0xFFFF00"; donpcevent instance_npcname("#mors_finalmob", instance_id())+"::OnRespawn1"; end; OnTimer40000: instance_announce 0, "Morroc Minions: We shall protect out Lord!!",bc_map,"0xFFFF00"; donpcevent instance_npcname("#mors_finalmob", instance_id())+"::OnRespawn2"; end; OnTimer60000: instance_announce 0, "Morroc Minions: Why are you so Stubborn?",bc_map,"0xFFFF00"; donpcevent instance_npcname("#mors_finalmob", instance_id())+"::OnRespawn3"; end; OnTimer80000: instance_announce 0, "Morroc Minions: ...Give up already!!",bc_map,"0xFFFF00"; donpcevent instance_npcname("#mors_finalmob", instance_id())+"::OnRespawn4"; end; OnTimer100000: instance_announce 0, "Morroc Minions: We shall protect out Lord!!",bc_map,"0xFFFF00"; donpcevent instance_npcname("#mors_finalmob", instance_id())+"::OnRespawn5"; stopnpctimer; initnpctimer; end; } 1@rev,0,0,0 script #mors_finalmob -1,{ end; OnInstanceInit: donpcevent instance_npcname("#mors_finalmob", instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname("#mors_finalmob", instance_id()); end; OnDisable: killmonster "1@rev",instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; disablenpc instance_npcname("#mors_finalmob", instance_id()); end; OnRespawn1: monster "1@rev",101,47,"Morroc's Ghoul",3001,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",112,38,"Morroc's Ghoul",3001,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",121,47,"Morroc's Ghoul",3001,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",118,42,"Morroc's Verit",3005,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",104,42,"Morroc's Wraith",3004,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",119,54,"Morroc's Wraith",3004,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; end; OnRespawn2: monster "1@rev",101,47,"Morroc's Ghoul",3001,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",112,38,"Morroc's Wraith",3004,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",121,47,"Morroc's Wraith",3004,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",118,42,"Morroc's Lude",3006,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",104,42,"Morroc's Lude",3006,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",119,54,"Morroc's Lude",3006,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; end; OnRespawn3: monster "1@rev",101,47,"Morroc's Wraith",3004,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",112,38,"Morroc's Archer Skeleton",3003,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",121,47,"Morroc's Archer Skeleton",3003,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",118,42,"Morroc's Verit",3005,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",104,42,"Morroc's Verit",3005,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; end; OnRespawn4: monster "1@rev",101,47,"Morroc's Ghoul",3001,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",112,38,"Morroc's Ghoul",3001,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",121,47,"Morroc's Osiris",3002,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",118,42,"Morroc's Archer Skeleton",3003,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",104,42,"Morroc's Wraith",3004,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",119,54,"Morroc's Wraith",3004,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; end; OnRespawn5: monster "1@rev",101,47,"Morroc's Wraith",3004,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",112,38,"Morroc's Wraith",3004,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",121,47,"Morroc's Osiris",3002,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",118,42,"Morroc's Osiris",3002,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",104,42,"Morroc's Archer Skeleton",3003,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; monster "1@rev",119,54,"Morroc's Archer Skeleton",3003,1,instance_npcname("#mors_finalmob", instance_id())+"::OnMyMobDead"; end; OnMyMobDead: end; } 1@rev,111,47,4 script Reaper Ankou#RZEvent_5 10028,{ end; OnInstanceInit: donpcevent instance_npcname("Reaper Ankou#RZEvent_5", instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname("Reaper Ankou#RZEvent_5", instance_id()); hideoffnpc instance_npcname("Reaper Ankou#RZEvent_5", instance_id()); initnpctimer; end; OnDisable: hideonnpc instance_npcname("Reaper Ankou#RZEvent_5", instance_id()); disablenpc instance_npcname("Reaper Ankou#RZEvent_5", instance_id()); end; OnHideOn: hideonnpc instance_npcname("Reaper Ankou#RZEvent_5", instance_id()); end; OnHideOff: hideoffnpc instance_npcname("Reaper Ankou#RZEvent_5", instance_id()); end; OnTimer2000: npctalk "...The illusionist shouldn't have been......"; end; OnTimer4000: npctalk "Don't be relieved just yet..."; end; OnTimer6000: npctalk "Our Lord Morroc has regained his strength, you have failed!!"; end; OnTimer8000: npctalk "Until next time~ Hehe..."; end; OnTimer11000: specialeffect 30; donpcevent instance_npcname("Reaper Ankou#RZEvent_5", instance_id())+"::OnHideOn"; end; OnTimer13000: specialeffect 90; donpcevent instance_npcname("#exitmors", instance_id())+"::OnEnable"; end; OnTimer16000: instance_announce 0, "Senior Tracker: Great work! I have some rewards for you when you get out of here.",bc_map,"0xF1F533"; stopnpctimer; donpcevent instance_npcname("Reaper Ankou#RZEvent_5", instance_id())+"::OnDisable"; end; } 1@rev,112,56,0 script #exitmors 10007,{ if(checkquest(9318,HUNTING) == 2) { mes "^ff0000You will be rewarded with a Proof of the Heroic if you leave.^000000"; } mes "What will you do?"; next; if(select("Stay:Leave") == 1) { mes "You decided to stay on for a bit."; close; } mes "You decided to leave."; close2; //set morscavecomplete,1; warp "moro_cav",59,63; end; OnInstanceInit: donpcevent instance_npcname("#exitmors", instance_id())+"::OnDisable"; end; OnEnable: enablenpc instance_npcname("#exitmors", instance_id()); hideoffnpc instance_npcname("#exitmors", instance_id()); initnpctimer; end; OnDisable: hideonnpc instance_npcname("#exitmors", instance_id()); disablenpc instance_npcname("#exitmors", instance_id()); end; }