EndlessTower.txt 165 KB

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