EndlessTower.txt 163 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124
  1. //===== eAthena Script =======================================
  2. //= Endless Tower
  3. //===== By: ==================================================
  4. //= L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.6
  7. //===== Compatible With: =====================================
  8. //= eAthena SVN
  9. //===== Description: =========================================
  10. //= [Aegis Conversion]
  11. //= Endless Tower Memorial Dungeon
  12. //= Consists of 101 floors.
  13. //===== Additional Comments: =================================
  14. //= 1.0 First version.
  15. //= 1.1 Removed a disablenpc from #102FShadowDust1. (bugreport:4415)
  16. //= 1.2 Added ends to several NPCs which would allow you to restart timers.
  17. //= Added some missing stopnpctimers to npcs. (bugreport:4418)
  18. //= 1.3 Fixed a couple copy/paste errors :D I fail. [L0ne_W0lf]
  19. // Timer no longer resets when re-entering.
  20. //= 1.4 Added quest log entries based on iRO. [L0ne_W0lf]
  21. //= You may need to update your questid2display.
  22. //= Changed White lady spawn to MVP White Lady. (bugreport:4601)
  23. //= 1.5 Corrected some grammar and typos.
  24. //= 1.6 Corrected the tower re-entry blocked condition. (bugreport:4677) [L0ne_W0lf]
  25. //= Corrected floor 75 warp disabling the wrong NPC. (bugreport:4711)
  26. //============================================================
  27. alberta,214,77,6 script Captain Janssen 709,{
  28. if (checkweight(1201,1) == 0) {
  29. mes "^008800Wait here!!";
  30. mes "You're carrying too much stuff. Why don't you put some of it away, and then come back.^000000";
  31. close;
  32. }
  33. set .@name_102$,strcharinfo(0);
  34. if (BaseLevel < 50) {
  35. mes "[Captain Janssen]";
  36. mes "Sigh... I don't know if I can ever go back to sailing the sea...";
  37. close;
  38. }
  39. if (in_102tower == 1) {
  40. 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";
  41. next;
  42. mes "^0000ffThe old man, after finishing his orders, walks towards you.^000000";
  43. next;
  44. mes "[Captain Janssen]";
  45. 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?";
  46. next;
  47. mes "["+.@name_102$+"]";
  48. mes "I've sailed a few times... But now that I think about it, I've never gone across the continent.";
  49. next;
  50. mes "[Captain Janssen]";
  51. 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.";
  52. next;
  53. mes "[Captain Janssen]";
  54. 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.";
  55. next;
  56. 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";
  57. next;
  58. 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";
  59. set in_102tower,2;
  60. close;
  61. }
  62. else if (in_102tower == 2) {
  63. mes "[Captain Janssen]";
  64. 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.";
  65. next;
  66. mes "[Captain Janssen]";
  67. mes "My crew was starving, and a few of them walked into the tower in order to find food... They never came back.";
  68. next;
  69. mes "["+.@name_102$+"]";
  70. mes "Why didn't you go in there with them?";
  71. next;
  72. mes "[Captain Janssen]";
  73. 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.";
  74. next;
  75. mes "[Captain Janssen]";
  76. 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...";
  77. next;
  78. 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";
  79. next;
  80. mes "[Captain Janssen]";
  81. 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.";
  82. next;
  83. mes "[Captain Janssen]";
  84. 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.";
  85. next;
  86. mes "["+.@name_102$+"]";
  87. mes "How about hiring me as your first mate?";
  88. next;
  89. mes "[Captain Janssen]";
  90. 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.";
  91. next;
  92. mes "["+.@name_102$+"]";
  93. mes "No...";
  94. mes ".";
  95. mes ".";
  96. mes "As an adventurer, there's my obligation to those in need. I'm also very curious about that place...";
  97. next;
  98. mes "[Captain Janssen]";
  99. 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.";
  100. next;
  101. mes "[Captain Janssen]";
  102. mes "...Okay then...";
  103. mes "Welcome aboard, first mate.";
  104. set in_102tower,3;
  105. close;
  106. }
  107. else if (in_102tower == 3) {
  108. mes "[Captain Janssen]";
  109. mes "Shall we leave now?";
  110. next;
  111. switch(select("Yes, let's go!:No, I'm not quite ready...")) {
  112. case 1:
  113. mes "[Captain Janssen]";
  114. mes "Then pull up the anchor, first mate!";
  115. close2;
  116. set in_102tower,4;
  117. warp "e_tower",70,114;
  118. end;
  119. case 2:
  120. mes "[Captain Janssen]";
  121. mes "Sure, no problem. Come back when you're ready.";
  122. close;
  123. }
  124. }
  125. else if (in_102tower > 3) {
  126. mes "[Captain Janssen]";
  127. 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.";
  128. next;
  129. switch(select("I'll come back later.:Let's go, now!")) {
  130. case 1:
  131. mes "["+.@name_102$+"]";
  132. mes "I'm sorry, but I don't have that much money. I'll come back when I save enough.";
  133. next;
  134. mes "[Captain Janssen]";
  135. mes "Sure, no problem. I'll be waiting for your return.";
  136. close;
  137. case 2:
  138. if (zeny < 10000) {
  139. mes "[Captain Janssen]";
  140. mes "I'm sorry, but you don't have enough money. I need at least 10,000 Zeny to restock our supplies...";
  141. close;
  142. }
  143. else {
  144. mes "[Captain Janssen]";
  145. mes "Excellent! Now we're good to go. Let's pull up the anchor again!";
  146. set zeny,zeny-10000;
  147. close2;
  148. warp "e_tower",70,114;
  149. end;
  150. }
  151. }
  152. }
  153. else {
  154. mes "[Captain Janssen]";
  155. mes "Excuse me, are you an adventurer?";
  156. next;
  157. mes "[Captain Janssen]";
  158. 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.";
  159. next;
  160. mes "[Captain Janssen]";
  161. mes "Can you donate ^0000ff10,000 Zeny^000000 to me? It's for a cause that's important to me...";
  162. next;
  163. switch(select("No!:Sure thing.")) {
  164. case 1:
  165. mes "["+.@name_102$+"]";
  166. mes "I'm sorry, but you've got the wrong person to ask that.";
  167. next;
  168. mes "[Captain Janssen]";
  169. mes "I see... Sorry to bother you. I understand it was too rude to ask something like that to begin with.";
  170. close;
  171. case 2:
  172. mes "[Captain Janssen]";
  173. mes "Huh? Are you sure that you don't mind giving me that much money? Wow, thank you so much!";
  174. next;
  175. if (zeny < 10000) {
  176. mes "[Captain Janssen]";
  177. 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.";
  178. close;
  179. }
  180. else {
  181. mes "["+.@name_102$+"]";
  182. mes "I don't know why you'd need so much money, but here. You can take it.";
  183. next;
  184. mes "^0000ffYou have donated 10,000 Zeny to Captain Janssen^000000.";
  185. next;
  186. mes "[Captain Janssen]";
  187. mes "Thank you so much! Now I can stock up on food and materials for my ship. You're kind, very kind!";
  188. set zeny,zeny-10000;
  189. set in_102tower,1;
  190. close;
  191. }
  192. }
  193. }
  194. }
  195. e_tower,81,105,0 script Tower Protection Stone 406,{
  196. set .@party_id,getcharid(1);
  197. set .@ins_mas,getpartyleader(.@party_id,2);
  198. set .@p_name$,getpartyname(.@party_id);
  199. set .@p_reader$,strcharinfo(0);
  200. set .@md_name$,"Endless Tower";
  201. set .@p_name2$,strcharinfo(0);
  202. getpartymember(.@party_id);
  203. set .@partymembercount,$@partymembercount;
  204. copyarray .@partymembername$[0],$@partymembername$[0],.@partymembercount;
  205. set .@etower_timer,checkquest(60200,PLAYTIME); // 1 week
  206. set .@etower_timer2,checkquest(60201,PLAYTIME); // 4 hours
  207. set .@dun_lim_time,etower_timer+604800; // 1 week
  208. set .@dun_lim_time2,etower_timer+14400; // 4 hours
  209. set .@dun_cur_time,gettimetick(2);
  210. set .@dun_ent_t,(.@dun_lim_time - .@dun_cur_time);
  211. set .@dun_h,(.@dun_ent_t / 3600);
  212. set .@dun_m,(.@dun_ent_t - (.@dun_h * 3600)) / 60;
  213. set .@dun_s,.@dun_ent_t - ((.@dun_h * 3600) + (.@dun_m * 60));
  214. if ((.@party_id > 0) && (.@partymembercount > 1)) {
  215. if (.@etower_timer == -1) {
  216. if (.@ins_mas == getcharid(0)) {
  217. mes "Confirmed the party has been made. Would you like to reserve entrance to the Endless Tower?";
  218. next;
  219. switch(select(.@md_name$ + " Dungeon Generated:Enter the dungeon:Return to Alberta:Cancel")) {
  220. case 1:
  221. set .@instance, instance_create(.@md_name$, .@party_id);
  222. if (.@instance < 0) {
  223. mes "Party Name:"+.@p_name$+"";
  224. mes "Party Leader:"+.@p_reader$+"";
  225. mes "^0000ff"+.@md_name$+" ^000000- Reservation Failed!";
  226. }
  227. else {
  228. mes "^0000ff"+.@md_name$+"^000000 - Try to reserve";
  229. mes "After making a reservation, you have to talk to NPC behind and select the menu 'Enter the Dungeon' to enter the dungeon.";
  230. for( set .@i, 1; .@i <= 6; set .@i, .@i + 1 ) {
  231. if( instance_attachmap(.@i + "@tower", .@instance) == "" )
  232. break;
  233. }
  234. if( .@i < 6 ) {
  235. mes "^0000ff"+.@md_name$+" ^000000- Reservation Failed!";
  236. instance_destroy(.@instance);
  237. close;
  238. }
  239. instance_attach(.@instance);
  240. instance_set_timeout 14400,300,.@instance;
  241. instance_init(.@instance);
  242. // Spawn the first floor of each map, which will then spawn the rest when cleared.
  243. donpcevent instance_npcname("#1F Controller", instance_id())+"::OnInstanceInit";
  244. donpcevent instance_npcname("Immortal Furnace#1", instance_id())+"::OnInstanceInit";
  245. donpcevent instance_npcname("Immortal Furnace#2", instance_id())+"::OnInstanceInit";
  246. donpcevent instance_npcname("Immortal Furnace#3", instance_id())+"::OnInstanceInit";
  247. // Disable the warps on all floor. (enable as floors are cleared)
  248. for( set .@i, 1; .@i <= 99; set .@i, .@i + 1 )
  249. donpcevent instance_npcname(.@i+"FGate102tower", instance_id())+"::OnInstanceInit";
  250. // Warps activate on timer, so players can't get unlimited Ashes.
  251. donpcevent instance_npcname("25FGate102tower-2", instance_id())+"::OnInstanceInit";
  252. donpcevent instance_npcname("50FGate102tower-2", instance_id())+"::OnInstanceInit";
  253. donpcevent instance_npcname("75FGate102tower-2", instance_id())+"::OnInstanceInit";
  254. donpcevent instance_npcname("99FGate102tower-2", instance_id())+"::OnInstanceInit";
  255. // Disable and ready NPCs for the 100th and 101st floors.
  256. donpcevent instance_npcname("Lucid Crystal#102", instance_id())+"::OnInstanceInit";
  257. donpcevent instance_npcname("#102Effect1", instance_id())+"::OnInstanceInit";
  258. donpcevent instance_npcname("#102Effect2", instance_id())+"::OnInstanceInit";
  259. donpcevent instance_npcname("#102FShadowDust1", instance_id())+"::OnInstanceInit";
  260. donpcevent instance_npcname("#102FShadowDust", instance_id())+"::OnInstanceInit";
  261. donpcevent instance_npcname("Spring of Life#1", instance_id())+"::OnInstanceInit";
  262. donpcevent instance_npcname("Tyrant's Throne#", instance_id())+"::OnInstanceInit";
  263. donpcevent instance_npcname("Lost Soul#102", instance_id())+"::OnInstanceInit";
  264. donpcevent instance_npcname("#Effect30", instance_id())+"::OnInstanceInit";
  265. donpcevent instance_npcname("#Effect31", instance_id())+"::OnInstanceInit";
  266. }
  267. break;
  268. case 2:
  269. if (has_instance("1@tower") == "") {
  270. mes "The memorial dungeon " + .@md_name$ + " does not exist.";
  271. mes "The party leader did not generate the dungeon yet.";
  272. }
  273. else if ((has_instance("1@tower") != "") && (.@partymembercount < 2))
  274. mes "You can enter the dungeon after making a party.";
  275. else {
  276. mapannounce "e_tower", .@p_name2$ + " of the party, " + .@p_name$ + ", is entering the dungeon, " + .@md_name$ + ".",bc_map,"0x00ff99",FW_NORMAL,12;
  277. set etower_timer,gettimetick(2);
  278. setquest 60200;
  279. setquest 60201;
  280. warp "1@tower",52,354;
  281. end;
  282. }
  283. break;
  284. case 3:
  285. mes "I will move you to Alberta.";
  286. close2;
  287. warp "alberta",223,36;
  288. end;
  289. case 4:
  290. break;
  291. }
  292. close;
  293. }
  294. else {
  295. switch(select(.@md_name$ + "Enter the dungeon:Return to Alberta:Cancel")) {
  296. case 1:
  297. if (has_instance("1@tower") == "") {
  298. mes "The memorial dungeon " + .@md_name$ + " does not exist.";
  299. mes "The party leader did not generate the dungeon yet.";
  300. }
  301. else if ((has_instance("1@tower") != "") && (.@partymembercount < 2))
  302. mes "You can enter the dungeon after making a party.";
  303. else {
  304. mapannounce "e_tower", .@p_name2$ + " of the party, " + .@p_name$ + ", is entering the dungeon, " + .@md_name$ + ".",bc_map,"0x00ff99",FW_NORMAL,12;
  305. set etower_timer,gettimetick(2);
  306. setquest 60200;
  307. setquest 60201;
  308. warp "1@tower",52,354;
  309. end;
  310. }
  311. break;
  312. case 2:
  313. mes "I will move you to Alberta.";
  314. close2;
  315. warp "alberta",223,36;
  316. end;
  317. case 3:
  318. break;
  319. }
  320. close;
  321. }
  322. }
  323. else if ((.@etower_timer >= 0) && (.@etower_timer2 < 2)) {
  324. mes "If you have the dungeon generated already, you can enter it. ";
  325. next;
  326. switch(select(.@md_name$ + "Enter the dungeon:Return to Alberta:Cancel")) {
  327. case 1:
  328. if (has_instance("1@tower") == "") {
  329. mes "The memorial dungeon " + .@md_name$ + " does not exist.";
  330. mes "The party leader did not generate the dungeon yet.";
  331. }
  332. else if ((has_instance("1@tower") != "") && (.@partymembercount < 2))
  333. mes "You can enter the dungeon after making a party.";
  334. else {
  335. mapannounce "e_tower", .@p_name2$ + " of the party, " + .@p_name$ + ", is entering the dungeon, " + .@md_name$ + ".",bc_map,"0x00ff99",FW_NORMAL,12;
  336. warp "1@tower",52,354;
  337. end;
  338. }
  339. break;
  340. case 2:
  341. mes "I will move you to Alberta.";
  342. close2;
  343. warp "alberta",223,36;
  344. end;
  345. case 3:
  346. break;
  347. }
  348. close;
  349. }
  350. else if ((.@etower_timer >= 0) && (.@etower_timer < 2) && (.@etower_timer2 == 2)) {
  351. 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.";
  352. next;
  353. mes "It is dangerous here. Let me move you to Alberta.";
  354. close2;
  355. warp "alberta",223,36;
  356. end;
  357. }
  358. else {
  359. set etower_timer,0;
  360. erasequest 60200;
  361. erasequest 60201;
  362. mes "^0000ffThe records and after effects related to the Endless Tower have been removed. You can generate and enter the Endless Tower again.^000000";
  363. close;
  364. }
  365. }
  366. else {
  367. mes "Make or join a party with more than 1 member and try again.";
  368. close;
  369. }
  370. }
  371. e_tower,30,30,2 script Huge Vortex 844,2,2,{
  372. OnTouch:
  373. mapannounce "e_tower","[ " + strcharinfo(0) + " ], seems to be engulfed by a huge vortex",bc_map,"0x00ff99",FW_NORMAL,12;
  374. warp "alberta",223,36;
  375. end;
  376. }
  377. /*
  378. e_tower,1,1,2 script #102Administrator Mode104 844,{
  379. mes "Please enter the password";
  380. input .@inputstr$;
  381. next;
  382. if (.@inputstr$ == "dmc2008") {
  383. switch(select("Generate Purification Stone:Remove Purification Stone:Cancel")) {
  384. case 1:
  385. mes "Create the Purification Stone that stays for 30 minutes.";
  386. donpcevent "Purification Stone#et1::Enable";
  387. break;
  388. case 2:
  389. mes "Destroy the Purification Stone immediately";
  390. donpcevent "Purification Stone#et1::OnDisable";
  391. break;
  392. case 3:
  393. mes "You have canceled it.";
  394. break;
  395. }
  396. close;
  397. }
  398. else {
  399. mes "Enter the password exactly.";
  400. close;
  401. }
  402. }
  403. e_tower,69,117,4 script Purification Stone#et1 406,{
  404. set etower_timer,0;
  405. mes "^0000ffThe records and aftereffects related to the Endless Tower have been removed. You can generate and enter the Endless Tower again.^000000";
  406. close;
  407. OnInit:
  408. disablenpc "Purification Stone#et1";
  409. end;
  410. OnEnable:
  411. initnpctimer;
  412. end;
  413. OnDisable:
  414. stopnpctimer;
  415. disablenpc "Purification Stone#et1";
  416. end;
  417. OnTimer1000:
  418. enablenpc "Purification Stone#et1";
  419. end;
  420. OnTimer1740000:
  421. mapannounce "e_tower", "The Purification Stone will be destroyed in one minute.",bc_map,"0x00ff99";
  422. end;
  423. OnTimer1800000:
  424. disablenpc "Purification Stone#et1";
  425. end;
  426. }
  427. e_tower,151,185,4 script Purification Stone#et2 844,{
  428. set etower_timer,0;
  429. mes "^0000ffThe records and aftereffects related to the Endless Tower have been removed. You can generate and enter the Endless Tower again.^000000";
  430. close;
  431. warp "e_tower",75,108;
  432. end;
  433. }
  434. */
  435. // Floors 1-25
  436. 1@tower,50,360,0 script Immortal Brazier# 844,{
  437. mes "- A Message is Engraved on the Brazier -";
  438. 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...";
  439. next;
  440. set .@move_name$,strcharinfo(0);
  441. switch(select("26th Floor:51st Floor:76th Floor")) {
  442. case 1:
  443. if (countitem(6000) < 1) {
  444. mes "-Warning-";
  445. mes "To warp to the 26th Floor, you need 1 Ashes of the Darkness.";
  446. close;
  447. }
  448. else {
  449. delitem 6000,1; //Dark_Ashes
  450. instance_announce 0, .@move_name$ + ". You will be warped to the 26th Floor.",bc_map,"0x00ff99";
  451. warp "2@tower",52,354;
  452. }
  453. break;
  454. case 2:
  455. if (countitem(6000) < 2) {
  456. mes "-Warning-";
  457. mes "To warp to the 51st Floor, you need 2 Ashes of the Darkness.";
  458. close;
  459. }
  460. else {
  461. delitem 6000,2; //Dark_Ashes
  462. instance_announce 0, .@move_name$ + ". You will be warped to the 51st Floor.",bc_map,"0x00ff99";
  463. warp "3@tower",52,354;
  464. }
  465. break;
  466. case 3:
  467. if (countitem(6000) < 3) {
  468. mes "-Warning-";
  469. mes "To warp to the 76th Floor, you need 3 Ashes of the Darkness.";
  470. close;
  471. }
  472. else {
  473. delitem 6000,3; //Dark_Ashes
  474. instance_announce 0, .@move_name$ + ". You will be warped to the 76th Floor.",bc_map,"0x00ff99";
  475. warp "4@tower",52,354;
  476. }
  477. break;
  478. }
  479. end;
  480. }
  481. 1@tower,29,365,1 script #1F Controller 844,{
  482. end;
  483. OnInstanceInit:
  484. areamonster "1@tower",7,351,17,387,"Metaling",1613,15,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
  485. areamonster "1@tower",7,351,17,387,"Marin",1242,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
  486. areamonster "1@tower",7,351,17,387,"Poporing",1031,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
  487. areamonster "1@tower",7,351,17,387,"Drops",1113,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
  488. areamonster "1@tower",7,351,17,387,"Mastering",1090,1,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
  489. areamonster "1@tower",7,351,17,387,"Poring",1002,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
  490. end;
  491. OnMyMobDead:
  492. set .@mob_dead_num,mobcount("1@tower",instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead");
  493. if (.@mob_dead_num < 1) {
  494. instance_announce 0, "All Monsters on the 1st Floor have been defeated.",bc_map,"0xffff00";
  495. donpcevent instance_npcname("1FGate102tower", instance_id())+"::OnEnable";
  496. //SetItemPartyInMap in_102floor 1
  497. }
  498. else
  499. instance_announce 0, "Remaining Monsters on the 1st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  500. end;
  501. }
  502. 1@tower,12,393,0 script 1FGate102tower 45,2,2,{
  503. OnInstanceInit:
  504. disablenpc instance_npcname("1FGate102tower", instance_id());
  505. end;
  506. OnEnable:
  507. enablenpc instance_npcname("1FGate102tower", instance_id());
  508. areamonster "1@tower",93,351,103,387,"Desert Wolf",1106,20,instance_npcname("1FGate102tower", instance_id())+"::OnMyMobDead";
  509. areamonster "1@tower",93,351,103,387,"Vagabond Wolf",1092,1,instance_npcname("1FGate102tower", instance_id())+"::OnMyMobDead";
  510. areamonster "1@tower",93,351,103,387,"Baby Desert Wolf",1107,10,instance_npcname("1FGate102tower", instance_id())+"::OnMyMobDead";
  511. end;
  512. OnTouch_:
  513. warp "1@tower",136,354;
  514. end;
  515. OnMyMobDead:
  516. set .@mob_dead_num,mobcount("1@tower",instance_npcname("1FGate102tower", instance_id())+"::OnMyMobDead");
  517. if (.@mob_dead_num < 1) {
  518. instance_announce 0, "All Monsters on the 2nd Floor have been defeated.",bc_map,"0xffff00";
  519. donpcevent instance_npcname("2FGate102tower", instance_id())+"::OnEnable";
  520. //SetItemPartyInMap in_102floor 2
  521. }
  522. else
  523. instance_announce 0, "Remaining Monsters on the 2nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  524. end;
  525. }
  526. 1@tower,96,393,0 script 2FGate102tower 45,2,2,{
  527. OnInstanceInit:
  528. disablenpc instance_npcname("2FGate102tower", instance_id());
  529. end;
  530. OnEnable:
  531. enablenpc instance_npcname("2FGate102tower", instance_id());
  532. areamonster "1@tower",181,351,191,387,"Archer Skeleton",1016,5,instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead";
  533. areamonster "1@tower",181,351,191,387,"Skel Worker",1169,5,instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead";
  534. areamonster "1@tower",181,351,191,387,"Soldier Skeleton",1028,5,instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead";
  535. areamonster "1@tower",181,351,191,387,"Orc Skeleton",1152,5,instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead";
  536. areamonster "1@tower",181,351,191,387,"Pirate Skeleton",1071,5,instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead";
  537. areamonster "1@tower",181,351,191,387,"Skeleton",1076,5,instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead";
  538. end;
  539. OnTouch_:
  540. warp "1@tower",224,354;
  541. end;
  542. OnMyMobDead:
  543. set .@mob_dead_num,mobcount("1@tower",instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead");
  544. if (.@mob_dead_num < 1) {
  545. instance_announce 0, "All Monsters on the 3rd Floor have been defeated.",bc_map,"0xffff00";
  546. donpcevent instance_npcname("3FGate102tower", instance_id())+"::OnEnable";
  547. //SetItemPartyInMap in_102floor 3
  548. }
  549. else
  550. instance_announce 0, "Remaining Monsters on the 3rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  551. end;
  552. }
  553. 1@tower,184,393,0 script 3FGate102tower 45,2,2,{
  554. OnInstanceInit:
  555. disablenpc instance_npcname("3FGate102tower", instance_id());
  556. end;
  557. OnEnable:
  558. enablenpc instance_npcname("3FGate102tower", instance_id());
  559. areamonster "1@tower",267,351,277,387,"Argiope",1099,15,instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead";
  560. areamonster "1@tower",267,351,277,387,"Mantis",1139,5,instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead";
  561. areamonster "1@tower",267,351,277,387,"Argos",1100,5,instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead";
  562. areamonster "1@tower",267,351,277,387,"Vocal",1088,1,instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead";
  563. areamonster "1@tower",267,351,277,387,"Rocker",1052,5,instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead";
  564. areamonster "1@tower",267,351,277,387,"Hornet",1004,5,instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead";
  565. end;
  566. OnTouch_:
  567. warp "1@tower",310,354;
  568. end;
  569. OnMyMobDead:
  570. set .@mob_dead_num,mobcount("1@tower",instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead");
  571. if (.@mob_dead_num < 1) {
  572. instance_announce 0, "All Monsters on the 4th Floor have been defeated.",bc_map,"0xffff00";
  573. donpcevent instance_npcname("4FGate102tower", instance_id())+"::OnEnable";
  574. //SetItemPartyInMap in_102floor 4
  575. }
  576. else
  577. instance_announce 0, "Remaining Monsters on 4th the Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  578. end;
  579. }
  580. 1@tower,270,393,0 script 4FGate102tower 45,2,2,{
  581. OnInstanceInit:
  582. disablenpc instance_npcname("4FGate102tower", instance_id());
  583. end;
  584. OnEnable:
  585. enablenpc instance_npcname("4FGate102tower", instance_id());
  586. areamonster "1@tower",352,351,362,387,"Golden Thief Bug",1086,1,instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead";
  587. areamonster "1@tower",352,351,362,387,"Theif Bug Male",1054,15,instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead";
  588. areamonster "1@tower",352,351,362,387,"Thief Bug Female",1053,15,instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead";
  589. areamonster "1@tower",352,351,362,387,"Thief Bug",1051,15,instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead";
  590. areamonster "1@tower",352,351,362,387,"Thief Bug Egg",1048,5,instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead";
  591. end;
  592. OnTouch_:
  593. warp "1@tower",395,354;
  594. end;
  595. OnMyMobDead:
  596. set .@mob_dead_num,mobcount("1@tower",instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead");
  597. if (.@mob_dead_num < 1) {
  598. instance_announce 0, "All Monsters on the 5th Floor have been defeated.",bc_map,"0xffff00";
  599. donpcevent instance_npcname("5FGate102tower", instance_id())+"::OnEnable";
  600. //SetItemPartyInMap in_102floor 5
  601. }
  602. else
  603. instance_announce 0, "Remaining Monsters on the 5th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  604. end;
  605. }
  606. 1@tower,355,393,0 script 5FGate102tower 45,2,2,{
  607. OnInstanceInit:
  608. disablenpc instance_npcname("5FGate102tower", instance_id());
  609. end;
  610. OnEnable:
  611. enablenpc instance_npcname("5FGate102tower", instance_id());
  612. areamonster "1@tower",9,267,19,303,"Dragon Egg",1721,5,instance_npcname("5FGate102tower", instance_id())+"::OnMyMobDead";
  613. areamonster "1@tower",9,267,19,303,"Thief Bug Egg",1048,5,instance_npcname("5FGate102tower", instance_id())+"::OnMyMobDead";
  614. areamonster "1@tower",9,267,19,303,"Ant Egg",1097,5,instance_npcname("5FGate102tower", instance_id())+"::OnMyMobDead";
  615. areamonster "1@tower",9,267,19,303,"Pupa",1008,5,instance_npcname("5FGate102tower", instance_id())+"::OnMyMobDead";
  616. end;
  617. OnTouch_:
  618. warp "1@tower",52,270;
  619. end;
  620. OnMyMobDead:
  621. set .@mob_dead_num,mobcount("1@tower",instance_npcname("5FGate102tower", instance_id())+"::OnMyMobDead");
  622. if (.@mob_dead_num < 1) {
  623. instance_announce 0, "All Monsters on the 6th Floor have been defeated.",bc_map,"0xffff00";
  624. donpcevent instance_npcname("6FGate102tower", instance_id())+"::OnEnable";
  625. //SetItemPartyInMap in_102floor 6
  626. }
  627. else
  628. instance_announce 0, "Remaining Monsters on the 6th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  629. end;
  630. }
  631. 1@tower,12,309,0 script 6FGate102tower 45,2,2,{
  632. OnInstanceInit:
  633. disablenpc instance_npcname("6FGate102tower", instance_id());
  634. end;
  635. OnEnable:
  636. enablenpc instance_npcname("6FGate102tower", instance_id());
  637. areamonster "1@tower",93,267,103,303,"Explosion",1383,15,instance_npcname("6FGate102tower", instance_id())+"::OnMyMobDead";
  638. areamonster "1@tower",93,267,103,303,"Drainliar",1111,15,instance_npcname("6FGate102tower", instance_id())+"::OnMyMobDead";
  639. areamonster "1@tower",93,267,103,303,"Anopheles",1627,15,instance_npcname("6FGate102tower", instance_id())+"::OnMyMobDead";
  640. areamonster "1@tower",93,267,103,303,"Farmiliar",1005,15,instance_npcname("6FGate102tower", instance_id())+"::OnMyMobDead";
  641. end;
  642. OnTouch_:
  643. warp "1@tower",136,270;
  644. end;
  645. OnMyMobDead:
  646. set .@mob_dead_num,mobcount("1@tower",instance_npcname("6FGate102tower", instance_id())+"::OnMyMobDead");
  647. if (.@mob_dead_num < 1) {
  648. instance_announce 0, "All Monsters on the 7th Floor have been defeated.",bc_map,"0xffff00";
  649. donpcevent instance_npcname("7FGate102tower", instance_id())+"::OnEnable";
  650. //SetItemPartyInMap in_102floor 7
  651. }
  652. else
  653. instance_announce 0, "Remaining Monsters on the 7th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  654. end;
  655. }
  656. 1@tower,96,309,0 script 7FGate102tower 45,2,2,{
  657. OnInstanceInit:
  658. disablenpc instance_npcname("7FGate102tower", instance_id());
  659. end;
  660. OnEnable:
  661. enablenpc instance_npcname("7FGate102tower", instance_id());
  662. areamonster "1@tower",181,267,191,303,"Firelock Soldier",1403,15,instance_npcname("7FGate102tower", instance_id())+"::OnMyMobDead";
  663. areamonster "1@tower",181,267,191,303,"Cruiser",1248,15,instance_npcname("7FGate102tower", instance_id())+"::OnMyMobDead";
  664. end;
  665. OnTouch_:
  666. warp "1@tower",224,270;
  667. end;
  668. OnMyMobDead:
  669. set .@mob_dead_num,mobcount("1@tower",instance_npcname("7FGate102tower", instance_id())+"::OnMyMobDead");
  670. if (.@mob_dead_num < 1) {
  671. instance_announce 0, "All Monsters on the 8th Floor have been defeated.",bc_map,"0xffff00";
  672. donpcevent instance_npcname("8FGate102tower", instance_id())+"::OnEnable";
  673. //SetItemPartyInMap in_102floor 8
  674. }
  675. else
  676. instance_announce 0, "Remaining Monsters on the 8th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  677. end;
  678. }
  679. 1@tower,184,309,0 script 8FGate102tower 45,2,2,{
  680. OnInstanceInit:
  681. disablenpc instance_npcname("8FGate102tower", instance_id());
  682. end;
  683. OnEnable:
  684. enablenpc instance_npcname("8FGate102tower", instance_id());
  685. areamonster "1@tower",267,267,277,303,"Obsidian",1615,15,instance_npcname("8FGate102tower", instance_id())+"::OnMyMobDead";
  686. areamonster "1@tower",267,267,277,303,"Golem",1040,15,instance_npcname("8FGate102tower", instance_id())+"::OnMyMobDead";
  687. areamonster "1@tower",267,267,277,303,"Stapo",1784,10,instance_npcname("8FGate102tower", instance_id())+"::OnMyMobDead";
  688. end;
  689. OnTouch_:
  690. warp "1@tower",310,270;
  691. end;
  692. OnMyMobDead:
  693. set .@mob_dead_num,mobcount("1@tower",instance_npcname("8FGate102tower", instance_id())+"::OnMyMobDead");
  694. if (.@mob_dead_num < 1) {
  695. instance_announce 0, "All Monsters on the 9th Floor have been defeated.",bc_map,"0xffff00";
  696. donpcevent instance_npcname("9FGate102tower", instance_id())+"::OnEnable";
  697. //SetItemPartyInMap in_102floor 9
  698. }
  699. else
  700. instance_announce 0, "Remaining Monsters on the 9th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  701. end;
  702. }
  703. 1@tower,270,309,0 script 9FGate102tower 45,2,2,{
  704. OnInstanceInit:
  705. disablenpc instance_npcname("9FGate102tower", instance_id());
  706. end;
  707. OnEnable:
  708. enablenpc instance_npcname("9FGate102tower", instance_id());
  709. areamonster "1@tower",352,267,362,303,"Mistress",1059,1,instance_npcname("9FGate102tower", instance_id())+"::OnMyMobDead";
  710. areamonster "1@tower",352,267,362,303,"Giant Hornet",1303,25,instance_npcname("9FGate102tower", instance_id())+"::OnMyMobDead";
  711. areamonster "1@tower",352,267,362,303,"Hornet",1004,20,instance_npcname("9FGate102tower", instance_id())+"::OnMyMobDead";
  712. end;
  713. OnTouch_:
  714. warp "1@tower",395,270;
  715. end;
  716. OnMyMobDead:
  717. set .@mob_dead_num,mobcount("1@tower",instance_npcname("9FGate102tower", instance_id())+"::OnMyMobDead");
  718. if (.@mob_dead_num < 1) {
  719. instance_announce 0, "All Monsters on the 10th Floor have been defeated.",bc_map,"0xffff00";
  720. donpcevent instance_npcname("10FGate102tower", instance_id())+"::OnEnable";
  721. //SetItemPartyInMap in_102floor 10
  722. }
  723. else
  724. instance_announce 0, "Remaining Monsters on the 10th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  725. end;
  726. }
  727. 1@tower,355,309,0 script 10FGate102tower 45,2,2,{
  728. OnInstanceInit:
  729. disablenpc instance_npcname("10FGate102tower", instance_id());
  730. end;
  731. OnEnable:
  732. enablenpc instance_npcname("10FGate102tower", instance_id());
  733. areamonster "1@tower",9,180,19,216,"Dryad",1493,15,instance_npcname("10FGate102tower", instance_id())+"::OnMyMobDead";
  734. areamonster "1@tower",9,180,19,216,"Parasite",1500,15,instance_npcname("10FGate102tower", instance_id())+"::OnMyMobDead";
  735. areamonster "1@tower",9,180,19,216,"Hermit Plant",1413,15,instance_npcname("10FGate102tower", instance_id())+"::OnMyMobDead";
  736. areamonster "1@tower",9,180,19,216,"Rafflesia",1162,5,instance_npcname("10FGate102tower", instance_id())+"::OnMyMobDead";
  737. end;
  738. OnTouch_:
  739. warp "1@tower",52,183;
  740. end;
  741. OnMyMobDead:
  742. set .@mob_dead_num,mobcount("1@tower",instance_npcname("10FGate102tower", instance_id())+"::OnMyMobDead");
  743. if (.@mob_dead_num < 1) {
  744. instance_announce 0, "All Monsters on the 11th Floor have been defeated.",bc_map,"0xffff00";
  745. donpcevent instance_npcname("11FGate102tower", instance_id())+"::OnEnable";
  746. //SetItemPartyInMap in_102floor 11
  747. }
  748. else
  749. instance_announce 0, "Remaining Monsters on the 11th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  750. end;
  751. }
  752. 1@tower,12,222,0 script 11FGate102tower 45,2,2,{
  753. OnInstanceInit:
  754. disablenpc instance_npcname("11FGate102tower", instance_id());
  755. end;
  756. OnEnable:
  757. enablenpc instance_npcname("11FGate102tower", instance_id());
  758. areamonster "1@tower",93,180,103,216,"Demon Pungus",1378,25,instance_npcname("11FGate102tower", instance_id())+"::OnMyMobDead";
  759. areamonster "1@tower",93,180,103,216,"Punk",1199,25,instance_npcname("11FGate102tower", instance_id())+"::OnMyMobDead";
  760. end;
  761. OnTouch_:
  762. warp "1@tower",136,183;
  763. end;
  764. OnMyMobDead:
  765. set .@mob_dead_num,mobcount("1@tower",instance_npcname("11FGate102tower", instance_id())+"::OnMyMobDead");
  766. if (.@mob_dead_num < 1) {
  767. instance_announce 0, "All Monsters on the 12th Floor have been defeated.",bc_map,"0xffff00";
  768. donpcevent instance_npcname("12FGate102tower", instance_id())+"::OnEnable";
  769. //SetItemPartyInMap in_102floor 12
  770. }
  771. else
  772. instance_announce 0, "Remaining Monsters on the 12th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  773. end;
  774. }
  775. 1@tower,96,222,0 script 12FGate102tower 45,2,2,{
  776. OnInstanceInit:
  777. disablenpc instance_npcname("12FGate102tower", instance_id());
  778. end;
  779. OnEnable:
  780. enablenpc instance_npcname("12FGate102tower", instance_id());
  781. areamonster "1@tower",181,180,191,216,"Yao Yun",1512,15,instance_npcname("12FGate102tower", instance_id())+"::OnMyMobDead";
  782. areamonster "1@tower",181,180,191,216,"Bongunn",1188,15,instance_npcname("12FGate102tower", instance_id())+"::OnMyMobDead";
  783. areamonster "1@tower",181,180,191,216,"Munak",1026,10,instance_npcname("12FGate102tower", instance_id())+"::OnMyMobDead";
  784. end;
  785. OnTouch_:
  786. warp "1@tower",224,183;
  787. end;
  788. OnMyMobDead:
  789. set .@mob_dead_num,mobcount("1@tower",instance_npcname("12FGate102tower", instance_id())+"::OnMyMobDead");
  790. if (.@mob_dead_num < 1) {
  791. instance_announce 0, "All Monsters on the 13th Floor have been defeated.",bc_map,"0xffff00";
  792. donpcevent instance_npcname("13FGate102tower", instance_id())+"::OnEnable";
  793. //SetItemPartyInMap in_102floor 13
  794. }
  795. else
  796. instance_announce 0, "Remaining Monsters on the 13th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  797. end;
  798. }
  799. 1@tower,184,222,0 script 13FGate102tower 45,2,2,{
  800. OnInstanceInit:
  801. disablenpc instance_npcname("13FGate102tower", instance_id());
  802. end;
  803. OnEnable:
  804. enablenpc instance_npcname("13FGate102tower", instance_id());
  805. areamonster "1@tower",267,180,277,216,"High Orc",1213,15,instance_npcname("13FGate102tower", instance_id())+"::OnMyMobDead";
  806. areamonster "1@tower",267,180,277,216,"Orc Archer",1189,10,instance_npcname("13FGate102tower", instance_id())+"::OnMyMobDead";
  807. areamonster "1@tower",267,180,277,216,"Orc Lady",1273,10,instance_npcname("13FGate102tower", instance_id())+"::OnMyMobDead";
  808. areamonster "1@tower",267,180,277,216,"Orc Warrior",1023,5,instance_npcname("13FGate102tower", instance_id())+"::OnMyMobDead";
  809. areamonster "1@tower",267,180,277,216,"Orc Baby",1686,5,instance_npcname("13FGate102tower", instance_id())+"::OnMyMobDead";
  810. end;
  811. OnTouch_:
  812. warp "1@tower",310,183;
  813. end;
  814. OnMyMobDead:
  815. set .@mob_dead_num,mobcount("1@tower",instance_npcname("13FGate102tower", instance_id())+"::OnMyMobDead");
  816. if (.@mob_dead_num < 1) {
  817. instance_announce 0, "All Monsters on the 14th Floor have been defeated.",bc_map,"0xffff00";
  818. donpcevent instance_npcname("14FGate102tower", instance_id())+"::OnEnable";
  819. //SetItemPartyInMap in_102floor 14
  820. }
  821. else
  822. instance_announce 0, "Remaining Monsters on the 14th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  823. end;
  824. }
  825. 1@tower,270,222,0 script 14FGate102tower 45,2,2,{
  826. OnInstanceInit:
  827. disablenpc instance_npcname("14FGate102tower", instance_id());
  828. end;
  829. OnEnable:
  830. enablenpc instance_npcname("14FGate102tower", instance_id());
  831. areamonster "1@tower",352,180,362,216,"Maya",1147,1,instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead";
  832. areamonster "1@tower",352,180,362,216,"Phreeoni",1159,1,instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead";
  833. areamonster "1@tower",352,180,362,216,"Deniro",1105,15,instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead";
  834. areamonster "1@tower",352,180,362,216,"Pierre",1160,15,instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead";
  835. areamonster "1@tower",352,180,362,216,"Andre",1095,15,instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead";
  836. areamonster "1@tower",352,180,362,216,"Ant Egg",1097,5,instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead";
  837. end;
  838. OnTouch_:
  839. warp "1@tower",395,183;
  840. end;
  841. OnMyMobDead:
  842. set .@mob_dead_num,mobcount("1@tower",instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead");
  843. if (.@mob_dead_num < 1) {
  844. instance_announce 0, "All Monsters on the 15th Floor have been defeated.",bc_map,"0xffff00";
  845. donpcevent instance_npcname("15FGate102tower", instance_id())+"::OnEnable";
  846. //SetItemPartyInMap in_102floor 15
  847. }
  848. else
  849. instance_announce 0, "Remaining Monsters on the 15th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  850. end;
  851. }
  852. 1@tower,355,222,0 script 15FGate102tower 45,2,2,{
  853. OnInstanceInit:
  854. disablenpc instance_npcname("15FGate102tower", instance_id());
  855. end;
  856. OnEnable:
  857. enablenpc instance_npcname("15FGate102tower", instance_id());
  858. areamonster "1@tower",9,96,19,132,"Raydric Archer",1276,10,instance_npcname("15FGate102tower", instance_id())+"::OnMyMobDead";
  859. areamonster "1@tower",9,96,19,132,"Orc Archer",1189,10,instance_npcname("15FGate102tower", instance_id())+"::OnMyMobDead";
  860. areamonster "1@tower",9,96,19,132,"Gargoyle",1253,10,instance_npcname("15FGate102tower", instance_id())+"::OnMyMobDead";
  861. areamonster "1@tower",9,96,19,132,"Archer Skeleton",1016,10,instance_npcname("15FGate102tower", instance_id())+"::OnMyMobDead";
  862. end;
  863. OnTouch_:
  864. warp "1@tower",52,99;
  865. end;
  866. OnMyMobDead:
  867. set .@mob_dead_num,mobcount("1@tower",instance_npcname("15FGate102tower", instance_id())+"::OnMyMobDead");
  868. if (.@mob_dead_num < 1) {
  869. instance_announce 0, "All Monsters on the 16th Floor have been defeated.",bc_map,"0xffff00";
  870. donpcevent instance_npcname("16FGate102tower", instance_id())+"::OnEnable";
  871. //SetItemPartyInMap in_102floor 16
  872. }
  873. else
  874. instance_announce 0, "Remaining Monsters on the 16th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  875. end;
  876. }
  877. 1@tower,12,138,0 script 16FGate102tower 45,2,2,{
  878. OnInstanceInit:
  879. disablenpc instance_npcname("16FGate102tower", instance_id());
  880. end;
  881. OnEnable:
  882. enablenpc instance_npcname("16FGate102tower", instance_id());
  883. areamonster "1@tower",93,96,103,132,"Merman",1264,10,instance_npcname("16FGate102tower", instance_id())+"::OnMyMobDead";
  884. areamonster "1@tower",93,96,103,132,"Baphomet Jr.",1101,10,instance_npcname("16FGate102tower", instance_id())+"::OnMyMobDead";
  885. areamonster "1@tower",93,96,103,132,"Strouf",1065,15,instance_npcname("16FGate102tower", instance_id())+"::OnMyMobDead";
  886. areamonster "1@tower",93,96,103,132,"Hill Wind",1629,5,instance_npcname("16FGate102tower", instance_id())+"::OnMyMobDead";
  887. end;
  888. OnTouch_:
  889. warp "1@tower",136,99;
  890. end;
  891. OnMyMobDead:
  892. set .@mob_dead_num,mobcount("1@tower",instance_npcname("16FGate102tower", instance_id())+"::OnMyMobDead");
  893. if (.@mob_dead_num < 1) {
  894. instance_announce 0, "All Monsters on the 17th Floor have been defeated.",bc_map,"0xffff00";
  895. donpcevent instance_npcname("17FGate102tower", instance_id())+"::OnEnable";
  896. //SetItemPartyInMap in_102floor 17
  897. }
  898. else
  899. instance_announce 0, "Remaining Monsters on the 17th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  900. end;
  901. }
  902. 1@tower,96,138,0 script 17FGate102tower 45,2,2,{
  903. OnInstanceInit:
  904. disablenpc instance_npcname("17FGate102tower", instance_id());
  905. end;
  906. OnEnable:
  907. enablenpc instance_npcname("17FGate102tower", instance_id());
  908. areamonster "1@tower",181,96,191,132,"Cramp",1209,25,instance_npcname("17FGate102tower", instance_id())+"::OnMyMobDead";
  909. areamonster "1@tower",181,96,191,132,"Tarou",1175,15,instance_npcname("17FGate102tower", instance_id())+"::OnMyMobDead";
  910. end;
  911. OnTouch_:
  912. warp "1@tower",224,99;
  913. end;
  914. OnMyMobDead:
  915. set .@mob_dead_num,mobcount("1@tower",instance_npcname("17FGate102tower", instance_id())+"::OnMyMobDead");
  916. if (.@mob_dead_num < 1) {
  917. instance_announce 0, "All Monsters on the 18th Floor have been defeated.",bc_map,"0xffff00";
  918. donpcevent instance_npcname("18FGate102tower", instance_id())+"::OnEnable";
  919. //SetItemPartyInMap in_102floor 18
  920. }
  921. else
  922. instance_announce 0, "Remaining Monsters on the 18th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  923. end;
  924. }
  925. 1@tower,184,138,0 script 18FGate102tower 45,2,2,{
  926. OnInstanceInit:
  927. disablenpc instance_npcname("18FGate102tower", instance_id());
  928. end;
  929. OnEnable:
  930. enablenpc instance_npcname("18FGate102tower", instance_id());
  931. areamonster "1@tower",267,96,277,132,"Deviace",1108,10,instance_npcname("18FGate102tower", instance_id())+"::OnMyMobDead";
  932. areamonster "1@tower",267,96,277,132,"Megalodon",1064,10,instance_npcname("18FGate102tower", instance_id())+"::OnMyMobDead";
  933. areamonster "1@tower",267,96,277,132,"Swordfish",1069,10,instance_npcname("18FGate102tower", instance_id())+"::OnMyMobDead";
  934. areamonster "1@tower",267,96,277,132,"Phen",1158,10,instance_npcname("18FGate102tower", instance_id())+"::OnMyMobDead";
  935. end;
  936. OnTouch_:
  937. warp "1@tower",310,99;
  938. end;
  939. OnMyMobDead:
  940. set .@mob_dead_num,mobcount("1@tower",instance_npcname("18FGate102tower", instance_id())+"::OnMyMobDead");
  941. if (.@mob_dead_num < 1) {
  942. instance_announce 0, "All Monsters on the 19th Floor have been defeated.",bc_map,"0xffff00";
  943. donpcevent instance_npcname("19FGate102tower", instance_id())+"::OnEnable";
  944. //SetItemPartyInMap in_102floor 19
  945. }
  946. else
  947. instance_announce 0, "Remaining Monsters on the 19th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  948. end;
  949. }
  950. 1@tower,270,138,0 script 19FGate102tower 45,2,2,{
  951. OnInstanceInit:
  952. disablenpc instance_npcname("19FGate102tower", instance_id());
  953. end;
  954. OnEnable:
  955. enablenpc instance_npcname("19FGate102tower", instance_id());
  956. areamonster "1@tower",352,96,362,132,"Drake",1112,1,instance_npcname("19FGate102tower", instance_id())+"::OnMyMobDead";
  957. areamonster "1@tower",352,96,362,132,"Pirate Skeleton",1071,50,instance_npcname("19FGate102tower", instance_id())+"::OnMyMobDead";
  958. end;
  959. OnTouch_:
  960. warp "1@tower",395,99;
  961. end;
  962. OnMyMobDead:
  963. set .@mob_dead_num,mobcount("1@tower",instance_npcname("19FGate102tower", instance_id())+"::OnMyMobDead");
  964. if (.@mob_dead_num < 1) {
  965. instance_announce 0, "All Monsters on the 20th Floor have been defeated.",bc_map,"0xffff00";
  966. donpcevent instance_npcname("20FGate102tower", instance_id())+"::OnEnable";
  967. //SetItemPartyInMap in_102floor 20
  968. }
  969. else
  970. instance_announce 0, "Remaining Monsters on 20th the Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  971. end;
  972. }
  973. 1@tower,355,138,0 script 20FGate102tower 45,2,2,{
  974. OnInstanceInit:
  975. disablenpc instance_npcname("20FGate102tower", instance_id());
  976. end;
  977. OnEnable:
  978. enablenpc instance_npcname("20FGate102tower", instance_id());
  979. areamonster "1@tower",9,9,19,45,"Plasma",1693,10,instance_npcname("20FGate102tower", instance_id())+"::OnMyMobDead";
  980. areamonster "1@tower",9,9,19,45,"Plasma",1696,10,instance_npcname("20FGate102tower", instance_id())+"::OnMyMobDead";
  981. areamonster "1@tower",9,9,19,45,"Plasma",1695,5,instance_npcname("20FGate102tower", instance_id())+"::OnMyMobDead";
  982. areamonster "1@tower",9,9,19,45,"Plasma",1697,5,instance_npcname("20FGate102tower", instance_id())+"::OnMyMobDead";
  983. areamonster "1@tower",9,9,19,45,"Plasma",1694,5,instance_npcname("20FGate102tower", instance_id())+"::OnMyMobDead";
  984. end;
  985. OnTouch_:
  986. warp "1@tower",52,12;
  987. end;
  988. OnMyMobDead:
  989. set .@mob_dead_num,mobcount("1@tower",instance_npcname("20FGate102tower", instance_id())+"::OnMyMobDead");
  990. if (.@mob_dead_num < 1) {
  991. instance_announce 0, "All Monsters on the 21st Floor have been defeated.",bc_map,"0xffff00";
  992. donpcevent instance_npcname("21FGate102tower", instance_id())+"::OnEnable";
  993. //SetItemPartyInMap in_102floor 21
  994. }
  995. else
  996. instance_announce 0, "Remaining Monsters on the 21st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  997. end;
  998. }
  999. 1@tower,12,51,0 script 21FGate102tower 45,2,2,{
  1000. OnInstanceInit:
  1001. disablenpc instance_npcname("21FGate102tower", instance_id());
  1002. end;
  1003. OnEnable:
  1004. enablenpc instance_npcname("21FGate102tower", instance_id());
  1005. areamonster "1@tower",93,9,103,45,"Muscipular",1780,15,instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead";
  1006. areamonster "1@tower",93,9,103,45,"Drosera",1781,15,instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead";
  1007. areamonster "1@tower",93,9,103,45,"Flora",1118,15,instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead";
  1008. areamonster "1@tower",93,9,103,45,"Hydra",1068,15,instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead";
  1009. areamonster "1@tower",93,9,103,45,"Mandragora",1020,10,instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead";
  1010. areamonster "1@tower",93,9,103,45,"Rafflesia",1162,10,instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead";
  1011. end;
  1012. OnTouch_:
  1013. warp "1@tower",136,12;
  1014. end;
  1015. OnMyMobDead:
  1016. set .@mob_dead_num,mobcount("1@tower",instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead");
  1017. if (.@mob_dead_num < 1) {
  1018. instance_announce 0, "All Monsters on the 22nd Floor have been defeated.",bc_map,"0xffff00";
  1019. donpcevent instance_npcname("22FGate102tower", instance_id())+"::OnEnable";
  1020. //SetItemPartyInMap in_102floor 22
  1021. }
  1022. else
  1023. instance_announce 0, "Remaining Monsters on the 22nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1024. end;
  1025. }
  1026. 1@tower,96,51,0 script 22FGate102tower 45,2,2,{
  1027. OnInstanceInit:
  1028. disablenpc instance_npcname("22FGate102tower", instance_id());
  1029. end;
  1030. OnEnable:
  1031. enablenpc instance_npcname("22FGate102tower", instance_id());
  1032. areamonster "1@tower",181,9,191,45,"Penomena",1216,15,instance_npcname("22FGate102tower", instance_id())+"::OnMyMobDead";
  1033. areamonster "1@tower",181,9,191,45,"Obeaune",1044,10,instance_npcname("22FGate102tower", instance_id())+"::OnMyMobDead";
  1034. areamonster "1@tower",181,9,191,45,"Marse",1144,10,instance_npcname("22FGate102tower", instance_id())+"::OnMyMobDead";
  1035. areamonster "1@tower",181,9,191,45,"Swordfish",1069,10,instance_npcname("22FGate102tower", instance_id())+"::OnMyMobDead";
  1036. areamonster "1@tower",181,9,191,45,"Hydra",1068,5,instance_npcname("22FGate102tower", instance_id())+"::OnMyMobDead";
  1037. end;
  1038. OnTouch_:
  1039. warp "1@tower",224,12;
  1040. end;
  1041. OnMyMobDead:
  1042. set .@mob_dead_num,mobcount("1@tower",instance_npcname("22FGate102tower", instance_id())+"::OnMyMobDead");
  1043. if (.@mob_dead_num < 1) {
  1044. instance_announce 0, "All Monsters on the 23rd Floor have been defeated.",bc_map,"0xffff00";
  1045. donpcevent instance_npcname("23FGate102tower", instance_id())+"::OnEnable";
  1046. //SetItemPartyInMap in_102floor 23
  1047. }
  1048. else
  1049. instance_announce 0, "Remaining Monsters on the 23rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1050. end;
  1051. }
  1052. 1@tower,184,51,0 script 23FGate102tower 45,2,2,{
  1053. OnInstanceInit:
  1054. disablenpc instance_npcname("23FGate102tower", instance_id());
  1055. end;
  1056. OnEnable:
  1057. enablenpc instance_npcname("23FGate102tower", instance_id());
  1058. areamonster "1@tower",267,9,277,45,"Joker",1131,15,instance_npcname("23FGate102tower", instance_id())+"::OnMyMobDead";
  1059. areamonster "1@tower",267,9,277,45,"Carat",1267,15,instance_npcname("23FGate102tower", instance_id())+"::OnMyMobDead";
  1060. areamonster "1@tower",267,9,277,45,"Jakk",1130,10,instance_npcname("23FGate102tower", instance_id())+"::OnMyMobDead";
  1061. end;
  1062. OnTouch_:
  1063. warp "1@tower",310,12;
  1064. end;
  1065. OnMyMobDead:
  1066. set .@mob_dead_num,mobcount("1@tower",instance_npcname("23FGate102tower", instance_id())+"::OnMyMobDead");
  1067. if (.@mob_dead_num < 1) {
  1068. instance_announce 0, "All Monsters on the 24th Floor have been defeated.",bc_map,"0xffff00";
  1069. donpcevent instance_npcname("24FGate102tower", instance_id())+"::OnEnable";
  1070. //SetItemPartyInMap in_102floor 24
  1071. }
  1072. else
  1073. instance_announce 0, "Remaining Monsters on the 24th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1074. end;
  1075. }
  1076. 1@tower,270,51,0 script 24FGate102tower 45,2,2,{
  1077. OnInstanceInit:
  1078. disablenpc instance_npcname("24FGate102tower", instance_id());
  1079. end;
  1080. OnEnable:
  1081. enablenpc instance_npcname("24FGate102tower", instance_id());
  1082. areamonster "1@tower",352,9,362,45,"Cat o' Nine Tails",1307,15,instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead";
  1083. areamonster "1@tower",352,9,362,45,"Moonlight",1150,1,instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead";
  1084. areamonster "1@tower",352,9,362,45,"Nine Tail",1180,15,instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead";
  1085. end;
  1086. OnTouch_:
  1087. warp "1@tower",395,12;
  1088. end;
  1089. OnMyMobDead:
  1090. set .@mob_dead_num,mobcount("1@tower",instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead");
  1091. if (.@mob_dead_num < 1) {
  1092. instance_announce 0, "All Monsters on the 25th Floor have been defeated.",bc_map,"0xffff00";
  1093. donpcevent instance_npcname("25FGate102tower", instance_id())+"::OnEnable";
  1094. //SetItemPartyInMap in_102floor 25
  1095. }
  1096. else
  1097. instance_announce 0, "Remaining Monsters on the 25th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1098. end;
  1099. }
  1100. 1@tower,355,51,0 script 25FGate102tower 45,2,2,{
  1101. OnInstanceInit:
  1102. disablenpc instance_npcname("25FGate102tower", instance_id());
  1103. end;
  1104. OnEnable:
  1105. enablenpc instance_npcname("25FGate102tower", instance_id());
  1106. initnpctimer;
  1107. end;
  1108. OnTouch_:
  1109. getitem 6000,1; //Dark_Ashes
  1110. warp "2@tower",52,354;
  1111. end;
  1112. OnTimer120000:
  1113. disablenpc instance_npcname("25FGate102tower", instance_id());
  1114. donpcevent instance_npcname("25FGate102tower-2", instance_id())+"::OnEnable";
  1115. stopnpctimer;
  1116. end;
  1117. }
  1118. 1@tower,355,51,0 script 25FGate102tower-2 45,2,2,{
  1119. OnInstanceInit:
  1120. disablenpc instance_npcname("25FGate102tower-2", instance_id());
  1121. end;
  1122. OnEnable:
  1123. enablenpc instance_npcname("25FGate102tower-2", instance_id());
  1124. end;
  1125. OnTouch_:
  1126. warp "2@tower",52,354;
  1127. end;
  1128. }
  1129. /*
  1130. 1@tower,71,1,0 script #Manager Mode1 844,{
  1131. mes "Please enter the password.";
  1132. input .@inputstr$;
  1133. next;
  1134. if (.@inputstr$ == "dmc2008") {
  1135. mes "This NPC manages the tower from the 1st to the 25th Floor.";
  1136. mes "Please enter the Floor number to open.";
  1137. mes "(i.g.: 1F->1, 25F->25)";
  1138. input .@input,1,25;
  1139. next;
  1140. if (.@input < 1 || .@input > 25)
  1141. mes "You can only enter a number from 1 to 25.";
  1142. else {
  1143. donpcevent instance_npcname(.@input+"FGate102tower", instance_id())+"::OnEnable";
  1144. mes "*** Floor "+ .@input + " is now being opened. ***";
  1145. }
  1146. }
  1147. close;
  1148. }
  1149. */
  1150. // Floors 26-50
  1151. 2@tower,29,365,2 script Immortal Furnace#1 844,{
  1152. OnInstanceInit:
  1153. areamonster "2@tower",9,351,19,387,"Gibbet",1503,10,instance_npcname("Immortal Furnace#1", instance_id())+"::OnMyMobDead";
  1154. areamonster "2@tower",9,351,19,387,"Enchanted Peach Tree",1410,10,instance_npcname("Immortal Furnace#1", instance_id())+"::OnMyMobDead";
  1155. areamonster "2@tower",9,351,19,387,"Wooden Golem",1497,10,instance_npcname("Immortal Furnace#1", instance_id())+"::OnMyMobDead";
  1156. areamonster "2@tower",9,351,19,387,"Stone Shooter",1495,10,instance_npcname("Immortal Furnace#1", instance_id())+"::OnMyMobDead";
  1157. areamonster "2@tower",9,351,19,387,"Elder Willow",1033,5,instance_npcname("Immortal Furnace#1", instance_id())+"::OnMyMobDead";
  1158. end;
  1159. OnMyMobDead:
  1160. set .@mob_dead_num,mobcount("2@tower",instance_npcname("Immortal Furnace#1", instance_id())+"::OnMyMobDead");
  1161. if (.@mob_dead_num < 1) {
  1162. instance_announce 0, "All Monsters on the 26th Floor have been defeated.",bc_map,"0xffff00";
  1163. donpcevent instance_npcname("26FGate102tower", instance_id())+"::OnEnable";
  1164. //SetItemPartyInMap in_102floor 26
  1165. }
  1166. else
  1167. instance_announce 0, "Remaining Monsters on the 26th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1168. end;
  1169. }
  1170. 2@tower,12,393,0 script 26FGate102tower 45,2,2,{
  1171. OnInstanceInit:
  1172. disablenpc instance_npcname("26FGate102tower", instance_id());
  1173. end;
  1174. OnEnable:
  1175. enablenpc instance_npcname("26FGate102tower", instance_id());
  1176. areamonster "2@tower",93,351,103,387,"Goblin Archer",1258,10,instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead";
  1177. areamonster "2@tower",93,351,103,387,"Goblin",1122,10,instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead";
  1178. areamonster "2@tower",93,351,103,387,"Goblin",1123,5,instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead";
  1179. areamonster "2@tower",93,351,103,387,"Goblin",1124,5,instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead";
  1180. areamonster "2@tower",93,351,103,387,"Gobin",1125,5,instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead";
  1181. areamonster "2@tower",93,351,103,387,"Goblin",1126,5,instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead";
  1182. end;
  1183. OnTouch_:
  1184. warp "2@tower",136,354;
  1185. end;
  1186. OnMyMobDead:
  1187. set .@mob_dead_num,mobcount("2@tower",instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead");
  1188. if (.@mob_dead_num < 1) {
  1189. instance_announce 0, "All Monsters on the 27th Floor have been defeated.",bc_map,"0xffff00";
  1190. donpcevent instance_npcname("27FGate102tower", instance_id())+"::OnEnable";
  1191. //SetItemPartyInMap in_102floor 27
  1192. }
  1193. else
  1194. instance_announce 0, "Remaining Monsters on the 27th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1195. end;
  1196. }
  1197. 2@tower,96,393,0 script 27FGate102tower 45,2,2,{
  1198. OnInstanceInit:
  1199. disablenpc instance_npcname("27FGate102tower", instance_id());
  1200. end;
  1201. OnEnable:
  1202. enablenpc instance_npcname("27FGate102tower", instance_id());
  1203. areamonster "2@tower",181,351,191,387,"Arclouse",1194,30,instance_npcname("27FGate102tower", instance_id())+"::OnMyMobDead";
  1204. areamonster "2@tower",181,351,191,387,"Neraid",1255,15,instance_npcname("27FGate102tower", instance_id())+"::OnMyMobDead";
  1205. areamonster "2@tower",181,351,191,387,"Pest",1256,15,instance_npcname("27FGate102tower", instance_id())+"::OnMyMobDead";
  1206. areamonster "2@tower",181,351,191,387,"Kukre",1070,10,instance_npcname("27FGate102tower", instance_id())+"::OnMyMobDead";
  1207. end;
  1208. OnTouch_:
  1209. warp "2@tower",224,354;
  1210. end;
  1211. OnMyMobDead:
  1212. set .@mob_dead_num,mobcount("2@tower",instance_npcname("27FGate102tower", instance_id())+"::OnMyMobDead");
  1213. if (.@mob_dead_num < 1) {
  1214. instance_announce 0, "All Monsters on the 28th Floor have been defeated.",bc_map,"0xffff00";
  1215. donpcevent instance_npcname("28FGate102tower", instance_id())+"::OnEnable";
  1216. //SetItemPartyInMap in_102floor 28
  1217. }
  1218. else
  1219. instance_announce 0, "Remaining Monsters on the 28th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1220. end;
  1221. }
  1222. 2@tower,184,393,0 script 28FGate102tower 45,2,2,{
  1223. OnInstanceInit:
  1224. disablenpc instance_npcname("28FGate102tower", instance_id());
  1225. end;
  1226. OnEnable:
  1227. enablenpc instance_npcname("28FGate102tower", instance_id());
  1228. areamonster "2@tower",267,351,277,387,"Dark Frame",1260,10,instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead";
  1229. areamonster "2@tower",267,351,277,387,"The Paper",1375,10,instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead";
  1230. areamonster "2@tower",267,351,277,387,"Hylozoist",1510,10,instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead";
  1231. areamonster "2@tower",267,351,277,387,"Quve",1508,5,instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead";
  1232. areamonster "2@tower",267,351,277,387,"Lude",1509,5,instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead";
  1233. areamonster "2@tower",267,351,277,387,"Whisper",1179,10,instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead";
  1234. end;
  1235. OnTouch_:
  1236. warp "2@tower",310,354;
  1237. end;
  1238. OnMyMobDead:
  1239. set .@mob_dead_num,mobcount("2@tower",instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead");
  1240. if (.@mob_dead_num < 1) {
  1241. instance_announce 0, "All Monsters on the 29th Floor have been defeated.",bc_map,"0xffff00";
  1242. donpcevent instance_npcname("29FGate102tower", instance_id())+"::OnEnable";
  1243. //SetItemPartyInMap in_102floor 29
  1244. }
  1245. else
  1246. instance_announce 0, "Remaining Monsters on the 29th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1247. end;
  1248. }
  1249. 2@tower,270,393,0 script 29FGate102tower 45,2,2,{
  1250. OnInstanceInit:
  1251. disablenpc instance_npcname("29FGate102tower", instance_id());
  1252. end;
  1253. OnEnable:
  1254. enablenpc instance_npcname("29FGate102tower", instance_id());
  1255. areamonster "2@tower",352,351,362,387,"White Lady",1630,1,instance_npcname("29FGate102tower", instance_id())+"::OnMyMobDead";
  1256. areamonster "2@tower",352,351,362,387,"Evil Nymph",1416,30,instance_npcname("29FGate102tower", instance_id())+"::OnMyMobDead";
  1257. end;
  1258. OnTouch_:
  1259. warp "2@tower",395,354;
  1260. end;
  1261. OnMyMobDead:
  1262. set .@mob_dead_num,mobcount("2@tower",instance_npcname("29FGate102tower", instance_id())+"::OnMyMobDead");
  1263. if (.@mob_dead_num < 1) {
  1264. instance_announce 0, "All Monsters on the 30th Floor have been defeated.",bc_map,"0xffff00";
  1265. donpcevent instance_npcname("30FGate102tower", instance_id())+"::OnEnable";
  1266. //SetItemPartyInMap in_102floor 30
  1267. }
  1268. else
  1269. instance_announce 0, "Remaining Monsters on the 30th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1270. end;
  1271. }
  1272. 2@tower,355,393,0 script 30FGate102tower 45,2,2,{
  1273. OnInstanceInit:
  1274. disablenpc instance_npcname("30FGate102tower", instance_id());
  1275. end;
  1276. OnEnable:
  1277. enablenpc instance_npcname("30FGate102tower", instance_id());
  1278. areamonster "2@tower",9,267,19,303,"Gig",1387,20,instance_npcname("30FGate102tower", instance_id())+"::OnMyMobDead";
  1279. areamonster "2@tower",9,267,19,303,"Iron Fist",1212,15,instance_npcname("30FGate102tower", instance_id())+"::OnMyMobDead";
  1280. areamonster "2@tower",9,267,19,303,"Argiope",1099,10,instance_npcname("30FGate102tower", instance_id())+"::OnMyMobDead";
  1281. areamonster "2@tower",9,267,19,303,"Scorpion",1001,5,instance_npcname("30FGate102tower", instance_id())+"::OnMyMobDead";
  1282. end;
  1283. OnTouch_:
  1284. warp "2@tower",52,270;
  1285. end;
  1286. OnMyMobDead:
  1287. set .@mob_dead_num,mobcount("2@tower",instance_npcname("30FGate102tower", instance_id())+"::OnMyMobDead");
  1288. if (.@mob_dead_num < 1) {
  1289. instance_announce 0, "All Monsters on the 31st Floor have been defeated.",bc_map,"0xffff00";
  1290. donpcevent instance_npcname("31FGate102tower", instance_id())+"::OnEnable";
  1291. //SetItemPartyInMap in_102floor 31
  1292. }
  1293. else
  1294. instance_announce 0, "Remaining Monsters on the 31st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1295. end;
  1296. }
  1297. 2@tower,12,309,0 script 31FGate102tower 45,2,2,{
  1298. OnInstanceInit:
  1299. disablenpc instance_npcname("31FGate102tower", instance_id());
  1300. end;
  1301. OnEnable:
  1302. enablenpc instance_npcname("31FGate102tower", instance_id());
  1303. areamonster "2@tower",93,267,103,303,"Goblin Leader",1299,1,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
  1304. areamonster "2@tower",93,267,103,303,"Goblin Archer",1258,10,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
  1305. areamonster "2@tower",93,267,103,303,"Goblin",1122,10,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
  1306. areamonster "2@tower",93,267,103,303,"Goblin",1123,5,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
  1307. areamonster "2@tower",93,267,103,303,"Goblin",1124,5,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
  1308. areamonster "2@tower",93,267,103,303,"Goblin",1125,5,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
  1309. areamonster "2@tower",93,267,103,303,"Goblin",1126,5,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
  1310. end;
  1311. OnTouch_:
  1312. warp "2@tower",136,270;
  1313. end;
  1314. OnMyMobDead:
  1315. set .@mob_dead_num,mobcount("2@tower",instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead");
  1316. if (.@mob_dead_num < 1) {
  1317. instance_announce 0, "All Monsters on the 32nd Floor have been defeated.",bc_map,"0xffff00";
  1318. donpcevent instance_npcname("32FGate102tower", instance_id())+"::OnEnable";
  1319. //SetItemPartyInMap in_102floor 32
  1320. }
  1321. else
  1322. instance_announce 0, "Remaining Monsters on the 32nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1323. end;
  1324. }
  1325. 2@tower,96,309,0 script 32FGate102tower 45,2,2,{
  1326. OnInstanceInit:
  1327. disablenpc instance_npcname("32FGate102tower", instance_id());
  1328. end;
  1329. OnEnable:
  1330. enablenpc instance_npcname("32FGate102tower", instance_id());
  1331. areamonster "2@tower",181,267,191,303,"Kobold Leader",1296,1,instance_npcname("32FGate102tower", instance_id())+"::OnMyMobDead";
  1332. areamonster "2@tower",181,267,191,303,"Kobold",1133,15,instance_npcname("32FGate102tower", instance_id())+"::OnMyMobDead";
  1333. areamonster "2@tower",181,267,191,303,"Kobold_Archer",1282,15,instance_npcname("32FGate102tower", instance_id())+"::OnMyMobDead";
  1334. areamonster "2@tower",181,267,191,303,"Kobold",1134,10,instance_npcname("32FGate102tower", instance_id())+"::OnMyMobDead";
  1335. areamonster "2@tower",181,267,191,303,"Kobold",1135,5,instance_npcname("32FGate102tower", instance_id())+"::OnMyMobDead";
  1336. end;
  1337. OnTouch_:
  1338. warp "2@tower",224,270;
  1339. end;
  1340. OnMyMobDead:
  1341. set .@mob_dead_num,mobcount("2@tower",instance_npcname("32FGate102tower", instance_id())+"::OnMyMobDead");
  1342. if (.@mob_dead_num < 1) {
  1343. instance_announce 0, "All Monsters on the 33rd Floor have been defeated.",bc_map,"0xffff00";
  1344. donpcevent instance_npcname("33FGate102tower", instance_id())+"::OnEnable";
  1345. //SetItemPartyInMap in_102floor 33
  1346. }
  1347. else
  1348. instance_announce 0, "Remaining Monsters on the 33rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1349. end;
  1350. }
  1351. 2@tower,184,309,0 script 33FGate102tower 45,2,2,{
  1352. OnInstanceInit:
  1353. disablenpc instance_npcname("33FGate102tower", instance_id());
  1354. end;
  1355. OnEnable:
  1356. enablenpc instance_npcname("33FGate102tower", instance_id());
  1357. areamonster "2@tower",267,267,277,303,"Flame Skull",1869,20,instance_npcname("33FGate102tower", instance_id())+"::OnMyMobDead";
  1358. areamonster "2@tower",267,267,277,303,"Whisper",1179,10,instance_npcname("33FGate102tower", instance_id())+"::OnMyMobDead";
  1359. areamonster "2@tower",267,267,277,303,"Giant Whisper",1186,10,instance_npcname("33FGate102tower", instance_id())+"::OnMyMobDead";
  1360. end;
  1361. OnTouch_:
  1362. warp "2@tower",310,270;
  1363. end;
  1364. OnMyMobDead:
  1365. set .@mob_dead_num,mobcount("2@tower",instance_npcname("33FGate102tower", instance_id())+"::OnMyMobDead");
  1366. if (.@mob_dead_num < 1) {
  1367. instance_announce 0, "All Monsters on the 34th Floor have been defeated.",bc_map,"0xffff00";
  1368. donpcevent instance_npcname("34FGate102tower", instance_id())+"::OnEnable";
  1369. //SetItemPartyInMap in_102floor 34
  1370. }
  1371. else
  1372. instance_announce 0, "Remaining Monsters on the 34th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1373. end;
  1374. }
  1375. 2@tower,270,309,0 script 34FGate102tower 45,2,2,{
  1376. OnInstanceInit:
  1377. disablenpc instance_npcname("34FGate102tower", instance_id());
  1378. end;
  1379. OnEnable:
  1380. enablenpc instance_npcname("34FGate102tower", instance_id());
  1381. areamonster "2@tower",352,267,362,303,"Turtle General",1312,1,instance_npcname("34FGate102tower", instance_id())+"::OnMyMobDead";
  1382. areamonster "2@tower",352,267,362,303,"Freezer",1319,10,instance_npcname("34FGate102tower", instance_id())+"::OnMyMobDead";
  1383. areamonster "2@tower",352,267,362,303,"Solider",1316,10,instance_npcname("34FGate102tower", instance_id())+"::OnMyMobDead";
  1384. areamonster "2@tower",352,267,362,303,"Heater",1318,10,instance_npcname("34FGate102tower", instance_id())+"::OnMyMobDead";
  1385. areamonster "2@tower",352,267,362,303,"Permeter",1314,10,instance_npcname("34FGate102tower", instance_id())+"::OnMyMobDead";
  1386. end;
  1387. OnTouch_:
  1388. warp "2@tower",395,270;
  1389. end;
  1390. OnMyMobDead:
  1391. set .@mob_dead_num,mobcount("2@tower",instance_npcname("34FGate102tower", instance_id())+"::OnMyMobDead");
  1392. if (.@mob_dead_num < 1) {
  1393. instance_announce 0, "All Monsters on the 35th Floor have been defeated.",bc_map,"0xffff00";
  1394. donpcevent instance_npcname("35FGate102tower", instance_id())+"::OnEnable";
  1395. //SetItemPartyInMap in_102floor 35
  1396. }
  1397. else
  1398. instance_announce 0, "Remaining Monsters on the 35th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1399. end;
  1400. }
  1401. 2@tower,355,309,0 script 35FGate102tower 45,2,2,{
  1402. OnInstanceInit:
  1403. disablenpc instance_npcname("35FGate102tower", instance_id());
  1404. end;
  1405. OnEnable:
  1406. enablenpc instance_npcname("35FGate102tower", instance_id());
  1407. areamonster "2@tower",9,180,19,216,"Anolian",1206,30,instance_npcname("35FGate102tower", instance_id())+"::OnMyMobDead";
  1408. areamonster "2@tower",9,180,19,216,"Grove",1687,10,instance_npcname("35FGate102tower", instance_id())+"::OnMyMobDead";
  1409. areamonster "2@tower",9,180,19,216,"Alligator",1271,10,instance_npcname("35FGate102tower", instance_id())+"::OnMyMobDead";
  1410. end;
  1411. OnTouch_:
  1412. warp "2@tower",52,183;
  1413. end;
  1414. OnMyMobDead:
  1415. set .@mob_dead_num,mobcount("2@tower",instance_npcname("35FGate102tower", instance_id())+"::OnMyMobDead");
  1416. if (.@mob_dead_num < 1) {
  1417. instance_announce 0, "All Monsters on the 36th Floor have been defeated.",bc_map,"0xffff00";
  1418. donpcevent instance_npcname("36FGate102tower", instance_id())+"::OnEnable";
  1419. //SetItemPartyInMap in_102floor 36
  1420. }
  1421. else
  1422. instance_announce 0, "Remaining Monsters on the 36th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1423. end;
  1424. }
  1425. 2@tower,12,222,0 script 36FGate102tower 45,2,2,{
  1426. OnInstanceInit:
  1427. disablenpc instance_npcname("36FGate102tower", instance_id());
  1428. end;
  1429. OnEnable:
  1430. enablenpc instance_npcname("36FGate102tower", instance_id());
  1431. areamonster "2@tower",93,180,103,216,"Clock Tower Manager",1270,10,instance_npcname("36FGate102tower", instance_id())+"::OnMyMobDead";
  1432. areamonster "2@tower",93,180,103,216,"Clock",1269,10,instance_npcname("36FGate102tower", instance_id())+"::OnMyMobDead";
  1433. areamonster "2@tower",93,180,103,216,"Alarm",1193,30,instance_npcname("36FGate102tower", instance_id())+"::OnMyMobDead";
  1434. end;
  1435. OnTouch_:
  1436. warp "2@tower",136,183;
  1437. end;
  1438. OnMyMobDead:
  1439. set .@mob_dead_num,mobcount("2@tower",instance_npcname("36FGate102tower", instance_id())+"::OnMyMobDead");
  1440. if (.@mob_dead_num < 1) {
  1441. instance_announce 0, "All Monsters on the 37th Floor have been defeated.",bc_map,"0xffff00";
  1442. donpcevent instance_npcname("37FGate102tower", instance_id())+"::OnEnable";
  1443. //SetItemPartyInMap in_102floor 37
  1444. }
  1445. else
  1446. instance_announce 0, "Remaining Monsters on the 37th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1447. end;
  1448. }
  1449. 2@tower,96,222,0 script 37FGate102tower 45,2,2,{
  1450. OnInstanceInit:
  1451. disablenpc instance_npcname("37FGate102tower", instance_id());
  1452. end;
  1453. OnEnable:
  1454. enablenpc instance_npcname("37FGate102tower", instance_id());
  1455. areamonster "2@tower",181,180,191,216,"Death Word",1698,25,instance_npcname("37FGate102tower", instance_id())+"::OnMyMobDead";
  1456. areamonster "2@tower",181,180,191,216,"Rideword",1195,25,instance_npcname("37FGate102tower", instance_id())+"::OnMyMobDead";
  1457. end;
  1458. OnTouch_:
  1459. warp "2@tower",224,183;
  1460. end;
  1461. OnMyMobDead:
  1462. set .@mob_dead_num,mobcount("2@tower",instance_npcname("37FGate102tower", instance_id())+"::OnMyMobDead");
  1463. if (.@mob_dead_num < 1) {
  1464. instance_announce 0, "All Monsters on the 38th Floor have been defeated.",bc_map,"0xffff00";
  1465. donpcevent instance_npcname("38FGate102tower", instance_id())+"::OnEnable";
  1466. //SetItemPartyInMap in_102floor 38
  1467. }
  1468. else
  1469. instance_announce 0, "Remaining Monsters on the 38th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1470. end;
  1471. }
  1472. 2@tower,184,222,0 script 38FGate102tower 45,2,2,{
  1473. OnInstanceInit:
  1474. disablenpc instance_npcname("38FGate102tower", instance_id());
  1475. end;
  1476. OnEnable:
  1477. enablenpc instance_npcname("38FGate102tower", instance_id());
  1478. areamonster "2@tower",267,180,277,216,"Evil Nymph",1416,10,instance_npcname("38FGate102tower", instance_id())+"::OnMyMobDead";
  1479. areamonster "2@tower",267,180,277,216,"Mao Gui",1513,10,instance_npcname("38FGate102tower", instance_id())+"::OnMyMobDead";
  1480. areamonster "2@tower",267,180,277,216,"Taoist Hermit",1412,10,instance_npcname("38FGate102tower", instance_id())+"::OnMyMobDead";
  1481. areamonster "2@tower",267,180,277,216,"Zhu Po Long",1514,10,instance_npcname("38FGate102tower", instance_id())+"::OnMyMobDead";
  1482. areamonster "2@tower",267,180,277,216,"Jin Guai",1517,5,instance_npcname("38FGate102tower", instance_id())+"::OnMyMobDead";
  1483. end;
  1484. OnTouch_:
  1485. warp "2@tower",310,183;
  1486. end;
  1487. OnMyMobDead:
  1488. set .@mob_dead_num,mobcount("2@tower",instance_npcname("38FGate102tower", instance_id())+"::OnMyMobDead");
  1489. if (.@mob_dead_num < 1) {
  1490. instance_announce 0, "All Monsters on the 39th Floor have been defeated.",bc_map,"0xffff00";
  1491. donpcevent instance_npcname("39FGate102tower", instance_id())+"::OnEnable";
  1492. //SetItemPartyInMap in_102floor 39
  1493. }
  1494. else
  1495. instance_announce 0, "Remaining Monsters on the 39th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1496. end;
  1497. }
  1498. 2@tower,270,222,0 script 39FGate102tower 45,2,2,{
  1499. OnInstanceInit:
  1500. disablenpc instance_npcname("39FGate102tower", instance_id());
  1501. end;
  1502. OnEnable:
  1503. enablenpc instance_npcname("39FGate102tower", instance_id());
  1504. areamonster "2@tower",352,180,362,216,"Samurai Specter",1492,1,instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead";
  1505. areamonster "2@tower",352,180,362,216,"Shinobi",1401,10,instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead";
  1506. areamonster "2@tower",352,180,362,216,"Tengu",1405,10,instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead";
  1507. areamonster "2@tower",352,180,362,216,"Firelock Soldier",1403,5,instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead";
  1508. areamonster "2@tower",352,180,362,216,"Miyabi Doll",1404,10,instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead";
  1509. areamonster "2@tower",352,180,362,216,"Karakasa",1400,5,instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead";
  1510. end;
  1511. OnTouch_:
  1512. warp "2@tower",395,183;
  1513. end;
  1514. OnMyMobDead:
  1515. set .@mob_dead_num,mobcount("2@tower",instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead");
  1516. if (.@mob_dead_num < 1) {
  1517. instance_announce 0, "All Monsters on the 40th Floor have been defeated.",bc_map,"0xffff00";
  1518. donpcevent instance_npcname("40FGate102tower", instance_id())+"::OnEnable";
  1519. //SetItemPartyInMap in_102floor 40
  1520. }
  1521. else
  1522. instance_announce 0, "Remaining Monsters on the 40th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1523. end;
  1524. }
  1525. 2@tower,355,222,0 script 40FGate102tower 45,2,2,{
  1526. OnInstanceInit:
  1527. disablenpc instance_npcname("40FGate102tower", instance_id());
  1528. end;
  1529. OnEnable:
  1530. enablenpc instance_npcname("40FGate102tower", instance_id());
  1531. areamonster "2@tower",9,96,19,132,"Kraben",1587,50,instance_npcname("40FGate102tower", instance_id())+"::OnMyMobDead";
  1532. end;
  1533. OnTouch_:
  1534. warp "2@tower",52,99;
  1535. end;
  1536. OnMyMobDead:
  1537. set .@mob_dead_num,mobcount("2@tower",instance_npcname("40FGate102tower", instance_id())+"::OnMyMobDead");
  1538. if (.@mob_dead_num < 1) {
  1539. instance_announce 0, "All Monsters on the 41st Floor have been defeated.",bc_map,"0xffff00";
  1540. donpcevent instance_npcname("41FGate102tower", instance_id())+"::OnEnable";
  1541. //SetItemPartyInMap in_102floor 41
  1542. }
  1543. else
  1544. instance_announce 0, "Remaining Monsters on the 41st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1545. end;
  1546. }
  1547. 2@tower,12,138,0 script 41FGate102tower 45,2,2,{
  1548. OnInstanceInit:
  1549. disablenpc instance_npcname("41FGate102tower", instance_id());
  1550. end;
  1551. OnEnable:
  1552. enablenpc instance_npcname("41FGate102tower", instance_id());
  1553. areamonster "2@tower",93,96,103,132,"Sleeper",1386,20,instance_npcname("41FGate102tower", instance_id())+"::OnMyMobDead";
  1554. areamonster "2@tower",93,96,103,132,"Sting",1207,10,instance_npcname("41FGate102tower", instance_id())+"::OnMyMobDead";
  1555. areamonster "2@tower",93,96,103,132,"Mi Gao",1516,10,instance_npcname("41FGate102tower", instance_id())+"::OnMyMobDead";
  1556. areamonster "2@tower",93,96,103,132,"Sandman",1165,5,instance_npcname("41FGate102tower", instance_id())+"::OnMyMobDead";
  1557. areamonster "2@tower",93,96,103,132,"Hode",1127,5,instance_npcname("41FGate102tower", instance_id())+"::OnMyMobDead";
  1558. end;
  1559. OnTouch_:
  1560. warp "2@tower",136,99;
  1561. end;
  1562. OnMyMobDead:
  1563. set .@mob_dead_num,mobcount("2@tower",instance_npcname("41FGate102tower", instance_id())+"::OnMyMobDead");
  1564. if (.@mob_dead_num < 1) {
  1565. instance_announce 0, "All Monsters on the 42nd Floor have been defeated.",bc_map,"0xffff00";
  1566. donpcevent instance_npcname("42FGate102tower", instance_id())+"::OnEnable";
  1567. //SetItemPartyInMap in_102floor 42
  1568. }
  1569. else
  1570. instance_announce 0, "Remaining Monsters on the 42nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1571. end;
  1572. }
  1573. 2@tower,96,138,0 script 42FGate102tower 45,2,2,{
  1574. OnInstanceInit:
  1575. disablenpc instance_npcname("42FGate102tower", instance_id());
  1576. end;
  1577. OnEnable:
  1578. enablenpc instance_npcname("42FGate102tower", instance_id());
  1579. areamonster "2@tower",181,96,191,132,"Medusa",1148,10,instance_npcname("42FGate102tower", instance_id())+"::OnMyMobDead";
  1580. areamonster "2@tower",181,96,191,132,"Sidewinder",1037,40,instance_npcname("42FGate102tower", instance_id())+"::OnMyMobDead";
  1581. areamonster "2@tower",181,96,191,132,"Anacondaq",1030,5,instance_npcname("42FGate102tower", instance_id())+"::OnMyMobDead";
  1582. areamonster "2@tower",181,96,191,132,"Boa",1025,5,instance_npcname("42FGate102tower", instance_id())+"::OnMyMobDead";
  1583. end;
  1584. OnTouch_:
  1585. warp "2@tower",224,99;
  1586. end;
  1587. OnMyMobDead:
  1588. set .@mob_dead_num,mobcount("2@tower",instance_npcname("42FGate102tower", instance_id())+"::OnMyMobDead");
  1589. if (.@mob_dead_num < 1) {
  1590. instance_announce 0, "All Monsters on the 43rd Floor have been defeated.",bc_map,"0xffff00";
  1591. donpcevent instance_npcname("43FGate102tower", instance_id())+"::OnEnable";
  1592. //SetItemPartyInMap in_102floor 43
  1593. }
  1594. else
  1595. instance_announce 0, "Remaining Monsters on the 43rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1596. end;
  1597. }
  1598. 2@tower,184,138,0 script 43FGate102tower 45,2,2,{
  1599. OnInstanceInit:
  1600. disablenpc instance_npcname("43FGate102tower", instance_id());
  1601. end;
  1602. OnEnable:
  1603. enablenpc instance_npcname("43FGate102tower", instance_id());
  1604. areamonster "2@tower",267,96,277,132,"Hatii Baby",1515,20,instance_npcname("43FGate102tower", instance_id())+"::OnMyMobDead";
  1605. areamonster "2@tower",267,96,277,132,"Baphomet Jr.",1101,20,instance_npcname("43FGate102tower", instance_id())+"::OnMyMobDead";
  1606. areamonster "2@tower",267,96,277,132,"Orc Baby",1686,1,instance_npcname("43FGate102tower", instance_id())+"::OnMyMobDead";
  1607. areamonster "2@tower",267,96,277,132,"Baby Desert Wolf",1107,10,instance_npcname("43FGate102tower", instance_id())+"::OnMyMobDead";
  1608. areamonster "2@tower",267,96,277,132,"Savage Babe",1167,10,instance_npcname("43FGate102tower", instance_id())+"::OnMyMobDead";
  1609. end;
  1610. OnTouch_:
  1611. warp "2@tower",310,99;
  1612. end;
  1613. OnMyMobDead:
  1614. set .@mob_dead_num,mobcount("2@tower",instance_npcname("43FGate102tower", instance_id())+"::OnMyMobDead");
  1615. if (.@mob_dead_num < 1) {
  1616. instance_announce 0, "All Monsters on the 44th Floor have been defeated.",bc_map,"0xffff00";
  1617. donpcevent instance_npcname("44FGate102tower", instance_id())+"::OnEnable";
  1618. //SetItemPartyInMap in_102floor 44
  1619. }
  1620. else
  1621. instance_announce 0, "Remaining Monsters on the 44th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1622. end;
  1623. }
  1624. 2@tower,270,138,0 script 44FGate102tower 45,2,2,{
  1625. OnInstanceInit:
  1626. disablenpc instance_npcname("44FGate102tower", instance_id());
  1627. end;
  1628. OnEnable:
  1629. enablenpc instance_npcname("44FGate102tower", instance_id());
  1630. areamonster "2@tower",352,96,362,132,"Osiris",1038,1,instance_npcname("44FGate102tower", instance_id())+"::OnMyMobDead";
  1631. areamonster "2@tower",352,96,362,132,"Ancient Mummy",1297,15,instance_npcname("44FGate102tower", instance_id())+"::OnMyMobDead";
  1632. areamonster "2@tower",352,96,362,132,"Verit",1032,15,instance_npcname("44FGate102tower", instance_id())+"::OnMyMobDead";
  1633. areamonster "2@tower",352,96,362,132,"Mummy",1041,20,instance_npcname("44FGate102tower", instance_id())+"::OnMyMobDead";
  1634. end;
  1635. OnTouch_:
  1636. warp "2@tower",395,99;
  1637. end;
  1638. OnMyMobDead:
  1639. set .@mob_dead_num,mobcount("2@tower",instance_npcname("44FGate102tower", instance_id())+"::OnMyMobDead");
  1640. if (.@mob_dead_num < 1) {
  1641. instance_announce 0, "All Monsters on the 45th Floor have been defeated.",bc_map,"0xffff00";
  1642. donpcevent instance_npcname("45FGate102tower", instance_id())+"::OnEnable";
  1643. //SetItemPartyInMap in_102floor 45
  1644. }
  1645. else
  1646. instance_announce 0, "Remaining Monsters on the 45th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1647. end;
  1648. }
  1649. 2@tower,355,138,0 script 45FGate102tower 45,2,2,{
  1650. OnInstanceInit:
  1651. disablenpc instance_npcname("45FGate102tower", instance_id());
  1652. end;
  1653. OnEnable:
  1654. enablenpc instance_npcname("45FGate102tower", instance_id());
  1655. areamonster "2@tower",9,9,19,45,"Seeker",1774,20,instance_npcname("45FGate102tower", instance_id())+"::OnMyMobDead";
  1656. areamonster "2@tower",9,9,19,45,"Beholder",1633,20,instance_npcname("45FGate102tower", instance_id())+"::OnMyMobDead";
  1657. end;
  1658. OnTouch_:
  1659. warp "2@tower",52,12;
  1660. end;
  1661. OnMyMobDead:
  1662. set .@mob_dead_num,mobcount("2@tower",instance_npcname("45FGate102tower", instance_id())+"::OnMyMobDead");
  1663. if (.@mob_dead_num < 1) {
  1664. instance_announce 0, "All Monsters on the 46th Floor have been defeated.",bc_map,"0xffff00";
  1665. donpcevent instance_npcname("46FGate102tower", instance_id())+"::OnEnable";
  1666. //SetItemPartyInMap in_102floor 46
  1667. }
  1668. else
  1669. instance_announce 0, "Remaining Monsters on the 46th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1670. end;
  1671. }
  1672. 2@tower,12,51,0 script 46FGate102tower 45,2,2,{
  1673. OnInstanceInit:
  1674. disablenpc instance_npcname("46FGate102tower", instance_id());
  1675. end;
  1676. OnEnable:
  1677. enablenpc instance_npcname("46FGate102tower", instance_id());
  1678. areamonster "2@tower",93,9,103,45,"Deleter",1384,20,instance_npcname("46FGate102tower", instance_id())+"::OnMyMobDead";
  1679. areamonster "2@tower",93,9,103,45,"Deleter",1385,10,instance_npcname("46FGate102tower", instance_id())+"::OnMyMobDead";
  1680. areamonster "2@tower",93,9,103,45,"Petite",1156,10,instance_npcname("46FGate102tower", instance_id())+"::OnMyMobDead";
  1681. areamonster "2@tower",93,9,103,45,"Petite",1155,10,instance_npcname("46FGate102tower", instance_id())+"::OnMyMobDead";
  1682. end;
  1683. OnTouch_:
  1684. warp "2@tower",136,12;
  1685. end;
  1686. OnMyMobDead:
  1687. set .@mob_dead_num,mobcount("2@tower",instance_npcname("46FGate102tower", instance_id())+"::OnMyMobDead");
  1688. if (.@mob_dead_num < 1) {
  1689. instance_announce 0, "All Monsters on the 47th Floor have been defeated.",bc_map,"0xffff00";
  1690. donpcevent instance_npcname("47FGate102tower", instance_id())+"::OnEnable";
  1691. //SetItemPartyInMap in_102floor 47
  1692. }
  1693. else
  1694. instance_announce 0, "Remaining Monsters on the 47 Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1695. end;
  1696. }
  1697. 2@tower,96,51,0 script 47FGate102tower 45,2,2,{
  1698. OnInstanceInit:
  1699. disablenpc instance_npcname("47FGate102tower", instance_id());
  1700. end;
  1701. OnEnable:
  1702. enablenpc instance_npcname("47FGate102tower", instance_id());
  1703. areamonster "2@tower",181,9,191,45,"Ancient Worm",1305,10,instance_npcname("47FGate102tower", instance_id())+"::OnMyMobDead";
  1704. areamonster "2@tower",181,9,191,45,"Ancient Mummy",1297,10,instance_npcname("47FGate102tower", instance_id())+"::OnMyMobDead";
  1705. areamonster "2@tower",181,9,191,45,"Ancient Mimic",1699,10,instance_npcname("47FGate102tower", instance_id())+"::OnMyMobDead";
  1706. end;
  1707. OnTouch_:
  1708. warp "2@tower",224,12;
  1709. end;
  1710. OnMyMobDead:
  1711. set .@mob_dead_num,mobcount("2@tower",instance_npcname("47FGate102tower", instance_id())+"::OnMyMobDead");
  1712. if (.@mob_dead_num < 1) {
  1713. instance_announce 0, "All Monsters on the 48th Floor have been defeated.",bc_map,"0xffff00";
  1714. donpcevent instance_npcname("48FGate102tower", instance_id())+"::OnEnable";
  1715. //SetItemPartyInMap in_102floor 48
  1716. }
  1717. else
  1718. instance_announce 0, "Remaining Monsters on the 48th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1719. end;
  1720. }
  1721. 2@tower,184,51,0 script 48FGate102tower 45,2,2,{
  1722. OnInstanceInit:
  1723. disablenpc instance_npcname("48FGate102tower", instance_id());
  1724. end;
  1725. OnEnable:
  1726. enablenpc instance_npcname("48FGate102tower", instance_id());
  1727. areamonster "2@tower",267,9,277,45,"Grizzly",1381,20,instance_npcname("48FGate102tower", instance_id())+"::OnMyMobDead";
  1728. areamonster "2@tower",267,9,277,45,"Leib Olmai",1306,7,instance_npcname("48FGate102tower", instance_id())+"::OnMyMobDead";
  1729. areamonster "2@tower",267,9,277,45,"Zipper Bear",1417,5,instance_npcname("48FGate102tower", instance_id())+"::OnMyMobDead";
  1730. areamonster "2@tower",267,9,277,45,"Sasquatch",1243,5,instance_npcname("48FGate102tower", instance_id())+"::OnMyMobDead";
  1731. areamonster "2@tower",267,9,277,45,"Bigfoot",1060,5,instance_npcname("48FGate102tower", instance_id())+"::OnMyMobDead";
  1732. end;
  1733. OnTouch_:
  1734. warp "2@tower",310,12;
  1735. end;
  1736. OnMyMobDead:
  1737. set .@mob_dead_num,mobcount("2@tower",instance_npcname("48FGate102tower", instance_id())+"::OnMyMobDead");
  1738. if (.@mob_dead_num < 1) {
  1739. instance_announce 0, "All Monsters on the 49th Floor have been defeated.",bc_map,"0xffff00";
  1740. donpcevent instance_npcname("49FGate102tower", instance_id())+"::OnEnable";
  1741. //SetItemPartyInMap in_102floor 49
  1742. }
  1743. else
  1744. instance_announce 0, "Remaining Monsters on the 49th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1745. end;
  1746. }
  1747. 2@tower,270,51,0 script 49FGate102tower 45,2,2,{
  1748. OnInstanceInit:
  1749. disablenpc instance_npcname("49FGate102tower", instance_id());
  1750. end;
  1751. OnEnable:
  1752. enablenpc instance_npcname("49FGate102tower", instance_id());
  1753. areamonster "2@tower",352,9,362,45,"Pharaoh",1157,1,instance_npcname("49FGate102tower", instance_id())+"::OnMyMobDead";
  1754. areamonster "2@tower",352,9,362,45,"Amon Ra",1511,1,instance_npcname("49FGate102tower", instance_id())+"::OnMyMobDead";
  1755. areamonster "2@tower",352,9,362,45,"Anubis",1098,10,instance_npcname("49FGate102tower", instance_id())+"::OnMyMobDead";
  1756. areamonster "2@tower",352,9,362,45,"Marduk",1140,10,instance_npcname("49FGate102tower", instance_id())+"::OnMyMobDead";
  1757. areamonster "2@tower",352,9,362,45,"Matyr",1146,10,instance_npcname("49FGate102tower", instance_id())+"::OnMyMobDead";
  1758. end;
  1759. OnTouch_:
  1760. warp "2@tower",395,12;
  1761. end;
  1762. OnMyMobDead:
  1763. set .@mob_dead_num,mobcount("2@tower",instance_npcname("49FGate102tower", instance_id())+"::OnMyMobDead");
  1764. if (.@mob_dead_num < 1) {
  1765. instance_announce 0, "All Monsters on the 50th Floor have been defeated.",bc_map,"0xffff00";
  1766. donpcevent instance_npcname("50FGate102tower", instance_id())+"::OnEnable";
  1767. //SetItemPartyInMap in_102floor 50
  1768. }
  1769. else
  1770. instance_announce 0, "Remaining Monsters on the 50th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1771. end;
  1772. }
  1773. 2@tower,355,51,0 script 50FGate102tower 45,2,2,{
  1774. OnInstanceInit:
  1775. disablenpc instance_npcname("50FGate102tower", instance_id());
  1776. end;
  1777. OnEnable:
  1778. enablenpc instance_npcname("50FGate102tower", instance_id());
  1779. initnpctimer;
  1780. end;
  1781. OnTouch_:
  1782. getitem 6000,1; //Dark_Ashes
  1783. warp "3@tower",52,354;
  1784. end;
  1785. OnTimer120000:
  1786. disablenpc instance_npcname("50FGate102tower", instance_id());
  1787. donpcevent instance_npcname("50FGate102tower-2", instance_id())+"::OnEnable";
  1788. stopnpctimer;
  1789. end;
  1790. }
  1791. 2@tower,355,51,0 script 50FGate102tower-2 45,2,2,{
  1792. OnInstanceInit:
  1793. disablenpc instance_npcname("50FGate102tower-2", instance_id());
  1794. end;
  1795. OnEnable:
  1796. enablenpc instance_npcname("50FGate102tower-2", instance_id());
  1797. end;
  1798. OnTouch_:
  1799. warp "3@tower",52,354;
  1800. end;
  1801. }
  1802. 2@tower,71,1,0 script #Manager Mode2 844,{
  1803. mes "Please enter the password.";
  1804. input .@inputstr$;
  1805. next;
  1806. if (.@inputstr$ == "dmc2008") {
  1807. mes "This NPC manages the tower from the 26st to the 50th Floor.";
  1808. mes "Please enter the Floor number to open.";
  1809. mes "(i.g.: 26F->26, 50F->50)";
  1810. input .@input,26,50;
  1811. next;
  1812. if (.@onput < 26 || .@input > 50)
  1813. mes "You can only enter a number from 26 to 50.";
  1814. else {
  1815. donpcevent instance_npcname(.@input+"FGate102tower", instance_id())+"::OnEnable";
  1816. mes "*** Floor "+ .@input + " is now being opened. ***";
  1817. }
  1818. }
  1819. close;
  1820. }
  1821. // Floors 51-75
  1822. 3@tower,29,365,2 script Immortal Furnace#2 844,{
  1823. OnInstanceInit:
  1824. areamonster "3@tower",9,351,19,387,"Mini Demon",1292,20,instance_npcname("Immortal Furnace#2", instance_id())+"::OnMyMobDead";
  1825. areamonster "3@tower",9,351,19,387,"Diabolic",1382,20,instance_npcname("Immortal Furnace#2", instance_id())+"::OnMyMobDead";
  1826. areamonster "3@tower",9,351,19,387,"Deviruchi",1109,10,instance_npcname("Immortal Furnace#2", instance_id())+"::OnMyMobDead";
  1827. end;
  1828. OnMyMobDead:
  1829. set .@mob_dead_num,mobcount("3@tower",instance_npcname("Immortal Furnace#2", instance_id())+"::OnMyMobDead");
  1830. if (.@mob_dead_num < 1) {
  1831. instance_announce 0, "All Monsters on the 51st Floor have been defeated.",bc_map,"0xffff00";
  1832. donpcevent instance_npcname("51FGate102tower", instance_id())+"::OnEnable";
  1833. //SetItemPartyInMap in_102floor 51
  1834. }
  1835. else
  1836. instance_announce 0, "Remaining Monsters on the 51st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1837. end;
  1838. }
  1839. 3@tower,12,393,0 script 51FGate102tower 45,2,2,{
  1840. OnInstanceInit:
  1841. disablenpc instance_npcname("51FGate102tower", instance_id());
  1842. end;
  1843. OnEnable:
  1844. enablenpc instance_npcname("51FGate102tower", instance_id());
  1845. areamonster "3@tower",93,351,103,387,"Harpy",1376,20,instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead";
  1846. areamonster "3@tower",93,351,103,387,"Grand Peco",1369,10,instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead";
  1847. areamonster "3@tower",93,351,103,387,"Bloody Butterfly",1408,10,instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead";
  1848. areamonster "3@tower",93,351,103,387,"Gargoyle",1253,10,instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead";
  1849. areamonster "3@tower",93,351,103,387,"Hill Wind",1680,5,instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead";
  1850. areamonster "3@tower",93,351,103,387,"Hill Wind",1629,5,instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead";
  1851. end;
  1852. OnTouch_:
  1853. warp "3@tower",136,354;
  1854. end;
  1855. OnMyMobDead:
  1856. set .@mob_dead_num,mobcount("3@tower",instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead");
  1857. if (.@mob_dead_num < 1) {
  1858. instance_announce 0, "All Monsters on the 52nd Floor have been defeated.",bc_map,"0xffff00";
  1859. donpcevent instance_npcname("52FGate102tower", instance_id())+"::OnEnable";
  1860. //SetItemPartyInMap in_102floor 52
  1861. }
  1862. else
  1863. instance_announce 0, "Remaining Monsters on the 52nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1864. end;
  1865. }
  1866. 3@tower,96,393,0 script 52FGate102tower 45,2,2,{
  1867. OnInstanceInit:
  1868. disablenpc instance_npcname("52FGate102tower", instance_id());
  1869. end;
  1870. OnEnable:
  1871. enablenpc instance_npcname("52FGate102tower", instance_id());
  1872. areamonster "3@tower",181,351,191,387,"Assaulter",1315,25,instance_npcname("52FGate102tower", instance_id())+"::OnMyMobDead";
  1873. areamonster "3@tower",181,351,191,387,"Shinobi",1401,30,instance_npcname("52FGate102tower", instance_id())+"::OnMyMobDead";
  1874. end;
  1875. OnTouch_:
  1876. warp "3@tower",224,354;
  1877. end;
  1878. OnMyMobDead:
  1879. set .@mob_dead_num,mobcount("3@tower",instance_npcname("52FGate102tower", instance_id())+"::OnMyMobDead");
  1880. if (.@mob_dead_num < 1) {
  1881. instance_announce 0, "All Monsters on the 53rd Floor have been defeated.",bc_map,"0xffff00";
  1882. donpcevent instance_npcname("53FGate102tower", instance_id())+"::OnEnable";
  1883. //SetItemPartyInMap in_102floor 53
  1884. }
  1885. else
  1886. instance_announce 0, "Remaining Monsters on the 53rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1887. end;
  1888. }
  1889. 3@tower,184,393,0 script 53FGate102tower 45,2,2,{
  1890. OnInstanceInit:
  1891. disablenpc instance_npcname("53FGate102tower", instance_id());
  1892. end;
  1893. OnEnable:
  1894. enablenpc instance_npcname("53FGate102tower", instance_id());
  1895. areamonster "3@tower",267,351,277,387,"Chepet",1250,10,instance_npcname("53FGate102tower", instance_id())+"::OnMyMobDead";
  1896. areamonster "3@tower",267,351,277,387,"Mariontte",1143,10,instance_npcname("53FGate102tower", instance_id())+"::OnMyMobDead";
  1897. areamonster "3@tower",267,351,277,387,"Miyabi Doll",1404,10,instance_npcname("53FGate102tower", instance_id())+"::OnMyMobDead";
  1898. end;
  1899. OnTouch_:
  1900. warp "3@tower",310,354;
  1901. end;
  1902. OnMyMobDead:
  1903. set .@mob_dead_num,mobcount("3@tower",instance_npcname("53FGate102tower", instance_id())+"::OnMyMobDead");
  1904. if (.@mob_dead_num < 1) {
  1905. instance_announce 0, "All Monsters on the 54th Floor have been defeated.",bc_map,"0xffff00";
  1906. donpcevent instance_npcname("54FGate102tower", instance_id())+"::OnEnable";
  1907. //SetItemPartyInMap in_102floor 54
  1908. }
  1909. else
  1910. instance_announce 0, "Remaining Monsters on the 54th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1911. end;
  1912. }
  1913. 3@tower,270,393,0 script 54FGate102tower 45,2,2,{
  1914. OnInstanceInit:
  1915. disablenpc instance_npcname("54FGate102tower", instance_id());
  1916. end;
  1917. OnEnable:
  1918. enablenpc instance_npcname("54FGate102tower", instance_id());
  1919. areamonster "3@tower",352,351,362,387,"Medusa",1148,25,instance_npcname("54FGate102tower", instance_id())+"::OnMyMobDead";
  1920. areamonster "3@tower",352,351,362,387,"Evil Snake Lord",1418,1,instance_npcname("54FGate102tower", instance_id())+"::OnMyMobDead";
  1921. areamonster "3@tower",352,351,362,387,"Isis",1029,15,instance_npcname("54FGate102tower", instance_id())+"::OnMyMobDead";
  1922. areamonster "3@tower",352,351,362,387,"Sidewinder",1037,15,instance_npcname("54FGate102tower", instance_id())+"::OnMyMobDead";
  1923. end;
  1924. OnTouch_:
  1925. warp "3@tower",395,354;
  1926. end;
  1927. OnMyMobDead:
  1928. set .@mob_dead_num,mobcount("3@tower",instance_npcname("54FGate102tower", instance_id())+"::OnMyMobDead");
  1929. if (.@mob_dead_num < 1) {
  1930. instance_announce 0, "All Monsters on the 55th Floor have been defeated.",bc_map,"0xffff00";
  1931. donpcevent instance_npcname("55FGate102tower", instance_id())+"::OnEnable";
  1932. //SetItemPartyInMap in_102floor 55
  1933. }
  1934. else
  1935. instance_announce 0, "Remaining Monsters on the 55th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1936. end;
  1937. }
  1938. 3@tower,355,393,0 script 55FGate102tower 45,2,2,{
  1939. OnInstanceInit:
  1940. disablenpc instance_npcname("55FGate102tower", instance_id());
  1941. end;
  1942. OnEnable:
  1943. enablenpc instance_npcname("55FGate102tower", instance_id());
  1944. areamonster "3@tower",9,267,19,303,"Freezer",1319,10,instance_npcname("55FGate102tower", instance_id())+"::OnMyMobDead";
  1945. areamonster "3@tower",9,267,19,303,"Hatii Baby",1515,10,instance_npcname("55FGate102tower", instance_id())+"::OnMyMobDead";
  1946. areamonster "3@tower",9,267,19,303,"Ice Titan",1777,15,instance_npcname("55FGate102tower", instance_id())+"::OnMyMobDead";
  1947. areamonster "3@tower",9,267,19,303,"Snowier",1775,10,instance_npcname("55FGate102tower", instance_id())+"::OnMyMobDead";
  1948. areamonster "3@tower",9,267,19,303,"Gazeti",1778,10,instance_npcname("55FGate102tower", instance_id())+"::OnMyMobDead";
  1949. end;
  1950. OnTouch_:
  1951. warp "3@tower",52,270;
  1952. end;
  1953. OnMyMobDead:
  1954. set .@mob_dead_num,mobcount("3@tower",instance_npcname("55FGate102tower", instance_id())+"::OnMyMobDead");
  1955. if (.@mob_dead_num < 1) {
  1956. instance_announce 0, "All Monsters on the 56th Floor have been defeated.",bc_map,"0xffff00";
  1957. donpcevent instance_npcname("56FGate102tower", instance_id())+"::OnEnable";
  1958. //SetItemPartyInMap in_102floor 56
  1959. }
  1960. else
  1961. instance_announce 0, "Remaining Monsters on the 56th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1962. end;
  1963. }
  1964. 3@tower,12,309,0 script 56FGate102tower 45,2,2,{
  1965. OnInstanceInit:
  1966. disablenpc instance_npcname("56FGate102tower", instance_id());
  1967. end;
  1968. OnEnable:
  1969. enablenpc instance_npcname("56FGate102tower", instance_id());
  1970. areamonster "3@tower",93,267,103,303,"Arc Angeling",1388,1,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
  1971. areamonster "3@tower",93,267,103,303,"Deviling",1582,1,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
  1972. areamonster "3@tower",93,267,103,303,"Angeling",1096,1,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
  1973. areamonster "3@tower",93,267,103,303,"Ghostring",1120,1,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
  1974. areamonster "3@tower",93,267,103,303,"Mastering",1090,1,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
  1975. areamonster "3@tower",93,267,103,303,"Metaling",1613,25,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
  1976. areamonster "3@tower",93,267,103,303,"Marin",1242,5,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
  1977. areamonster "3@tower",93,267,103,303,"Poporing",1031,5,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
  1978. areamonster "3@tower",93,267,103,303,"Drops",1113,5,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
  1979. end;
  1980. OnTouch_:
  1981. warp "3@tower",136,270;
  1982. end;
  1983. OnMyMobDead:
  1984. set .@mob_dead_num,mobcount("3@tower",instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead");
  1985. if (.@mob_dead_num < 1) {
  1986. instance_announce 0, "All Monsters on the 57th Floor have been defeated.",bc_map,"0xffff00";
  1987. donpcevent instance_npcname("57FGate102tower", instance_id())+"::OnEnable";
  1988. //SetItemPartyInMap in_102floor 57
  1989. }
  1990. else
  1991. instance_announce 0, "Remaining Monsters on the 57th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1992. end;
  1993. }
  1994. 3@tower,96,309,0 script 57FGate102tower 45,2,2,{
  1995. OnInstanceInit:
  1996. disablenpc instance_npcname("57FGate102tower", instance_id());
  1997. end;
  1998. OnEnable:
  1999. enablenpc instance_npcname("57FGate102tower", instance_id());
  2000. areamonster "3@tower",181,267,191,303,"Phendark",1202,20,instance_npcname("57FGate102tower", instance_id())+"::OnMyMobDead";
  2001. areamonster "3@tower",181,267,191,303,"Rybio",1201,10,instance_npcname("57FGate102tower", instance_id())+"::OnMyMobDead";
  2002. areamonster "3@tower",181,267,191,303,"Zombie Prisoner",1197,10,instance_npcname("57FGate102tower", instance_id())+"::OnMyMobDead";
  2003. areamonster "3@tower",181,267,191,303,"Skeleton Prisoner",1196,5,instance_npcname("57FGate102tower", instance_id())+"::OnMyMobDead";
  2004. areamonster "3@tower",181,267,191,303,"Injustice",1257,5,instance_npcname("57FGate102tower", instance_id())+"::OnMyMobDead";
  2005. end;
  2006. OnTouch_:
  2007. warp "3@tower",224,270;
  2008. end;
  2009. OnMyMobDead:
  2010. set .@mob_dead_num,mobcount("3@tower",instance_npcname("57FGate102tower", instance_id())+"::OnMyMobDead");
  2011. if (.@mob_dead_num < 1) {
  2012. instance_announce 0, "All Monsters on the 58th Floor have been defeated.",bc_map,"0xffff00";
  2013. donpcevent instance_npcname("58FGate102tower", instance_id())+"::OnEnable";
  2014. //SetItemPartyInMap in_102floor 58
  2015. }
  2016. else
  2017. instance_announce 0, "Remaining Monsters on the 58th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2018. end;
  2019. }
  2020. 3@tower,184,309,0 script 58FGate102tower 45,2,2,{
  2021. OnInstanceInit:
  2022. disablenpc instance_npcname("58FGate102tower", instance_id());
  2023. end;
  2024. OnEnable:
  2025. enablenpc instance_npcname("58FGate102tower", instance_id());
  2026. areamonster "3@tower",267,267,277,303,"Ancient Mimic",1699,30,instance_npcname("58FGate102tower", instance_id())+"::OnMyMobDead";
  2027. areamonster "3@tower",267,267,277,303,"Mimic",1191,20,instance_npcname("58FGate102tower", instance_id())+"::OnMyMobDead";
  2028. areamonster "3@tower",267,267,277,303,"Mystcase",1249,10,instance_npcname("58FGate102tower", instance_id())+"::OnMyMobDead";
  2029. end;
  2030. OnTouch_:
  2031. warp "3@tower",310,270;
  2032. end;
  2033. OnMyMobDead:
  2034. set .@mob_dead_num,mobcount("3@tower",instance_npcname("58FGate102tower", instance_id())+"::OnMyMobDead");
  2035. if (.@mob_dead_num < 1) {
  2036. instance_announce 0, "All Monsters on the 59th Floor have been defeated.",bc_map,"0xffff00";
  2037. donpcevent instance_npcname("59FGate102tower", instance_id())+"::OnEnable";
  2038. //SetItemPartyInMap in_102floor 59
  2039. }
  2040. else
  2041. instance_announce 0, "Remaining Monsters on the 59th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2042. end;
  2043. }
  2044. 3@tower,270,309,0 script 59FGate102tower 45,2,2,{
  2045. OnInstanceInit:
  2046. disablenpc instance_npcname("59FGate102tower", instance_id());
  2047. end;
  2048. OnEnable:
  2049. enablenpc instance_npcname("59FGate102tower", instance_id());
  2050. areamonster "3@tower",352,267,362,303,"Egnigem Cenia",1658,1,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
  2051. areamonster "3@tower",352,267,362,303,"Doppelganger",1046,1,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
  2052. areamonster "3@tower",352,267,362,303,"Armeyer Dinze",1654,10,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
  2053. areamonster "3@tower",352,267,362,303,"Wickebine Tres",1653,10,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
  2054. areamonster "3@tower",352,267,362,303,"Laurell Winder",1657,10,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
  2055. areamonster "3@tower",352,267,362,303,"Kavach Icarus",1656,10,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
  2056. areamonster "3@tower",352,267,362,303,"Errende Ebecee",1655,10,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
  2057. areamonster "3@tower",352,267,362,303,"Egnigem Cenia",1652,10,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
  2058. end;
  2059. OnTouch_:
  2060. warp "3@tower",395,270;
  2061. end;
  2062. OnMyMobDead:
  2063. set .@mob_dead_num,mobcount("3@tower",instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead");
  2064. if (.@mob_dead_num < 1) {
  2065. instance_announce 0, "All Monsters on the 60th Floor have been defeated.",bc_map,"0xffff00";
  2066. donpcevent instance_npcname("60FGate102tower", instance_id())+"::OnEnable";
  2067. //SetItemPartyInMap in_102floor 60
  2068. }
  2069. else
  2070. instance_announce 0, "Remaining Monsters on the 60th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2071. end;
  2072. }
  2073. 3@tower,355,309,0 script 60FGate102tower 45,2,2,{
  2074. OnInstanceInit:
  2075. disablenpc instance_npcname("60FGate102tower", instance_id());
  2076. end;
  2077. OnEnable:
  2078. enablenpc instance_npcname("60FGate102tower", instance_id());
  2079. areamonster "3@tower",9,180,19,216,"Agav",1769,10,instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead";
  2080. areamonster "3@tower",9,180,19,216,"Echio",1770,10,instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead";
  2081. areamonster "3@tower",9,180,19,216,"Isilla",1772,5,instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead";
  2082. areamonster "3@tower",9,180,19,216,"Mobster",1313,10,instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead";
  2083. areamonster "3@tower",9,180,19,216,"Pasana",1154,10,instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead";
  2084. areamonster "3@tower",9,180,19,216,"Vanberk",1771,5,instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead";
  2085. end;
  2086. OnTouch_:
  2087. warp "3@tower",52,183;
  2088. end;
  2089. OnMyMobDead:
  2090. set .@mob_dead_num,mobcount("3@tower",instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead");
  2091. if (.@mob_dead_num < 1) {
  2092. instance_announce 0, "All Monsters on the 61st Floor have been defeated.",bc_map,"0xffff00";
  2093. donpcevent instance_npcname("61FGate102tower", instance_id())+"::OnEnable";
  2094. //SetItemPartyInMap in_102floor 61
  2095. }
  2096. else
  2097. instance_announce 0, "Remaining Monsters on the 61st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2098. end;
  2099. }
  2100. 3@tower,12,222,0 script 61FGate102tower 45,2,2,{
  2101. OnInstanceInit:
  2102. disablenpc instance_npcname("61FGate102tower", instance_id());
  2103. end;
  2104. OnEnable:
  2105. enablenpc instance_npcname("61FGate102tower", instance_id());
  2106. areamonster "3@tower",93,180,103,216,"Wanderer",1208,35,instance_npcname("61FGate102tower", instance_id())+"::OnMyMobDead";
  2107. end;
  2108. OnTouch_:
  2109. warp "3@tower",136,183;
  2110. end;
  2111. OnMyMobDead:
  2112. set .@mob_dead_num,mobcount("3@tower",instance_npcname("61FGate102tower", instance_id())+"::OnMyMobDead");
  2113. if (.@mob_dead_num < 1) {
  2114. instance_announce 0, "All Monsters on the 62nd Floor have been defeated.",bc_map,"0xffff00";
  2115. donpcevent instance_npcname("62FGate102tower", instance_id())+"::OnEnable";
  2116. //SetItemPartyInMap in_102floor 62
  2117. }
  2118. else
  2119. instance_announce 0, "Remaining Monsters on the 62nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2120. end;
  2121. }
  2122. 3@tower,96,222,0 script 62FGate102tower 45,2,2,{
  2123. OnInstanceInit:
  2124. disablenpc instance_npcname("62FGate102tower", instance_id());
  2125. end;
  2126. OnEnable:
  2127. enablenpc instance_npcname("62FGate102tower", instance_id());
  2128. areamonster "3@tower",181,180,191,216,"Ragged Zombie",1865,20,instance_npcname("62FGate102tower", instance_id())+"::OnMyMobDead";
  2129. areamonster "3@tower",181,180,191,216,"Zombie Master",1298,10,instance_npcname("62FGate102tower", instance_id())+"::OnMyMobDead";
  2130. areamonster "3@tower",181,180,191,216,"Zombie Prisoner",1197,5,instance_npcname("62FGate102tower", instance_id())+"::OnMyMobDead";
  2131. areamonster "3@tower",181,180,191,216,"Orc Zombie",1153,5,instance_npcname("62FGate102tower", instance_id())+"::OnMyMobDead";
  2132. areamonster "3@tower",181,180,191,216,"Zombie",1015,5,instance_npcname("62FGate102tower", instance_id())+"::OnMyMobDead";
  2133. end;
  2134. OnTouch_:
  2135. warp "3@tower",224,183;
  2136. end;
  2137. OnMyMobDead:
  2138. set .@mob_dead_num,mobcount("3@tower",instance_npcname("62FGate102tower", instance_id())+"::OnMyMobDead");
  2139. if (.@mob_dead_num < 1) {
  2140. instance_announce 0, "All Monsters on the 63rd Floor have been defeated.",bc_map,"0xffff00";
  2141. donpcevent instance_npcname("63FGate102tower", instance_id())+"::OnEnable";
  2142. //SetItemPartyInMap in_102floor 63
  2143. }
  2144. else
  2145. instance_announce 0, "Remaining Monsters on the 63rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2146. end;
  2147. }
  2148. 3@tower,184,222,0 script 63FGate102tower 45,2,2,{
  2149. OnInstanceInit:
  2150. disablenpc instance_npcname("63FGate102tower", instance_id());
  2151. end;
  2152. OnEnable:
  2153. enablenpc instance_npcname("63FGate102tower", instance_id());
  2154. areamonster "3@tower",267,180,277,216,"Ungoliant",1618,30,instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead";
  2155. areamonster "3@tower",267,180,277,216,"Ancient Worm",1305,2,instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead";
  2156. areamonster "3@tower",267,180,277,216,"Caterpillar",1300,2,instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead";
  2157. areamonster "3@tower",267,180,277,216,"Creamy Fear",1293,2,instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead";
  2158. areamonster "3@tower",267,180,277,216,"Killer Mantis",1294,2,instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead";
  2159. areamonster "3@tower",267,180,277,216,"Giant Hornet",1303,2,instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead";
  2160. end;
  2161. OnTouch_:
  2162. warp "3@tower",310,183;
  2163. end;
  2164. OnMyMobDead:
  2165. set .@mob_dead_num,mobcount("3@tower",instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead");
  2166. if (.@mob_dead_num < 1) {
  2167. instance_announce 0, "All Monsters on the 64th Floor have been defeated.",bc_map,"0xffff00";
  2168. donpcevent instance_npcname("64FGate102tower", instance_id())+"::OnEnable";
  2169. //SetItemPartyInMap in_102floor 64
  2170. }
  2171. else
  2172. instance_announce 0, "Remaining Monsters on the 64th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2173. end;
  2174. }
  2175. 3@tower,270,222,0 script 64FGate102tower 45,2,2,{
  2176. OnInstanceInit:
  2177. disablenpc instance_npcname("64FGate102tower", instance_id());
  2178. end;
  2179. OnEnable:
  2180. enablenpc instance_npcname("64FGate102tower", instance_id());
  2181. areamonster "3@tower",352,180,362,216,"Atros",1785,1,instance_npcname("64FGate102tower", instance_id())+"::OnMyMobDead";
  2182. areamonster "3@tower",352,180,362,216,"Galion",1783,20,instance_npcname("64FGate102tower", instance_id())+"::OnMyMobDead";
  2183. end;
  2184. OnTouch_:
  2185. warp "3@tower",395,183;
  2186. end;
  2187. OnMyMobDead:
  2188. set .@mob_dead_num,mobcount("3@tower",instance_npcname("64FGate102tower", instance_id())+"::OnMyMobDead");
  2189. if (.@mob_dead_num < 1) {
  2190. instance_announce 0, "All Monsters on the 65th Floor have been defeated.",bc_map,"0xffff00";
  2191. donpcevent instance_npcname("65FGate102tower", instance_id())+"::OnEnable";
  2192. //SetItemPartyInMap in_102floor 65
  2193. }
  2194. else
  2195. instance_announce 0, "Remaining Monsters on the 65th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2196. end;
  2197. }
  2198. 3@tower,355,222,0 script 65FGate102tower 45,2,2,{
  2199. OnInstanceInit:
  2200. disablenpc instance_npcname("65FGate102tower", instance_id());
  2201. end;
  2202. OnEnable:
  2203. enablenpc instance_npcname("65FGate102tower", instance_id());
  2204. areamonster "3@tower",9,96,19,132,"Incubus",1374,20,instance_npcname("65FGate102tower", instance_id())+"::OnMyMobDead";
  2205. areamonster "3@tower",9,96,19,132,"Aliot",1736,20,instance_npcname("65FGate102tower", instance_id())+"::OnMyMobDead";
  2206. areamonster "3@tower",9,96,19,132,"Injustice",1257,10,instance_npcname("65FGate102tower", instance_id())+"::OnMyMobDead";
  2207. end;
  2208. OnTouch_:
  2209. warp "3@tower",52,99;
  2210. end;
  2211. OnMyMobDead:
  2212. set .@mob_dead_num,mobcount("3@tower",instance_npcname("65FGate102tower", instance_id())+"::OnMyMobDead");
  2213. if (.@mob_dead_num < 1) {
  2214. instance_announce 0, "All Monsters on the 66th Floor have been defeated.",bc_map,"0xffff00";
  2215. donpcevent instance_npcname("66FGate102tower", instance_id())+"::OnEnable";
  2216. //SetItemPartyInMap in_102floor 66
  2217. }
  2218. else
  2219. instance_announce 0, "Remaining Monsters on the 66th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2220. end;
  2221. }
  2222. 3@tower,12,138,0 script 66FGate102tower 45,2,2,{
  2223. OnInstanceInit:
  2224. disablenpc instance_npcname("66FGate102tower", instance_id());
  2225. end;
  2226. OnEnable:
  2227. enablenpc instance_npcname("66FGate102tower", instance_id());
  2228. areamonster "3@tower",93,96,103,132,"Acidus",1716,10,instance_npcname("66FGate102tower", instance_id())+"::OnMyMobDead";
  2229. areamonster "3@tower",93,96,103,132,"Acidus",1713,10,instance_npcname("66FGate102tower", instance_id())+"::OnMyMobDead";
  2230. areamonster "3@tower",93,96,103,132,"Deleter",1384,5,instance_npcname("66FGate102tower", instance_id())+"::OnMyMobDead";
  2231. areamonster "3@tower",93,96,103,132,"Mutant Dragonoid",1262,10,instance_npcname("66FGate102tower", instance_id())+"::OnMyMobDead";
  2232. areamonster "3@tower",93,96,103,132,"Petite",1156,5,instance_npcname("66FGate102tower", instance_id())+"::OnMyMobDead";
  2233. end;
  2234. OnTouch_:
  2235. warp "3@tower",136,99;
  2236. end;
  2237. OnMyMobDead:
  2238. set .@mob_dead_num,mobcount("3@tower",instance_npcname("66FGate102tower", instance_id())+"::OnMyMobDead");
  2239. if (.@mob_dead_num < 1) {
  2240. instance_announce 0, "All Monsters on the 67th Floor have been defeated.",bc_map,"0xffff00";
  2241. donpcevent instance_npcname("67FGate102tower", instance_id())+"::OnEnable";
  2242. //SetItemPartyInMap in_102floor 67
  2243. }
  2244. else
  2245. instance_announce 0, "Remaining Monsters on the 67th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2246. end;
  2247. }
  2248. 3@tower,96,138,0 script 67FGate102tower 45,2,2,{
  2249. OnInstanceInit:
  2250. disablenpc instance_npcname("67FGate102tower", instance_id());
  2251. end;
  2252. OnEnable:
  2253. enablenpc instance_npcname("67FGate102tower", instance_id());
  2254. areamonster "3@tower",181,96,191,132,"Lava Golem",1366,10,instance_npcname("67FGate102tower", instance_id())+"::OnMyMobDead";
  2255. areamonster "3@tower",181,96,191,132,"Stalactic Golem",1278,10,instance_npcname("67FGate102tower", instance_id())+"::OnMyMobDead";
  2256. areamonster "3@tower",181,96,191,132,"Ice Titan",1777,10,instance_npcname("67FGate102tower", instance_id())+"::OnMyMobDead";
  2257. areamonster "3@tower",181,96,191,132,"Wooden Golem",1497,5,instance_npcname("67FGate102tower", instance_id())+"::OnMyMobDead";
  2258. areamonster "3@tower",181,96,191,132,"Golem",1040,5,instance_npcname("67FGate102tower", instance_id())+"::OnMyMobDead";
  2259. end;
  2260. OnTouch_:
  2261. warp "3@tower",224,99;
  2262. end;
  2263. OnMyMobDead:
  2264. set .@mob_dead_num,mobcount("3@tower",instance_npcname("67FGate102tower", instance_id())+"::OnMyMobDead");
  2265. if (.@mob_dead_num < 1) {
  2266. instance_announce 0, "All Monsters on the 68th Floor have been defeated.",bc_map,"0xffff00";
  2267. donpcevent instance_npcname("68FGate102tower", instance_id())+"::OnEnable";
  2268. //SetItemPartyInMap in_102floor 68
  2269. }
  2270. else
  2271. instance_announce 0, "Remaining Monsters on the 68th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2272. end;
  2273. }
  2274. 3@tower,184,138,0 script 68FGate102tower 45,2,2,{
  2275. OnInstanceInit:
  2276. disablenpc instance_npcname("68FGate102tower", instance_id());
  2277. end;
  2278. OnEnable:
  2279. enablenpc instance_npcname("68FGate102tower", instance_id());
  2280. areamonster "3@tower",267,96,277,132,"Dame of Sentinel",1700,20,instance_npcname("68FGate102tower", instance_id())+"::OnMyMobDead";
  2281. areamonster "3@tower",267,96,277,132,"Mistress of Shelter",1701,10,instance_npcname("68FGate102tower", instance_id())+"::OnMyMobDead";
  2282. areamonster "3@tower",267,96,277,132,"Baroness of Retribution",1702,10,instance_npcname("68FGate102tower", instance_id())+"::OnMyMobDead";
  2283. areamonster "3@tower",267,96,277,132,"Lady Solace",1703,10,instance_npcname("68FGate102tower", instance_id())+"::OnMyMobDead";
  2284. areamonster "3@tower",267,96,277,132,"False Angel",1371,10,instance_npcname("68FGate102tower", instance_id())+"::OnMyMobDead";
  2285. end;
  2286. OnTouch_:
  2287. warp "3@tower",310,99;
  2288. end;
  2289. OnMyMobDead:
  2290. set .@mob_dead_num,mobcount("3@tower",instance_npcname("68FGate102tower", instance_id())+"::OnMyMobDead");
  2291. if (.@mob_dead_num < 1) {
  2292. instance_announce 0, "All Monsters on the 69th Floor have been defeated.",bc_map,"0xffff00";
  2293. donpcevent instance_npcname("69FGate102tower", instance_id())+"::OnEnable";
  2294. //SetItemPartyInMap in_102floor 69
  2295. }
  2296. else
  2297. instance_announce 0, "Remaining Monsters on the 69th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2298. end;
  2299. }
  2300. 3@tower,270,138,0 script 69FGate102tower 45,2,2,{
  2301. OnInstanceInit:
  2302. disablenpc instance_npcname("69FGate102tower", instance_id());
  2303. end;
  2304. OnEnable:
  2305. enablenpc instance_npcname("69FGate102tower", instance_id());
  2306. areamonster "3@tower",352,96,362,132,"Orc Hero",1087,1,instance_npcname("69FGate102tower", instance_id())+"::OnMyMobDead";
  2307. areamonster "3@tower",352,96,362,132,"Orc Lord",1190,1,instance_npcname("69FGate102tower", instance_id())+"::OnMyMobDead";
  2308. areamonster "3@tower",352,96,362,132,"Orc Baby",1686,20,instance_npcname("69FGate102tower", instance_id())+"::OnMyMobDead";
  2309. end;
  2310. OnTouch_:
  2311. warp "3@tower",395,99;
  2312. end;
  2313. OnMyMobDead:
  2314. set .@mob_dead_num,mobcount("3@tower",instance_npcname("69FGate102tower", instance_id())+"::OnMyMobDead");
  2315. if (.@mob_dead_num < 1) {
  2316. instance_announce 0, "All Monsters on the 70th Floor have been defeated.",bc_map,"0xffff00";
  2317. donpcevent instance_npcname("70FGate102tower", instance_id())+"::OnEnable";
  2318. //SetItemPartyInMap in_102floor 70
  2319. }
  2320. else
  2321. instance_announce 0, "Remaining Monsters on the 70th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2322. end;
  2323. }
  2324. 3@tower,355,138,0 script 70FGate102tower 45,2,2,{
  2325. OnInstanceInit:
  2326. disablenpc instance_npcname("70FGate102tower", instance_id());
  2327. end;
  2328. OnEnable:
  2329. enablenpc instance_npcname("70FGate102tower", instance_id());
  2330. areamonster "3@tower",9,9,19,45,"Succubus",1370,20,instance_npcname("70FGate102tower", instance_id())+"::OnMyMobDead";
  2331. areamonster "3@tower",9,9,19,45,"Nightmare Terror",1379,20,instance_npcname("70FGate102tower", instance_id())+"::OnMyMobDead";
  2332. areamonster "3@tower",9,9,19,45,"Incubus",1374,20,instance_npcname("70FGate102tower", instance_id())+"::OnMyMobDead";
  2333. areamonster "3@tower",9,9,19,45,"Nightmare",1061,5,instance_npcname("70FGate102tower", instance_id())+"::OnMyMobDead";
  2334. end;
  2335. OnTouch_:
  2336. warp "3@tower",52,12;
  2337. end;
  2338. OnMyMobDead:
  2339. set .@mob_dead_num,mobcount("3@tower",instance_npcname("70FGate102tower", instance_id())+"::OnMyMobDead");
  2340. if (.@mob_dead_num < 1) {
  2341. instance_announce 0, "All Monsters on the 71st Floor have been defeated.",bc_map,"0xffff00";
  2342. donpcevent instance_npcname("71FGate102tower", instance_id())+"::OnEnable";
  2343. //SetItemPartyInMap in_102floor 71
  2344. }
  2345. else
  2346. instance_announce 0, "Remaining Monsters on the 71st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2347. end;
  2348. }
  2349. 3@tower,12,51,0 script 71FGate102tower 45,2,2,{
  2350. OnInstanceInit:
  2351. disablenpc instance_npcname("71FGate102tower", instance_id());
  2352. end;
  2353. OnEnable:
  2354. enablenpc instance_npcname("71FGate102tower", instance_id());
  2355. areamonster "3@tower",93,9,103,45,"Margaretha Sorin",1637,10,instance_npcname("71FGate102tower", instance_id())+"::OnMyMobDead";
  2356. areamonster "3@tower",93,9,103,45,"Permeter",1314,10,instance_npcname("71FGate102tower", instance_id())+"::OnMyMobDead";
  2357. areamonster "3@tower",93,9,103,45,"Errende Ebecee",1655,10,instance_npcname("71FGate102tower", instance_id())+"::OnMyMobDead";
  2358. areamonster "3@tower",93,9,103,45,"Enchanted Peach Tree",1410,10,instance_npcname("71FGate102tower", instance_id())+"::OnMyMobDead";
  2359. end;
  2360. OnTouch_:
  2361. warp "3@tower",136,12;
  2362. end;
  2363. OnMyMobDead:
  2364. set .@mob_dead_num,mobcount("3@tower",instance_npcname("71FGate102tower", instance_id())+"::OnMyMobDead");
  2365. if (.@mob_dead_num < 1) {
  2366. instance_announce 0, "All Monsters on the 72nd Floor have been defeated.",bc_map,"0xffff00";
  2367. donpcevent instance_npcname("72FGate102tower", instance_id())+"::OnEnable";
  2368. //SetItemPartyInMap in_102floor 72
  2369. }
  2370. else
  2371. instance_announce 0, "Remaining Monsters on the 72nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2372. end;
  2373. }
  2374. 3@tower,96,51,0 script 72FGate102tower 45,2,2,{
  2375. OnInstanceInit:
  2376. disablenpc instance_npcname("72FGate102tower", instance_id());
  2377. end;
  2378. OnEnable:
  2379. enablenpc instance_npcname("72FGate102tower", instance_id());
  2380. areamonster "3@tower",181,9,191,45,"Succubus",1370,10,instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead";
  2381. areamonster "3@tower",181,9,191,45,"Loli Ruri",1505,20,instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead";
  2382. areamonster "3@tower",181,9,191,45,"Aliza",1737,10,instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead";
  2383. areamonster "3@tower",181,9,191,45,"Zealotus",1200,5,instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead";
  2384. areamonster "3@tower",181,9,191,45,"Alice",1275,5,instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead";
  2385. areamonster "3@tower",181,9,191,45,"Green Maiden",1519,10,instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead";
  2386. end;
  2387. OnTouch_:
  2388. warp "3@tower",224,12;
  2389. end;
  2390. OnMyMobDead:
  2391. set .@mob_dead_num,mobcount("3@tower",instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead");
  2392. if (.@mob_dead_num < 1) {
  2393. instance_announce 0, "All Monsters on the 73rd Floor have been defeated.",bc_map,"0xffff00";
  2394. donpcevent instance_npcname("73FGate102tower", instance_id())+"::OnEnable";
  2395. //SetItemPartyInMap in_102floor 73
  2396. }
  2397. else
  2398. instance_announce 0, "Remaining Monsters on the 73rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2399. end;
  2400. }
  2401. 3@tower,184,51,0 script 73FGate102tower 45,2,2,{
  2402. OnInstanceInit:
  2403. disablenpc instance_npcname("73FGate102tower", instance_id());
  2404. end;
  2405. OnEnable:
  2406. enablenpc instance_npcname("73FGate102tower", instance_id());
  2407. areamonster "3@tower",267,9,277,45,"Dimik",1671,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
  2408. areamonster "3@tower",267,9,277,45,"Dimik",1673,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
  2409. areamonster "3@tower",267,9,277,45,"Dimik",1672,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
  2410. areamonster "3@tower",267,9,277,45,"Venatu",1677,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
  2411. areamonster "3@tower",267,9,277,45,"Dimik",1670,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
  2412. areamonster "3@tower",267,9,277,45,"Archdam",1668,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
  2413. areamonster "3@tower",267,9,277,45,"Venatu",1678,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
  2414. areamonster "3@tower",267,9,277,45,"Venatu",1679,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
  2415. areamonster "3@tower",267,9,277,45,"Venatu",1676,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
  2416. end;
  2417. OnTouch_:
  2418. warp "3@tower",310,12;
  2419. end;
  2420. OnMyMobDead:
  2421. set .@mob_dead_num,mobcount("3@tower",instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead");
  2422. if (.@mob_dead_num < 1) {
  2423. instance_announce 0, "All Monsters on the 74th Floor have been defeated.",bc_map,"0xffff00";
  2424. donpcevent instance_npcname("74FGate102tower", instance_id())+"::OnEnable";
  2425. //SetItemPartyInMap in_102floor 74
  2426. }
  2427. else
  2428. instance_announce 0, "Remaining Monsters on the 74th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2429. end;
  2430. }
  2431. 3@tower,270,51,0 script 74FGate102tower 45,2,2,{
  2432. OnInstanceInit:
  2433. disablenpc instance_npcname("74FGate102tower", instance_id());
  2434. end;
  2435. OnEnable:
  2436. enablenpc instance_npcname("74FGate102tower", instance_id());
  2437. areamonster "3@tower",352,9,362,45,"Baphomet",1039,1,instance_npcname("74FGate102tower", instance_id())+"::OnMyMobDead";
  2438. areamonster "3@tower",352,9,362,45,"Dark Lord",1272,1,instance_npcname("74FGate102tower", instance_id())+"::OnMyMobDead";
  2439. areamonster "3@tower",352,9,362,45,"Baphomet Jr.",1101,20,instance_npcname("74FGate102tower", instance_id())+"::OnMyMobDead";
  2440. areamonster "3@tower",352,9,362,45,"Dark Illusion",1302,10,instance_npcname("74FGate102tower", instance_id())+"::OnMyMobDead";
  2441. end;
  2442. OnTouch_:
  2443. warp "3@tower",395,12;
  2444. end;
  2445. OnMyMobDead:
  2446. set .@mob_dead_num,mobcount("3@tower",instance_npcname("74FGate102tower", instance_id())+"::OnMyMobDead");
  2447. if (.@mob_dead_num < 1) {
  2448. instance_announce 0, "All Monsters on the 75th Floor have been defeated.",bc_map,"0xffff00";
  2449. donpcevent instance_npcname("75FGate102tower", instance_id())+"::OnEnable";
  2450. //SetItemPartyInMap in_102floor 75
  2451. }
  2452. else
  2453. instance_announce 0, "Remaining Monsters on the 75th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2454. end;
  2455. }
  2456. 3@tower,355,51,0 script 75FGate102tower 45,1,1,{
  2457. OnInstanceInit:
  2458. disablenpc instance_npcname("75FGate102tower", instance_id());
  2459. end;
  2460. OnEnable:
  2461. enablenpc instance_npcname("75FGate102tower", instance_id());
  2462. initnpctimer;
  2463. end;
  2464. OnTouch_:
  2465. getitem 6000,1; //Dark_Ashes
  2466. warp "4@tower",52,354;
  2467. end;
  2468. OnTimer120000:
  2469. disablenpc instance_npcname("75FGate102tower", instance_id());
  2470. donpcevent instance_npcname("75FGate102tower-2", instance_id())+"::OnEnable";
  2471. stopnpctimer;
  2472. end;
  2473. }
  2474. 3@tower,355,51,0 script 75FGate102tower-2 45,2,2,{
  2475. OnInstanceInit:
  2476. disablenpc instance_npcname("75FGate102tower-2", instance_id());
  2477. end;
  2478. OnEnable:
  2479. enablenpc instance_npcname("75FGate102tower-2", instance_id());
  2480. end;
  2481. OnTouch_:
  2482. warp "4@tower",52,354;
  2483. end;
  2484. }
  2485. 3@tower,71,1,0 script #Manager Mode3 844,{
  2486. mes "Please enter the password.";
  2487. input .@inputstr$;
  2488. next;
  2489. if (.@inputstr$ == "dmc2008") {
  2490. mes "This NPC manages the tower from the 51st to the 75th Floor.";
  2491. mes "Please enter the Floor number to open.";
  2492. mes "(i.g.: 51F->51, 75F->75)";
  2493. input .@input,51,75;
  2494. next;
  2495. if (.@input < 51 || .@input > 75)
  2496. mes "You can only enter a number from 51 to 75.";
  2497. else {
  2498. donpcevent instance_npcname(.@input+"FGate102tower", instance_id())+"::OnEnable";
  2499. mes "*** Floor "+ .@input + " is now being opened. ***";
  2500. }
  2501. }
  2502. close;
  2503. }
  2504. // Floors 76-99
  2505. 4@tower,29,365,2 script Immortal Furnace#3 844,{
  2506. OnInstanceInit:
  2507. areamonster "4@tower",9,351,19,387,"Abysmal Knight",1219,30,instance_npcname("Immortal Furnace#3", instance_id())+"::OnMyMobDead";
  2508. areamonster "4@tower",9,351,19,387,"Nightmare Terror",1379,20,instance_npcname("Immortal Furnace#3", instance_id())+"::OnMyMobDead";
  2509. areamonster "4@tower",9,351,19,387,"Nightmare",1061,10,instance_npcname("Immortal Furnace#3", instance_id())+"::OnMyMobDead";
  2510. end;
  2511. OnMyMobDead:
  2512. set .@mob_dead_num,mobcount("4@tower",instance_npcname("Immortal Furnace#3", instance_id())+"::OnMyMobDead");
  2513. if (.@mob_dead_num < 1) {
  2514. instance_announce 0,"All Monsters on the 76th Floor have been defeated.",bc_map,"0xffff00";
  2515. donpcevent instance_npcname("76FGate102tower", instance_id())+"::OnEnable";
  2516. //SetItemPartyInMap in_102floor 76
  2517. }
  2518. else
  2519. instance_announce 0,"Remaining Monsters on the 76th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2520. end;
  2521. }
  2522. 4@tower,12,393,0 script 76FGate102tower 45,2,2,{
  2523. OnInstanceInit:
  2524. disablenpc instance_npcname("76FGate102tower", instance_id());
  2525. end;
  2526. OnEnable:
  2527. enablenpc instance_npcname("76FGate102tower", instance_id());
  2528. areamonster "4@tower",93,351,103,387,"Banshee",1867,30,instance_npcname("76FGate102tower", instance_id())+"::OnMyMobDead";
  2529. areamonster "4@tower",93,351,103,387,"Wraith Dead",1291,10,instance_npcname("76FGate102tower", instance_id())+"::OnMyMobDead";
  2530. areamonster "4@tower",93,351,103,387,"Evil Druid",1117,10,instance_npcname("76FGate102tower", instance_id())+"::OnMyMobDead";
  2531. areamonster "4@tower",93,351,103,387,"Wraith",1192,10,instance_npcname("76FGate102tower", instance_id())+"::OnMyMobDead";
  2532. areamonster "4@tower",93,351,103,387,"Wind Ghost",1263,10,instance_npcname("76FGate102tower", instance_id())+"::OnMyMobDead";
  2533. end;
  2534. OnTouch_:
  2535. warp "4@tower",136,354;
  2536. end;
  2537. OnMyMobDead:
  2538. set .@mob_dead_num,mobcount("4@tower",instance_npcname("76FGate102tower", instance_id())+"::OnMyMobDead");
  2539. if (.@mob_dead_num < 1) {
  2540. instance_announce 0,"All Monsters on the 77th Floor have been defeated.",bc_map,"0xffff00";
  2541. donpcevent instance_npcname("77FGate102tower", instance_id())+"::OnEnable";
  2542. //SetItemPartyInMap in_102floor 77
  2543. }
  2544. else
  2545. instance_announce 0,"Remaining Monsters on the 77th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2546. end;
  2547. }
  2548. 4@tower,96,393,0 script 77FGate102tower 45,2,2,{
  2549. OnInstanceInit:
  2550. disablenpc instance_npcname("77FGate102tower", instance_id());
  2551. end;
  2552. OnEnable:
  2553. enablenpc instance_npcname("77FGate102tower", instance_id());
  2554. areamonster "4@tower",181,351,191,387,"Sword Master",1829,5,instance_npcname("77FGate102tower", instance_id())+"::OnMyMobDead";
  2555. areamonster "4@tower",181,351,191,387,"Bloody Knight",1268,10,instance_npcname("77FGate102tower", instance_id())+"::OnMyMobDead";
  2556. areamonster "4@tower",181,351,191,387,"Abysmal Knight",1219,5,instance_npcname("77FGate102tower", instance_id())+"::OnMyMobDead";
  2557. areamonster "4@tower",181,351,191,387,"Dullahan",1504,10,instance_npcname("77FGate102tower", instance_id())+"::OnMyMobDead";
  2558. areamonster "4@tower",181,351,191,387,"Raydric",1163,20,instance_npcname("77FGate102tower", instance_id())+"::OnMyMobDead";
  2559. end;
  2560. OnTouch_:
  2561. warp "4@tower",224,354;
  2562. end;
  2563. OnMyMobDead:
  2564. set .@mob_dead_num,mobcount("4@tower",instance_npcname("77FGate102tower", instance_id())+"::OnMyMobDead");
  2565. if (.@mob_dead_num < 1) {
  2566. instance_announce 0,"All Monsters on the Floor 78th have been defeated.",bc_map,"0xffff00";
  2567. donpcevent instance_npcname("78FGate102tower", instance_id())+"::OnEnable";
  2568. //SetItemPartyInMap in_102floor 78
  2569. }
  2570. else
  2571. instance_announce 0,"Remaining Monsters on the 78th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2572. end;
  2573. }
  2574. 4@tower,184,393,0 script 78FGate102tower 45,2,2,{
  2575. OnInstanceInit:
  2576. disablenpc instance_npcname("78FGate102tower", instance_id());
  2577. end;
  2578. OnEnable:
  2579. enablenpc instance_npcname("78FGate102tower", instance_id());
  2580. areamonster "4@tower",267,351,277,387,"Hydro",1720,10,instance_npcname("78FGate102tower", instance_id())+"::OnMyMobDead";
  2581. areamonster "4@tower",267,351,277,387,"Ferus",1714,10,instance_npcname("78FGate102tower", instance_id())+"::OnMyMobDead";
  2582. areamonster "4@tower",267,351,277,387,"Ferus",1717,10,instance_npcname("78FGate102tower", instance_id())+"::OnMyMobDead";
  2583. areamonster "4@tower",267,351,277,387,"Deleter",1385,5,instance_npcname("78FGate102tower", instance_id())+"::OnMyMobDead";
  2584. areamonster "4@tower",267,351,277,387,"Petite",1155,5,instance_npcname("78FGate102tower", instance_id())+"::OnMyMobDead";
  2585. end;
  2586. OnTouch_:
  2587. warp "4@tower",310,354;
  2588. end;
  2589. OnMyMobDead:
  2590. set .@mob_dead_num,mobcount("4@tower",instance_npcname("78FGate102tower", instance_id())+"::OnMyMobDead");
  2591. if (.@mob_dead_num < 1) {
  2592. instance_announce 0,"All Monsters on the 79th Floor have been defeated.",bc_map,"0xffff00";
  2593. donpcevent instance_npcname("79FGate102tower", instance_id())+"::OnEnable";
  2594. //SetItemPartyInMap in_102floor 79
  2595. }
  2596. else
  2597. instance_announce 0,"Remaining Monsters on the 79th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2598. end;
  2599. }
  2600. 4@tower,270,393,0 script 79FGate102tower 45,2,2,{
  2601. OnInstanceInit:
  2602. disablenpc instance_npcname("79FGate102tower", instance_id());
  2603. end;
  2604. OnEnable:
  2605. enablenpc instance_npcname("79FGate102tower", instance_id());
  2606. areamonster "4@tower",352,351,362,387,"Falling Bishop",1871,1,instance_npcname("79FGate102tower", instance_id())+"::OnMyMobDead";
  2607. areamonster "4@tower",352,351,362,387,"Necromancer",1870,15,instance_npcname("79FGate102tower", instance_id())+"::OnMyMobDead";
  2608. end;
  2609. OnTouch_:
  2610. warp "4@tower",395,354;
  2611. end;
  2612. OnMyMobDead:
  2613. set .@mob_dead_num,mobcount("4@tower",instance_npcname("79FGate102tower", instance_id())+"::OnMyMobDead");
  2614. if (.@mob_dead_num < 1) {
  2615. instance_announce 0,"All Monsters on the 80th Floor have been defeated.",bc_map,"0xffff00";
  2616. donpcevent instance_npcname("80FGate102tower", instance_id())+"::OnEnable";
  2617. //SetItemPartyInMap in_102floor 80
  2618. }
  2619. else
  2620. instance_announce 0,"Remaining Monsters on the 80th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2621. end;
  2622. }
  2623. 4@tower,355,393,0 script 80FGate102tower 45,2,2,{
  2624. OnInstanceInit:
  2625. disablenpc instance_npcname("80FGate102tower", instance_id());
  2626. end;
  2627. OnEnable:
  2628. enablenpc instance_npcname("80FGate102tower", instance_id());
  2629. areamonster "4@tower",9,267,19,303,"Mysteltainn",1203,20,instance_npcname("80FGate102tower", instance_id())+"::OnMyMobDead";
  2630. areamonster "4@tower",9,267,19,303,"Ogretooth",1204,20,instance_npcname("80FGate102tower", instance_id())+"::OnMyMobDead";
  2631. areamonster "4@tower",9,267,19,303,"Executioner",1205,20,instance_npcname("80FGate102tower", instance_id())+"::OnMyMobDead";
  2632. end;
  2633. OnTouch_:
  2634. warp "4@tower",52,270;
  2635. end;
  2636. OnMyMobDead:
  2637. set .@mob_dead_num,mobcount("4@tower",instance_npcname("80FGate102tower", instance_id())+"::OnMyMobDead");
  2638. if (.@mob_dead_num < 1) {
  2639. instance_announce 0,"All Monsters on the 81st Floor have been defeated.",bc_map,"0xffff00";
  2640. donpcevent instance_npcname("81FGate102tower", instance_id())+"::OnEnable";
  2641. //SetItemPartyInMap in_102floor 81
  2642. }
  2643. else
  2644. instance_announce 0,"Remaining Monsters on the 81st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2645. end;
  2646. }
  2647. 4@tower,12,309,0 script 81FGate102tower 45,2,2,{
  2648. OnInstanceInit:
  2649. disablenpc instance_npcname("81FGate102tower", instance_id());
  2650. end;
  2651. OnEnable:
  2652. enablenpc instance_npcname("81FGate102tower", instance_id());
  2653. areamonster "4@tower",93,267,103,303,"Bloody Knight",1268,10,instance_npcname("81FGate102tower", instance_id())+"::OnMyMobDead";
  2654. areamonster "4@tower",93,267,103,303,"Agav",1769,10,instance_npcname("81FGate102tower", instance_id())+"::OnMyMobDead";
  2655. areamonster "4@tower",93,267,103,303,"Bloody Murderer",1507,10,instance_npcname("81FGate102tower", instance_id())+"::OnMyMobDead";
  2656. areamonster "4@tower",93,267,103,303,"Skogul",1752,10,instance_npcname("81FGate102tower", instance_id())+"::OnMyMobDead";
  2657. areamonster "4@tower",93,267,103,303,"Injustice",1257,10,instance_npcname("81FGate102tower", instance_id())+"::OnMyMobDead";
  2658. end;
  2659. OnTouch_:
  2660. warp "4@tower",136,270;
  2661. end;
  2662. OnMyMobDead:
  2663. set .@mob_dead_num,mobcount("4@tower",instance_npcname("81FGate102tower", instance_id())+"::OnMyMobDead");
  2664. if (.@mob_dead_num < 1) {
  2665. instance_announce 0,"All Monsters on the 82nd Floor have been defeated.",bc_map,"0xffff00";
  2666. donpcevent instance_npcname("82FGate102tower", instance_id())+"::OnEnable";
  2667. //SetItemPartyInMap in_102floor 82
  2668. }
  2669. else
  2670. instance_announce 0,"Remaining Monsters on the 82nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2671. end;
  2672. }
  2673. 4@tower,96,309,0 script 82FGate102tower 45,2,2,{
  2674. OnInstanceInit:
  2675. disablenpc instance_npcname("82FGate102tower", instance_id());
  2676. end;
  2677. OnEnable:
  2678. enablenpc instance_npcname("82FGate102tower", instance_id());
  2679. areamonster "4@tower",181,267,191,303,"Skeggiold",1754,10,instance_npcname("82FGate102tower", instance_id())+"::OnMyMobDead";
  2680. areamonster "4@tower",181,267,191,303,"Dark Illusion",1302,10,instance_npcname("82FGate102tower", instance_id())+"::OnMyMobDead";
  2681. areamonster "4@tower",181,267,191,303,"Gryphon",1259,10,instance_npcname("82FGate102tower", instance_id())+"::OnMyMobDead";
  2682. areamonster "4@tower",181,267,191,303,"Chimera",1283,10,instance_npcname("82FGate102tower", instance_id())+"::OnMyMobDead";
  2683. end;
  2684. OnTouch_:
  2685. warp "4@tower",224,270;
  2686. end;
  2687. OnMyMobDead:
  2688. set .@mob_dead_num,mobcount("4@tower",instance_npcname("82FGate102tower", instance_id())+"::OnMyMobDead");
  2689. if (.@mob_dead_num < 1) {
  2690. instance_announce 0,"All Monsters on the 83rd Floor have been defeated.",bc_map,"0xffff00";
  2691. donpcevent instance_npcname("83FGate102tower", instance_id())+"::OnEnable";
  2692. //SetItemPartyInMap in_102floor 83
  2693. }
  2694. else
  2695. instance_announce 0,"Remaining Monsters on the 83rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2696. end;
  2697. }
  2698. 4@tower,184,309,0 script 83FGate102tower 45,2,2,{
  2699. OnInstanceInit:
  2700. disablenpc instance_npcname("83FGate102tower", instance_id());
  2701. end;
  2702. OnEnable:
  2703. enablenpc instance_npcname("83FGate102tower", instance_id());
  2704. areamonster "4@tower",267,267,277,303,"Succubus",1370,10,instance_npcname("83FGate102tower", instance_id())+"::OnMyMobDead";
  2705. areamonster "4@tower",267,267,277,303,"Dark Illusion",1302,20,instance_npcname("83FGate102tower", instance_id())+"::OnMyMobDead";
  2706. areamonster "4@tower",267,267,277,303,"Owl Duke",1320,10,instance_npcname("83FGate102tower", instance_id())+"::OnMyMobDead";
  2707. areamonster "4@tower",267,267,277,303,"Owl Baron",1295,10,instance_npcname("83FGate102tower", instance_id())+"::OnMyMobDead";
  2708. areamonster "4@tower",267,267,277,303,"Incubus",1374,10,instance_npcname("83FGate102tower", instance_id())+"::OnMyMobDead";
  2709. end;
  2710. OnTouch_:
  2711. warp "4@tower",310,270;
  2712. end;
  2713. OnMyMobDead:
  2714. set .@mob_dead_num,mobcount("4@tower",instance_npcname("83FGate102tower", instance_id())+"::OnMyMobDead");
  2715. if (.@mob_dead_num < 1) {
  2716. instance_announce 0,"All Monsters on the 84th Floor have been defeated.",bc_map,"0xffff00";
  2717. donpcevent instance_npcname("84FGate102tower", instance_id())+"::OnEnable";
  2718. //SetItemPartyInMap in_102floor 84
  2719. }
  2720. else
  2721. instance_announce 0,"Remaining Monsters on the 84th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2722. end;
  2723. }
  2724. 4@tower,270,309,0 script 84FGate102tower 45,2,2,{
  2725. OnInstanceInit:
  2726. disablenpc instance_npcname("84FGate102tower", instance_id());
  2727. end;
  2728. OnEnable:
  2729. enablenpc instance_npcname("84FGate102tower", instance_id());
  2730. areamonster "4@tower",352,267,362,303,"Ifrit",1832,1,instance_npcname("84FGate102tower", instance_id())+"::OnMyMobDead";
  2731. end;
  2732. OnTouch_:
  2733. warp "4@tower",395,270;
  2734. end;
  2735. OnMyMobDead:
  2736. set .@mob_dead_num,mobcount("4@tower",instance_npcname("84FGate102tower", instance_id())+"::OnMyMobDead");
  2737. if (.@mob_dead_num < 1) {
  2738. instance_announce 0,"All Monsters on the 85th Floor have been defeated.",bc_map,"0xffff00";
  2739. donpcevent instance_npcname("85FGate102tower", instance_id())+"::OnEnable";
  2740. //SetItemPartyInMap in_102floor 85
  2741. }
  2742. else
  2743. instance_announce 0,"Remaining Monsters on the 85th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2744. end;
  2745. }
  2746. 4@tower,355,309,0 script 85FGate102tower 45,2,2,{
  2747. OnInstanceInit:
  2748. disablenpc instance_npcname("85FGate102tower", instance_id());
  2749. end;
  2750. OnEnable:
  2751. enablenpc instance_npcname("85FGate102tower", instance_id());
  2752. areamonster "4@tower",9,180,19,216,"Hydro",1720,10,instance_npcname("85FGate102tower", instance_id())+"::OnMyMobDead";
  2753. areamonster "4@tower",9,180,19,216,"Gryphon",1259,10,instance_npcname("85FGate102tower", instance_id())+"::OnMyMobDead";
  2754. areamonster "4@tower",9,180,19,216,"Chimera",1283,10,instance_npcname("85FGate102tower", instance_id())+"::OnMyMobDead";
  2755. areamonster "4@tower",9,180,19,216,"Majoruros",1310,10,instance_npcname("85FGate102tower", instance_id())+"::OnMyMobDead";
  2756. end;
  2757. OnTouch_:
  2758. warp "4@tower",52,183;
  2759. end;
  2760. OnMyMobDead:
  2761. set .@mob_dead_num,mobcount("4@tower",instance_npcname("85FGate102tower", instance_id())+"::OnMyMobDead");
  2762. if (.@mob_dead_num < 1) {
  2763. instance_announce 0,"All Monsters on the 86th Floor have been defeated.",bc_map,"0xffff00";
  2764. donpcevent instance_npcname("86FGate102tower", instance_id())+"::OnEnable";
  2765. //SetItemPartyInMap in_102floor 86
  2766. }
  2767. else
  2768. instance_announce 0,"Remaining Monsters on the 86th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2769. end;
  2770. }
  2771. 4@tower,12,222,0 script 86FGate102tower 45,2,2,{
  2772. OnInstanceInit:
  2773. disablenpc instance_npcname("86FGate102tower", instance_id());
  2774. end;
  2775. OnEnable:
  2776. enablenpc instance_npcname("86FGate102tower", instance_id());
  2777. areamonster "4@tower",93,180,103,216,"Salamander",1831,15,instance_npcname("86FGate102tower", instance_id())+"::OnMyMobDead";
  2778. areamonster "4@tower",93,180,103,216,"Kasa",1833,20,instance_npcname("86FGate102tower", instance_id())+"::OnMyMobDead";
  2779. areamonster "4@tower",93,180,103,216,"Lava Golem",1366,15,instance_npcname("86FGate102tower", instance_id())+"::OnMyMobDead";
  2780. areamonster "4@tower",93,180,103,216,"Gajomart",1309,10,instance_npcname("86FGate102tower", instance_id())+"::OnMyMobDead";
  2781. end;
  2782. OnTouch_:
  2783. warp "4@tower",136,183;
  2784. end;
  2785. OnMyMobDead:
  2786. set .@mob_dead_num,mobcount("4@tower",instance_npcname("86FGate102tower", instance_id())+"::OnMyMobDead");
  2787. if (.@mob_dead_num < 1) {
  2788. instance_announce 0,"All Monsters on the 87th Floor have been defeated.",bc_map,"0xffff00";
  2789. donpcevent instance_npcname("87FGate102tower", instance_id())+"::OnEnable";
  2790. //SetItemPartyInMap in_102floor 87
  2791. }
  2792. else
  2793. instance_announce 0,"Remaining Monsters on the 87th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2794. end;
  2795. }
  2796. 4@tower,96,222,0 script 87FGate102tower 45,2,2,{
  2797. OnInstanceInit:
  2798. disablenpc instance_npcname("87FGate102tower", instance_id());
  2799. end;
  2800. OnEnable:
  2801. enablenpc instance_npcname("87FGate102tower", instance_id());
  2802. areamonster "4@tower",181,180,191,216,"Necromancer",1870,15,instance_npcname("87FGate102tower", instance_id())+"::OnMyMobDead";
  2803. areamonster "4@tower",181,180,191,216,"Anubis",1098,15,instance_npcname("87FGate102tower", instance_id())+"::OnMyMobDead";
  2804. areamonster "4@tower",181,180,191,216,"Wraith Dead",1291,10,instance_npcname("87FGate102tower", instance_id())+"::OnMyMobDead";
  2805. areamonster "4@tower",181,180,191,216,"Ancient Mummy",1297,10,instance_npcname("87FGate102tower", instance_id())+"::OnMyMobDead";
  2806. areamonster "4@tower",181,180,191,216,"Khalitzburg",1132,10,instance_npcname("87FGate102tower", instance_id())+"::OnMyMobDead";
  2807. end;
  2808. OnTouch_:
  2809. warp "4@tower",224,183;
  2810. end;
  2811. OnMyMobDead:
  2812. set .@mob_dead_num,mobcount("4@tower",instance_npcname("87FGate102tower", instance_id())+"::OnMyMobDead");
  2813. if (.@mob_dead_num < 1) {
  2814. instance_announce 0,"All Monsters on the 88th Floor have been defeated.",bc_map,"0xffff00";
  2815. donpcevent instance_npcname("88FGate102tower", instance_id())+"::OnEnable";
  2816. //SetItemPartyInMap in_102floor 88
  2817. }
  2818. else
  2819. instance_announce 0,"Remaining Monsters on the 88th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2820. end;
  2821. }
  2822. 4@tower,184,222,0 script 88FGate102tower 45,2,2,{
  2823. OnInstanceInit:
  2824. disablenpc instance_npcname("88FGate102tower", instance_id());
  2825. end;
  2826. OnEnable:
  2827. enablenpc instance_npcname("88FGate102tower", instance_id());
  2828. areamonster "4@tower",267,180,277,216,"Odium of Thanatos",1704,6,instance_npcname("88FGate102tower", instance_id())+"::OnMyMobDead";
  2829. areamonster "4@tower",267,180,277,216,"Despero of Thanatos",1705,6,instance_npcname("88FGate102tower", instance_id())+"::OnMyMobDead";
  2830. areamonster "4@tower",267,180,277,216,"Maero of Thanatos",1706,6,instance_npcname("88FGate102tower", instance_id())+"::OnMyMobDead";
  2831. areamonster "4@tower",267,180,277,216,"Dolor of Thanatos",1707,6,instance_npcname("88FGate102tower", instance_id())+"::OnMyMobDead";
  2832. end;
  2833. OnTouch_:
  2834. warp "4@tower",310,183;
  2835. end;
  2836. OnMyMobDead:
  2837. set .@mob_dead_num,mobcount("4@tower",instance_npcname("88FGate102tower", instance_id())+"::OnMyMobDead");
  2838. if (.@mob_dead_num < 1) {
  2839. instance_announce 0,"All Monsters on the 89th Floor have been defeated.",bc_map,"0xffff00";
  2840. donpcevent instance_npcname("89FGate102tower", instance_id())+"::OnEnable";
  2841. //SetItemPartyInMap in_102floor 89
  2842. }
  2843. else
  2844. instance_announce 0,"Remaining Monsters on the 89th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2845. end;
  2846. }
  2847. 4@tower,270,222,0 script 89FGate102tower 45,2,2,{
  2848. OnInstanceInit:
  2849. disablenpc instance_npcname("89FGate102tower", instance_id());
  2850. end;
  2851. OnEnable:
  2852. enablenpc instance_npcname("89FGate102tower", instance_id());
  2853. areamonster "4@tower",352,180,362,216,"Valkyrie Randgris",1751,1,instance_npcname("89FGate102tower", instance_id())+"::OnMyMobDead";
  2854. areamonster "4@tower",352,180,362,216,"Baroness of Retribution",1702,10,instance_npcname("89FGate102tower", instance_id())+"::OnMyMobDead";
  2855. areamonster "4@tower",352,180,362,216,"Lady Solace",1703,10,instance_npcname("89FGate102tower", instance_id())+"::OnMyMobDead";
  2856. areamonster "4@tower",352,180,362,216,"False Angel",1371,10,instance_npcname("89FGate102tower", instance_id())+"::OnMyMobDead";
  2857. end;
  2858. OnTouch_:
  2859. warp "4@tower",395,183;
  2860. end;
  2861. OnMyMobDead:
  2862. set .@mob_dead_num,mobcount("4@tower",instance_npcname("89FGate102tower", instance_id())+"::OnMyMobDead");
  2863. if (.@mob_dead_num < 1) {
  2864. instance_announce 0,"All Monsters on the 90th Floor have been defeated.",bc_map,"0xffff00";
  2865. donpcevent instance_npcname("90FGate102tower", instance_id())+"::OnEnable";
  2866. //SetItemPartyInMap in_102floor 90
  2867. }
  2868. else
  2869. instance_announce 0,"Remaining Monsters on the 90th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2870. end;
  2871. }
  2872. 4@tower,355,222,0 script 90FGate102tower 45,2,2,{
  2873. OnInstanceInit:
  2874. disablenpc instance_npcname("90FGate102tower", instance_id());
  2875. end;
  2876. OnEnable:
  2877. enablenpc instance_npcname("90FGate102tower", instance_id());
  2878. areamonster "4@tower",9,96,19,132,"Cecil Damon",1638,10,instance_npcname("90FGate102tower", instance_id())+"::OnMyMobDead";
  2879. areamonster "4@tower",9,96,19,132,"Bow Master",1830,10,instance_npcname("90FGate102tower", instance_id())+"::OnMyMobDead";
  2880. areamonster "4@tower",9,96,19,132,"Kavac",1656,30,instance_npcname("90FGate102tower", instance_id())+"::OnMyMobDead";
  2881. end;
  2882. OnTouch_:
  2883. warp "4@tower",52,99;
  2884. end;
  2885. OnMyMobDead:
  2886. set .@mob_dead_num,mobcount("4@tower",instance_npcname("90FGate102tower", instance_id())+"::OnMyMobDead");
  2887. if (.@mob_dead_num < 1) {
  2888. instance_announce 0,"All Monsters on the 91st Floor have been defeated.",bc_map,"0xffff00";
  2889. donpcevent instance_npcname("91FGate102tower", instance_id())+"::OnEnable";
  2890. //SetItemPartyInMap in_102floor 91
  2891. }
  2892. else
  2893. instance_announce 0,"Remaining Monsters on the 91st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2894. end;
  2895. }
  2896. 4@tower,12,138,0 script 91FGate102tower 45,2,2,{
  2897. OnInstanceInit:
  2898. disablenpc instance_npcname("91FGate102tower", instance_id());
  2899. end;
  2900. OnEnable:
  2901. enablenpc instance_npcname("91FGate102tower", instance_id());
  2902. areamonster "4@tower",93,96,103,132,"Kathryne Keyron",1639,15,instance_npcname("91FGate102tower", instance_id())+"::OnMyMobDead";
  2903. areamonster "4@tower",93,96,103,132,"Elder",1377,10,instance_npcname("91FGate102tower", instance_id())+"::OnMyMobDead";
  2904. areamonster "4@tower",93,96,103,132,"Laurell Weinder",1657,10,instance_npcname("91FGate102tower", instance_id())+"::OnMyMobDead";
  2905. areamonster "4@tower",93,96,103,132,"Wind Ghost",1263,10,instance_npcname("91FGate102tower", instance_id())+"::OnMyMobDead";
  2906. areamonster "4@tower",93,96,103,132,"Marduk",1140,10,instance_npcname("91FGate102tower", instance_id())+"::OnMyMobDead";
  2907. end;
  2908. OnTouch_:
  2909. warp "4@tower",136,99;
  2910. end;
  2911. OnMyMobDead:
  2912. set .@mob_dead_num,mobcount("4@tower",instance_npcname("91FGate102tower", instance_id())+"::OnMyMobDead");
  2913. if (.@mob_dead_num < 1) {
  2914. instance_announce 0,"All Monsters on the 92nd Floor have been defeated.",bc_map,"0xffff00";
  2915. donpcevent instance_npcname("92FGate102tower", instance_id())+"::OnEnable";
  2916. //SetItemPartyInMap in_102floor 92
  2917. }
  2918. else
  2919. instance_announce 0,"Remaining Monsters on the 92nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2920. end;
  2921. }
  2922. 4@tower,96,138,0 script 92FGate102tower 45,2,2,{
  2923. OnInstanceInit:
  2924. disablenpc instance_npcname("92FGate102tower", instance_id());
  2925. end;
  2926. OnEnable:
  2927. enablenpc instance_npcname("92FGate102tower", instance_id());
  2928. areamonster "4@tower",181,96,191,132,"Seyren Windsor",1634,15,instance_npcname("92FGate102tower", instance_id())+"::OnMyMobDead";
  2929. areamonster "4@tower",181,96,191,132,"Bloody Knight",1268,10,instance_npcname("92FGate102tower", instance_id())+"::OnMyMobDead";
  2930. areamonster "4@tower",181,96,191,132,"Abysmal Knight",1219,10,instance_npcname("92FGate102tower", instance_id())+"::OnMyMobDead";
  2931. areamonster "4@tower",181,96,191,132,"Wanderer",1208,10,instance_npcname("92FGate102tower", instance_id())+"::OnMyMobDead";
  2932. end;
  2933. OnTouch_:
  2934. warp "4@tower",224,99;
  2935. end;
  2936. OnMyMobDead:
  2937. set .@mob_dead_num,mobcount("4@tower",instance_npcname("92FGate102tower", instance_id())+"::OnMyMobDead");
  2938. if (.@mob_dead_num < 1) {
  2939. instance_announce 0,"All Monsters on the 93rd Floor have been defeated.",bc_map,"0xffff00";
  2940. donpcevent instance_npcname("93FGate102tower", instance_id())+"::OnEnable";
  2941. //SetItemPartyInMap in_102floor 93
  2942. }
  2943. else
  2944. instance_announce 0,"Remaining Monsters on the 93rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2945. end;
  2946. }
  2947. 4@tower,184,138,0 script 93FGate102tower 45,2,2,{
  2948. OnInstanceInit:
  2949. disablenpc instance_npcname("93FGate102tower", instance_id());
  2950. end;
  2951. OnEnable:
  2952. enablenpc instance_npcname("93FGate102tower", instance_id());
  2953. areamonster "4@tower",267,96,277,132,"Sword Master",1829,15,instance_npcname("93FGate102tower", instance_id())+"::OnMyMobDead";
  2954. areamonster "4@tower",267,96,277,132,"Bow Master",1830,15,instance_npcname("93FGate102tower", instance_id())+"::OnMyMobDead";
  2955. end;
  2956. OnTouch_:
  2957. warp "4@tower",310,99;
  2958. end;
  2959. OnMyMobDead:
  2960. set .@mob_dead_num,mobcount("4@tower",instance_npcname("93FGate102tower", instance_id())+"::OnMyMobDead");
  2961. if (.@mob_dead_num < 1) {
  2962. instance_announce 0,"All Monsters on the 94th Floor have been defeated.",bc_map,"0xffff00";
  2963. donpcevent instance_npcname("94FGate102tower", instance_id())+"::OnEnable";
  2964. //SetItemPartyInMap in_102floor 94
  2965. }
  2966. else
  2967. instance_announce 0,"Remaining Monsters on the 94th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2968. end;
  2969. }
  2970. 4@tower,270,138,0 script 94FGate102tower 45,2,2,{
  2971. OnInstanceInit:
  2972. disablenpc instance_npcname("94FGate102tower", instance_id());
  2973. end;
  2974. OnEnable:
  2975. enablenpc instance_npcname("94FGate102tower", instance_id());
  2976. areamonster "4@tower",352,96,362,132,"Beelzebub",1873,1,instance_npcname("94FGate102tower", instance_id())+"::OnMyMobDead";
  2977. areamonster "4@tower",352,96,362,132,"Hunter Fly",1035,30,instance_npcname("94FGate102tower", instance_id())+"::OnMyMobDead";
  2978. areamonster "4@tower",352,96,362,132,"Steel Chonchon",1042,5,instance_npcname("94FGate102tower", instance_id())+"::OnMyMobDead";
  2979. areamonster "4@tower",352,96,362,132,"Dragon FLy",1091,5,instance_npcname("94FGate102tower", instance_id())+"::OnMyMobDead";
  2980. areamonster "4@tower",352,96,362,132,"Chonchon",1011,5,instance_npcname("94FGate102tower", instance_id())+"::OnMyMobDead";
  2981. end;
  2982. OnTouch_:
  2983. warp "4@tower",395,99;
  2984. end;
  2985. OnMyMobDead:
  2986. set .@mob_dead_num,mobcount("4@tower",instance_npcname("94FGate102tower", instance_id())+"::OnMyMobDead");
  2987. if (.@mob_dead_num < 1) {
  2988. instance_announce 0,"All Monsters on the 95th Floor have been defeated.",bc_map,"0xffff00";
  2989. donpcevent instance_npcname("95FGate102tower", instance_id())+"::OnEnable";
  2990. //SetItemPartyInMap in_102floor 95
  2991. }
  2992. else
  2993. instance_announce 0,"Remaining Monsters on the 95th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2994. end;
  2995. }
  2996. 4@tower,355,138,0 script 95FGate102tower 45,2,2,{
  2997. OnInstanceInit:
  2998. disablenpc instance_npcname("95FGate102tower", instance_id());
  2999. end;
  3000. OnEnable:
  3001. enablenpc instance_npcname("95FGate102tower", instance_id());
  3002. areamonster "4@tower",9,9,19,45,"Valkyrie",1765,5,instance_npcname("95FGate102tower", instance_id())+"::OnMyMobDead";
  3003. areamonster "4@tower",9,9,19,45,"Skeggiold",1755,10,instance_npcname("95FGate102tower", instance_id())+"::OnMyMobDead";
  3004. areamonster "4@tower",9,9,19,45,"Skeggiold",1754,10,instance_npcname("95FGate102tower", instance_id())+"::OnMyMobDead";
  3005. end;
  3006. OnTouch_:
  3007. warp "4@tower",52,12;
  3008. end;
  3009. OnMyMobDead:
  3010. set .@mob_dead_num,mobcount("4@tower",instance_npcname("95FGate102tower", instance_id())+"::OnMyMobDead");
  3011. if (.@mob_dead_num < 1) {
  3012. instance_announce 0,"All Monsters on the 96th Floor have been defeated.",bc_map,"0xffff00";
  3013. donpcevent instance_npcname("96FGate102tower", instance_id())+"::OnEnable";
  3014. //SetItemPartyInMap in_102floor 96
  3015. }
  3016. else
  3017. instance_announce 0,"Remaining Monsters on the 96th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3018. end;
  3019. }
  3020. 4@tower,12,51,0 script 96FGate102tower 45,2,2,{
  3021. OnInstanceInit:
  3022. disablenpc instance_npcname("96FGate102tower", instance_id());
  3023. end;
  3024. OnEnable:
  3025. enablenpc instance_npcname("96FGate102tower", instance_id());
  3026. areamonster "4@tower",93,9,103,45,"Incarnation of Morroc",1918,5,instance_npcname("96FGate102tower", instance_id())+"::OnMyMobDead";
  3027. areamonster "4@tower",93,9,103,45,"Incarnation of Morroc",1919,5,instance_npcname("96FGate102tower", instance_id())+"::OnMyMobDead";
  3028. areamonster "4@tower",93,9,103,45,"Incarnation of Morroc",1920,5,instance_npcname("96FGate102tower", instance_id())+"::OnMyMobDead";
  3029. areamonster "4@tower",93,9,103,45,"Incarnation of Morroc",1921,5,instance_npcname("96FGate102tower", instance_id())+"::OnMyMobDead";
  3030. end;
  3031. OnTouch_:
  3032. warp "4@tower",136,12;
  3033. end;
  3034. OnMyMobDead:
  3035. set .@mob_dead_num,mobcount("4@tower",instance_npcname("96FGate102tower", instance_id())+"::OnMyMobDead");
  3036. if (.@mob_dead_num < 1) {
  3037. instance_announce 0,"All Monsters on the 97th Floor have been defeated.",bc_map,"0xffff00";
  3038. donpcevent instance_npcname("97FGate102tower", instance_id())+"::OnEnable";
  3039. //SetItemPartyInMap in_102floor 97
  3040. }
  3041. else
  3042. instance_announce 0,"Remaining Monsters on the 97th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3043. end;
  3044. }
  3045. 4@tower,96,51,0 script 97FGate102tower 45,2,2,{
  3046. OnInstanceInit:
  3047. disablenpc instance_npcname("97FGate102tower", instance_id());
  3048. end;
  3049. OnEnable:
  3050. enablenpc instance_npcname("97FGate102tower", instance_id());
  3051. areamonster "4@tower",181,9,191,45,"Kathryne Keyron",1639,2,instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead";
  3052. areamonster "4@tower",181,9,191,45,"Seyren Windsor",1634,2,instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead";
  3053. areamonster "4@tower",181,9,191,45,"Margaretha Sorin",1637,2,instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead";
  3054. areamonster "4@tower",181,9,191,45,"Eremes Guile",1635,2,instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead";
  3055. areamonster "4@tower",181,9,191,45,"Howard Alt-Eisen",1636,2,instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead";
  3056. areamonster "4@tower",181,9,191,45,"Cecil Damon",1638,2,instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead";
  3057. end;
  3058. OnTouch_:
  3059. warp "4@tower",224,12;
  3060. end;
  3061. OnMyMobDead:
  3062. set .@mob_dead_num,mobcount("4@tower",instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead");
  3063. if (.@mob_dead_num < 1) {
  3064. instance_announce 0,"All Monsters on the 98th Floor have been defeated.",bc_map,"0xffff00";
  3065. donpcevent instance_npcname("98FGate102tower", instance_id())+"::OnEnable";
  3066. //SetItemPartyInMap in_102floor 98
  3067. }
  3068. else
  3069. instance_announce 0,"Remaining Monsters on the 98th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3070. end;
  3071. }
  3072. 4@tower,184,51,0 script 98FGate102tower 45,2,2,{
  3073. OnInstanceInit:
  3074. disablenpc instance_npcname("98FGate102tower", instance_id());
  3075. end;
  3076. OnEnable:
  3077. enablenpc instance_npcname("98FGate102tower", instance_id());
  3078. for( set .@i, 1; .@i <= 7; set .@i, .@i + 1 ) {
  3079. set .@mob_ran,rand(1,30);
  3080. if (.@mob_ran == 1)
  3081. areamonster "4@tower",267,9,277,45,"Kathryne Keyron",1639,2,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3082. else if (.@mob_ran == 2)
  3083. areamonster "4@tower",267,9,277,45,"Seyren Windsor",1634,2,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3084. else if (.@mob_ran == 3)
  3085. areamonster "4@tower",267,9,277,45,"Margaretha Sorin",1637,2,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3086. else if (.@mob_ran == 4)
  3087. areamonster "4@tower",267,9,277,45,"Eremes Guile",1635,2,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3088. else if (.@mob_ran == 5)
  3089. areamonster "4@tower",267,9,277,45,"Howard Alt-Eisen",1636,2,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3090. else if (.@mob_ran == 6)
  3091. areamonster "4@tower",267,9,277,45,"Cecil Damon",1638,2,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3092. else if (.@mob_ran == 7)
  3093. areamonster "4@tower",267,9,277,45,"Incarnation of Morroc",1918,5,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3094. else if (.@mob_ran == 8)
  3095. areamonster "4@tower",267,9,277,45,"Incarnation of Morroc",1919,5,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3096. else if (.@mob_ran == 9)
  3097. areamonster "4@tower",267,9,277,45,"Incarnation of Morroc",1920,5,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3098. else if (.@mob_ran == 10)
  3099. areamonster "4@tower",267,9,277,45,"Incarnation of Morroc",1921,5,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3100. else if (.@mob_ran == 11)
  3101. areamonster "4@tower",267,9,277,45,"Valkyrie",1765,5,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3102. else if (.@mob_ran == 12)
  3103. areamonster "4@tower",267,9,277,45,"Skeggiold",1755,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3104. else if (.@mob_ran == 13)
  3105. areamonster "4@tower",267,9,277,45,"Skeggiold",1754,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3106. else if (.@mob_ran == 14)
  3107. areamonster "4@tower",267,9,277,45,"Seyren Windsor",1634,15,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3108. else if (.@mob_ran == 15)
  3109. areamonster "4@tower",267,9,277,45,"Bloody Knight",1268,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3110. else if (.@mob_ran == 16)
  3111. areamonster "4@tower",267,9,277,45,"Abysmal Knight",1219,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3112. else if (.@mob_ran == 17)
  3113. areamonster "4@tower",267,9,277,45,"Wanderer",1208,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3114. else if (.@mob_ran == 18)
  3115. areamonster "4@tower",267,9,277,45,"Sword Master",1829,15,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3116. else if (.@mob_ran == 19)
  3117. areamonster "4@tower",267,9,277,45,"Bow Master",1830,15,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3118. else if (.@mob_ran == 20)
  3119. areamonster "4@tower",267,9,277,45,"Kathryne Keyron",1639,15,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3120. else if (.@mob_ran == 21)
  3121. areamonster "4@tower",267,9,277,45,"Elder",1377,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3122. else if (.@mob_ran == 22)
  3123. areamonster "4@tower",267,9,277,45,"Laurell Weinder",1657,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3124. else if (.@mob_ran == 23)
  3125. areamonster "4@tower",267,9,277,45,"Wind Ghost",1263,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3126. else if (.@mob_ran == 24)
  3127. areamonster "4@tower",267,9,277,45,"Marduk",1140,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3128. else if (.@mob_ran == 25)
  3129. areamonster "4@tower",267,9,277,45,"Cecil Damon",1638,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3130. else if (.@mob_ran == 26)
  3131. areamonster "4@tower",267,9,277,45,"Bow Master",1830,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3132. else if (.@mob_ran == 27)
  3133. areamonster "4@tower",267,9,277,45,"Kavach Icarus",1656,30,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3134. else if (.@mob_ran == 28)
  3135. areamonster "4@tower",267,9,277,45,"Baroness of Retribution",1702,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3136. else if (.@mob_ran == 29)
  3137. areamonster "4@tower",267,9,277,45,"Lady Solace",1703,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3138. else
  3139. areamonster "4@tower",267,9,277,45,"False Angel",1371,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3140. }
  3141. end;
  3142. OnTouch_:
  3143. warp "4@tower",309,12;
  3144. end;
  3145. OnMyMobDead:
  3146. set .@mob_dead_num,mobcount("4@tower",instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead");
  3147. if (.@mob_dead_num < 1) {
  3148. instance_announce 0,"All Monsters on the 99th Floor have been defeated.",bc_map,"0xffff00";
  3149. donpcevent instance_npcname("99FGate102tower", instance_id())+"::OnEnable";
  3150. //SetItemPartyInMap in_102floor 99
  3151. }
  3152. else
  3153. instance_announce 0,"Remaining Monsters on the 99th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3154. end;
  3155. }
  3156. 4@tower,271,51,0 script 99FGate102tower 45,2,2,{
  3157. OnInstanceInit:
  3158. disablenpc instance_npcname("99FGate102tower", instance_id());
  3159. end;
  3160. OnEnable:
  3161. enablenpc instance_npcname("99FGate102tower", instance_id());
  3162. initnpctimer;
  3163. end;
  3164. OnTouch_:
  3165. getitem 6000,1; //Dark_Ashes
  3166. warp "5@tower",101,72;
  3167. end;
  3168. OnTimer120000:
  3169. disablenpc instance_npcname("99FGate102tower", instance_id());
  3170. donpcevent instance_npcname("99FGate102tower-2", instance_id())+"::OnEnable";
  3171. stopnpctimer;
  3172. end;
  3173. }
  3174. 4@tower,271,51,0 script 99FGate102tower-2 45,2,2,{
  3175. OnInstanceInit:
  3176. disablenpc instance_npcname("99FGate102tower-2", instance_id());
  3177. end;
  3178. OnEnable:
  3179. enablenpc instance_npcname("99FGate102tower-2", instance_id());
  3180. end;
  3181. OnTouch_:
  3182. warp "5@tower",101,72;
  3183. end;
  3184. }
  3185. 4@tower,71,1,0 script #Manager Mode4 844,{
  3186. mes "Please enter the password.";
  3187. input .@inputstr$;
  3188. next;
  3189. if (.@inputstr$ == "dmc2008") {
  3190. mes "This NPC manages the tower from the 76th to the 99th Floor.";
  3191. mes "Please enter the Floor number to open.";
  3192. mes "(i.g.: 76F->76, 99F->99)";
  3193. input .@input,76,99;
  3194. next;
  3195. if (.@input < 76 || .@input > 99)
  3196. mes "You can only enter a number from 76 to 99.";
  3197. else {
  3198. donpcevent instance_npcname(.@input+"FGate102tower", instance_id())+"::OnEnable";
  3199. mes "*** Floor "+ .@input + " is now being opened. ***";
  3200. }
  3201. }
  3202. close;
  3203. }
  3204. // Floor 100
  3205. 5@tower,106,109,2 script Lucid Crystal#102 844,{
  3206. if (in_102tower < 10) {
  3207. mes "^0000ffA mysterious voice echoes through the room as you touch the lucid crystal radiating a strong light.^000000";
  3208. next;
  3209. mes "[Mysterious Voice]";
  3210. mes "Welcome to my place, intruders. I've had fun watching you endure all the difficulties I've set before you.";
  3211. next;
  3212. mes "[Mysterious Voice]";
  3213. mes "Unfortunately, the time has come to end the show.";
  3214. next;
  3215. mes "[Mysterious Voice]";
  3216. mes "It's still too early to celebrate your victory against my right-hand man Knothen because he isn't completely destroyed!";
  3217. next;
  3218. mes "[Mysterious Voice]";
  3219. mes "I shall resurrect him for your next show. Defeat him again, and then I'll gladly accept your challenge.";
  3220. next;
  3221. mes "[Mysterious Voice]";
  3222. mes "Good-bye for now.";
  3223. mes "Once again, I had such a great time, humans. I look forward to seeing you again.";
  3224. next;
  3225. mes "^0000ffAs soon as the voice stopped talking, an irresistible force lifted and moved you somewhere else.";
  3226. close2;
  3227. set in_102tower,10;
  3228. warp "alberta",223,36;
  3229. }
  3230. else {
  3231. mes "^0000ffThe radiating crystal piece seems to beckon you, just like last time.^000000";
  3232. next;
  3233. mes "[Mysterious Voice]";
  3234. mes "I must have underestimated you... I didn't expect to see you again.";
  3235. next;
  3236. mes "[Mysterious Voice]";
  3237. mes "I can smell your sweat, hear the gasps of your exhaustion in combat. Ah~ The human desire for victory always excites me.";
  3238. next;
  3239. mes "[Mysterious Voice]";
  3240. mes "I now allow you to come receive an audience from me. Come to me, to Nacht Sieger the Hegemon-King of the Darkness!";
  3241. close2;
  3242. warp "6@tower",32,12;
  3243. }
  3244. end;
  3245. OnInstanceInit:
  3246. disablenpc instance_npcname("Lucid Crystal#102", instance_id());
  3247. end;
  3248. OnDisable:
  3249. disablenpc instance_npcname("Lucid Crystal#102", instance_id());
  3250. end;
  3251. OnEnable:
  3252. enablenpc instance_npcname("Lucid Crystal#102", instance_id());
  3253. donpcevent instance_npcname("#102Effect1", instance_id())+"::OnEnable";
  3254. end;
  3255. }
  3256. 5@tower,106,109,2 script #102Effect1 844,{
  3257. OnInstanceInit:
  3258. disablenpc instance_npcname("#102Effect1", instance_id());
  3259. end;
  3260. OnDisable:
  3261. disablenpc instance_npcname("#102Effect1", instance_id());
  3262. end;
  3263. OnEnable:
  3264. enablenpc instance_npcname("#102Effect1", instance_id());
  3265. initnpctimer;
  3266. end;
  3267. OnTimer500:
  3268. specialeffect EF_ENHANCE;
  3269. stopnpctimer;
  3270. donpcevent instance_npcname("#102Effect2", instance_id())+"::OnEnable";
  3271. end;
  3272. }
  3273. 5@tower,106,109,2 script #102Effect2 844,{
  3274. OnInstanceInit:
  3275. disablenpc instance_npcname("#102Effect2", instance_id());
  3276. end;
  3277. OnDisable:
  3278. disablenpc instance_npcname("#102Effect2", instance_id());
  3279. end;
  3280. OnEnable:
  3281. enablenpc instance_npcname("#102Effect2", instance_id());
  3282. initnpctimer;
  3283. end;
  3284. OnTimer500:
  3285. specialeffect EF_ENHANCE;
  3286. stopnpctimer;
  3287. donpcevent instance_npcname("#102Effect1", instance_id())+"::OnEnable";
  3288. end;
  3289. }
  3290. 5@tower,82,112,2 script #102FShadowDust1 844,{
  3291. OnInstanceInit:
  3292. donpcevent instance_npcname("#102FShadowDust", instance_id())+"::OnEnable";
  3293. monster "5@tower",83,85,"Entweihen Crothen",1957,1,instance_npcname("#102FShadowDust1", instance_id())+"::OnMyMobDead";
  3294. end;
  3295. OnMyMobDead:
  3296. set .@mob_dead_num,mobcount("5@tower",instance_npcname("#102FShadowDust1", instance_id())+"::OnMyMobDead");
  3297. if (.@mob_dead_num < 1) {
  3298. instance_announce 0, "Mysterious Voice: Who are you to dare intrude upon my sanctuary?!",bc_map,"0xffff00";
  3299. donpcevent instance_npcname("#102FShadowDust", instance_id())+"::OnDisable";
  3300. donpcevent instance_npcname("Lucid Crystal#102", instance_id())+"::OnEnable";
  3301. //SetItemPartyInMap in_102floor 100
  3302. }
  3303. end;
  3304. }
  3305. 5@tower,82,113,2 script #102FShadowDust 844,{
  3306. OnInstanceInit:
  3307. disablenpc instance_npcname("#102FShadowDust", instance_id());
  3308. end;
  3309. OnDisable:
  3310. killmonsterall "5@tower";
  3311. end;
  3312. OnEnable:
  3313. monster "5@tower",72,93,"Thorny Skeleton",1958,1;
  3314. monster "5@tower",70,87,"Thorn of Magic",1960,1;
  3315. monster "5@tower",68,83,"Thorn of Pureness",1961,1;
  3316. monster "5@tower",70,80,"Thorny Skeleton",1958,1;
  3317. monster "5@tower",74,81,"Thorn of Magic",1960,1;
  3318. monster "5@tower",78,72,"Thorn of Magic",1960,1;
  3319. monster "5@tower",81,70,"Thorny Skeleton",1958,1;
  3320. monster "5@tower",78,84,"Thorn of Recovery",1959,1;
  3321. monster "5@tower",85,72,"Thorn of Magic",1960,1;
  3322. monster "5@tower",91,74,"Thorny Skeleton",1958,1;
  3323. monster "5@tower",79,77,"Thorn of Pureness",1961,1;
  3324. monster "5@tower",82,80,"Thorn of Recovery",1959,1;
  3325. monster "5@tower",87,83,"Thorn of Recovery",1959,1;
  3326. monster "5@tower",80,92,"Thorn of Pureness",1961,1;
  3327. monster "5@tower",81,89,"Thorny Skeleton",1958,1;
  3328. monster "5@tower",85,93,"Thorn of Magic",1960,1;
  3329. monster "5@tower",86,90,"Thorn of Recovery",1959,1;
  3330. monster "5@tower",88,88,"Thorny Skeleton",1958,1;
  3331. monster "5@tower",91,87,"Thorn of Magic",1960,1;
  3332. monster "5@tower",95,94,"Thorn of Magic",1960,1;
  3333. monster "5@tower",91,96,"Thorny Skeleton",1958,1;
  3334. monster "5@tower",90,82,"Thorn of Pureness",1961,1;
  3335. monster "5@tower",96,98,"Thorn of Magic",1960,1;
  3336. monster "5@tower",83,76,"Thorny Skeleton",1958,1;
  3337. monster "5@tower",74,85,"Thorny Skeleton",1958,1;
  3338. set .@mob_ran,rand(1,3);
  3339. if (.@mob_ran == 1)
  3340. monster "5@tower",82,85,"Thorny Skeleton",1958,1;
  3341. else if (.@mob_ran == 2)
  3342. monster "5@tower",82,85,"Thorn of Magic",1960,1;
  3343. else
  3344. monster "5@tower",82,85,"Thorn of Pureness",1961,1;
  3345. set .@mob_ran2,rand(1,3);
  3346. if (.@mob_ran2 == 1)
  3347. monster "5@tower",84,85,"Thorny Skeleton",1958,1;
  3348. else if (.@mob_ran2 == 2)
  3349. monster "5@tower",84,85,"Thorn of Magic",1960,1;
  3350. else
  3351. monster "5@tower",84,85,"Thorn of Pureness",1961,1;
  3352. end;
  3353. }
  3354. 5@tower,71,1,0 script #Manager Mode5 844,{
  3355. mes "This NPC manages the crystal on the 100th Floor. Please enter the password.";
  3356. input .@inputstr$;
  3357. next;
  3358. if (.@inputstr$ == "dmc2008") {
  3359. donpcevent instance_npcname("Lucid Crystal#102", instance_id())+"::OnEnable";
  3360. mes "The 100th Floor's crystal has been activated.";
  3361. }
  3362. else
  3363. mes "Please enter the correct password.";
  3364. close;
  3365. }
  3366. // Floor 101
  3367. 6@tower,45,89,2 script Spring of Life#1 844,{
  3368. set .@pc_hp,MaxHp-Hp;
  3369. set .@pc_sp,MaxSp-Sp;
  3370. mes "^0066ffYou took a sip of the spring's clear water, and you feel invigorated.^000000";
  3371. percentheal .@pc_hp,.@pc_sp;
  3372. close;
  3373. OnInstanceInit:
  3374. donpcevent instance_npcname("Spring of Life#2", instance_id())+"::OnEnable";
  3375. end;
  3376. }
  3377. 6@tower,45,89,2 script Spring of Life#2 844,{
  3378. end;
  3379. OnEnable:
  3380. specialeffect EF_BUBBLE;
  3381. initnpctimer;
  3382. end;
  3383. OnTimer2000:
  3384. stopnpctimer;;
  3385. donpcevent instance_npcname("Spring of Life#3", instance_id())+"::OnEnable";
  3386. end;
  3387. }
  3388. 6@tower,45,89,2 script Spring of Life#3 844,{
  3389. end;
  3390. OnEnable:
  3391. specialeffect EF_BUBBLE;
  3392. initnpctimer;
  3393. end;
  3394. OnTimer2000:
  3395. stopnpctimer;
  3396. donpcevent instance_npcname("Spring of Life#2", instance_id())+"::OnEnable";
  3397. end;
  3398. }
  3399. 6@tower,32,100,0 warp 102FGate102tower 2,2,6@tower,155,64
  3400. 6@tower,156,151,2 script Tyrant's Throne# 844,{
  3401. end;
  3402. OnInstanceInit:
  3403. areamonster "6@tower",154,73,156,75,"Anopheles",1627,10,instance_npcname("Tyrant's Throne#", instance_id())+"::OnMyMobDead";
  3404. end;
  3405. OnMyMobDead:
  3406. set .@mob_dead_num,mobcount("6@tower",instance_npcname("Tyrant's Throne#", instance_id())+"::OnMyMobDead");
  3407. if (.@mob_dead_num < 1) {
  3408. donpcevent instance_npcname("#1st Beeper", instance_id())+"::OnEnable";
  3409. disablenpc instance_npcname("Tyrant's Throne#", instance_id());
  3410. }
  3411. end;
  3412. }
  3413. 6@tower,156,151,2 script #1st Beeper 844,{
  3414. end;
  3415. OnEnable:
  3416. initnpctimer;
  3417. end;
  3418. OnTimer500:
  3419. 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";
  3420. end;
  3421. OnTimer5500:
  3422. instance_announce 0,"This is why you adventurers always end up dead.",bc_map,"0x00ffcc";
  3423. end;
  3424. OnTimer10500:
  3425. 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";
  3426. end;
  3427. OnTimer15500:
  3428. instance_announce 0,"You know, I like watching humans running around in fear.",bc_map,"0x00ffcc";
  3429. end;
  3430. OnTimer20500:
  3431. instance_announce 0,"Let's see who runs fastest. Are you ready?",bc_map,"0x00ffcc";
  3432. stopnpctimer;
  3433. areamonster "6@tower",151,66,153,106,"Bone Guardian",1152,50,instance_npcname("#1st Beeper", instance_id())+"::OnMyMobDead";
  3434. areamonster "6@tower",158,66,160,106,"Bone Guardian",1152,50,instance_npcname("#1st Beeper", instance_id())+"::OnMyMobDead";
  3435. end;
  3436. OnMyMobDead:
  3437. set .@mob_dead_num,mobcount("6@tower",instance_npcname("#1st Beeper", instance_id())+"::OnMyMobDead");
  3438. if (.@mob_dead_num < 1) {
  3439. donpcevent instance_npcname("#2nd Beeper", instance_id())+"::OnEnable";
  3440. //SetItemPartyInMap in_102floor 101
  3441. }
  3442. else
  3443. instance_announce 0,"Remaining Targets " + .@mob_dead_num + "ea",bc_map,"0x00ff99";
  3444. end;
  3445. }
  3446. 6@tower,156,151,2 script #2nd Beeper 844,{
  3447. end;
  3448. OnEnable:
  3449. initnpctimer;
  3450. end;
  3451. OnTimer500:
  3452. instance_announce 0,"Well, I guess they aren't too challenging for you.",bc_map,"0x00ffcc";
  3453. end;
  3454. OnTimer5500:
  3455. instance_announce 0,"Let's speed up a little bit, shall we?",bc_map,"0x00ffcc";
  3456. end;
  3457. OnTimer10500:
  3458. instance_announce 0,"I demand an encore!",bc_map,"0x00ffcc";
  3459. stopnpctimer;
  3460. areamonster "6@tower",151,66,153,106,"Wind Guardian",1263,30,instance_npcname("#2nd Beeper", instance_id())+"::OnMyMobDead";
  3461. areamonster "6@tower",158,66,160,106,"Wind Guardian",1263,30,instance_npcname("#2nd Beeper", instance_id())+"::OnMyMobDead";
  3462. end;
  3463. OnMyMobDead:
  3464. set .@mob_dead_num,mobcount("6@tower",instance_npcname("#2nd Beeper", instance_id())+"::OnMyMobDead");
  3465. if (.@mob_dead_num < 1) {
  3466. donpcevent instance_npcname("#3rd Beeper", instance_id())+"::OnEnable";
  3467. //SetItemPartyInMap in_102floor 102
  3468. }
  3469. else
  3470. instance_announce 0,"Remaining Targets " + .@mob_dead_num + "ea",bc_map,"0x00ff99";
  3471. end;
  3472. }
  3473. 6@tower,156,151,2 script #3rd Beeper 844,{
  3474. end;
  3475. OnEnable:
  3476. initnpctimer;
  3477. end;
  3478. OnTimer500:
  3479. instance_announce 0,"Yes, this is getting exciting!",bc_map,"0x00ffcc";
  3480. end;
  3481. OnTimer5500:
  3482. instance_announce 0,"I'll remember you as one of a few that have managed to entertain me.",bc_map,"0x00ffcc";
  3483. end;
  3484. OnTimer10500:
  3485. instance_announce 0,"How would you like to play one more round?",bc_map,"0x00ffcc";
  3486. stopnpctimer;
  3487. areamonster "6@tower",151,66,153,106,"Sword Edge Guardian",1132,20,instance_npcname("#3rd Beeper", instance_id())+"::OnMyMobDead";
  3488. areamonster "6@tower",158,66,160,106,"Sword Edge Guardian",1132,20,instance_npcname("#3rd Beeper", instance_id())+"::OnMyMobDead";
  3489. end;
  3490. OnMyMobDead:
  3491. set .@mob_dead_num,mobcount("6@tower",instance_npcname("#3rd Beeper", instance_id())+"::OnMyMobDead");
  3492. if (.@mob_dead_num < 1) {
  3493. donpcevent instance_npcname("#4th Beeper", instance_id())+"::OnEnable";
  3494. //SetItemPartyInMap in_102floor 103
  3495. }
  3496. else
  3497. instance_announce 0,"Remaining Targets " + .@mob_dead_num + "ea",bc_map,"0x00ff99";
  3498. end;
  3499. }
  3500. 6@tower,156,151,2 script #4th Beeper 844,{
  3501. end;
  3502. OnEnable:
  3503. initnpctimer;
  3504. end;
  3505. OnTimer500:
  3506. instance_announce 0,"Okay, the time has come to make my appearance!",bc_map,"0x00ffcc";
  3507. end;
  3508. OnTimer5500:
  3509. instance_announce 0,"Do you want to know who I am?",bc_map,"0x00ffcc";
  3510. end;
  3511. OnTimer10500:
  3512. instance_announce 0,"You'll soon know. Mine is the face of death!",bc_map,"0x00ffcc";
  3513. stopnpctimer;
  3514. monster "6@tower",156,147,"Nacht Sieger",1956,1,instance_npcname("#4th Beeper", instance_id())+"::OnMyMobDead";
  3515. end;
  3516. OnMyMobDead:
  3517. donpcevent instance_npcname("Lost Soul#102", instance_id())+"::OnEnable";
  3518. end;
  3519. }
  3520. 6@tower,169,127,2 script Lost Soul#102 796,{
  3521. if (checkweight(1201,1) == 0) {
  3522. mes "You're carrying too much stuff. Why don't you put some of it away, and then come back?";
  3523. close;
  3524. }
  3525. mes "[Lost Souls]";
  3526. mes "It's you that have liberated us from the evil Nacht Sieger.";
  3527. next;
  3528. mes "[Lost Souls]";
  3529. mes "Thank you so much. Now we can escape from this cold and dark place... to heaven.";
  3530. next;
  3531. if ((countitem(13412) > 0) && (countitem(13413) > 0)) {
  3532. mes "[Lost Souls]";
  3533. mes "Hey, you have the remnants of Nacht Sieger with you.";
  3534. next;
  3535. mes "[Lost Souls]";
  3536. 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.";
  3537. next;
  3538. switch(select("Make a Two-Handed Sword.:No, thanks.")) {
  3539. case 1:
  3540. mes "[Lost Souls]";
  3541. mes "Good, then I'll combine these to create a two-handed sword.";
  3542. next;
  3543. delitem 13412,1; //Twin_Edge_B
  3544. delitem 13413,1; //Twin_Edge_R
  3545. getitem 1185,1; //Violet_Fear
  3546. mes "[Lost Souls]";
  3547. mes "I'd like to talk to you more, but I've... I've got to go now.";
  3548. next;
  3549. break;
  3550. case 2:
  3551. mes "[Lost Souls]";
  3552. mes "I see. I guess you aren't as greedy or ambitious as those other adventurers.";
  3553. next;
  3554. mes "[Lost Souls]";
  3555. mes "I'd like to talk to you more, but I've... I've got to go now.";
  3556. next;
  3557. break;
  3558. }
  3559. }
  3560. mes "[Lost Souls]";
  3561. mes "Farewell, young adventurer. I wish you good luck.";
  3562. close2;
  3563. warp "alberta",223,36;
  3564. end;
  3565. OnInstanceInit:
  3566. disablenpc instance_npcname("Lost Soul#102", instance_id());
  3567. end;
  3568. OnEnable:
  3569. initnpctimer;
  3570. enablenpc instance_npcname("Lost Soul#102", instance_id());
  3571. donpcevent instance_npcname("#Effect30", instance_id())+"::OnEnable";
  3572. //SetItemPartyInMap in_102floor 104
  3573. end;
  3574. OnTimer500:
  3575. instance_announce 0,"This... This can't be happening! I can't be defeated!",bc_map,"0xffff00";
  3576. end;
  3577. OnTimer5500:
  3578. instance_announce 0,"Nooo! My soul... My shell...! Nooo~!",bc_map,"0xffff00";
  3579. end;
  3580. OnTimer10500:
  3581. instance_announce 0,"Nacht Sieger's body has turned into dark ashes that scattered in the wind.",bc_map,"0x00ffcc";
  3582. stopnpctimer;
  3583. end;
  3584. }
  3585. 6@tower,169,127,2 script #Effect30 844,{
  3586. end;
  3587. OnInstanceInit:
  3588. disablenpc instance_npcname("#Effect30", instance_id());
  3589. end;
  3590. OnEnable:
  3591. specialeffect EF_CONE;
  3592. initnpctimer;
  3593. end;
  3594. OnTimer1000:
  3595. stopnpctimer;
  3596. donpcevent instance_npcname("#Effect31", instance_id())+"::OnEnable";
  3597. end;
  3598. }
  3599. 6@tower,169,127,2 script #Effect31 844,{
  3600. end;
  3601. OnInstanceInit:
  3602. disablenpc instance_npcname("#Effect31", instance_id());
  3603. end;
  3604. OnEnable:
  3605. specialeffect EF_CONE;
  3606. initnpctimer;
  3607. end;
  3608. OnTimer1000:
  3609. stopnpctimer;
  3610. donpcevent instance_npcname("#Effect30", instance_id())+"::OnEnable";
  3611. end;
  3612. }