OldGlastHeim.txt 66 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981
  1. //===== rAthena Script =======================================
  2. //= Old Glast Heim
  3. //===== By: ==================================================
  4. //= Ziu, Heris (translation)
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= Discover the history of events that took place in the
  11. //= Glast Heim castle and how it ended up in ruins.
  12. //===== Additional Comments: =================================
  13. //= 1.0 First version. [Euphy]
  14. //= This is a custom version, and may contain bugs.
  15. //= 1.1 Bug fixes; removed redundant OnInstanceInit scripts.
  16. //============================================================
  17. glast_01,204,273,6 script Hugin#ghinstance 755,{
  18. mes "^ff0000This isn't considered a normal progression dungeon. Please note this point.^000000";
  19. next;
  20. mes "[Hugin]";
  21. mes "Huh? You feel like you have seen me in different places? I see. What can I say?";
  22. next;
  23. set .@ghins_time, checkquest(12317,PLAYTIME);
  24. if (.@ghins_time == -1) {
  25. set .@party_id,getcharid(1);
  26. set .@p_name$,getpartyname(.@party_id);
  27. set .@md_name$,"Old Glast Heim";
  28. if (!instance_check_party(.@party_id,2)) {
  29. //custom
  30. mes "[Hugin]";
  31. mes "Where are your party members?";
  32. close;
  33. }
  34. if (getcharid(0) == getpartyleader(.@party_id,2))
  35. set .@menu$, "Create the time gap.:Enter the Old Glast Heim.:Cancel.";
  36. else
  37. set .@menu$, ":Enter the Old Glast Heim.:Cancel.";
  38. switch(select(.@menu$)) {
  39. case 1:
  40. if (instance_create(.@md_name$) < 0) {
  41. mes "Party Name: "+.@p_name$;
  42. mes "Party Leader: "+strcharinfo(0);
  43. mes "^0000ff"+.@md_name$+" ^000000- Reservation Failed!";
  44. close;
  45. }
  46. mes "[Hugin]";
  47. mes "The time gap was created. When you're ready, talk to me again.";
  48. close;
  49. case 2:
  50. switch(instance_enter(.@md_name$)) {
  51. case 3:
  52. mes "An unknown error has occurred.";
  53. close;
  54. case 2:
  55. mes "The memorial dungeon "+.@md_name$+" does not exist.";
  56. mes "The party leader did not generate the dungeon yet.";
  57. close;
  58. case 1:
  59. mes "Only the registered members can enter the instance "+.@md_name$+".";
  60. close;
  61. case 0:
  62. mapannounce "glast_01",strcharinfo(0)+", member of the party "+.@p_name$+" entered the instance "+.@md_name$+".",bc_map,"0x00ff99";
  63. setquest 12317;
  64. setquest 12318;
  65. //warp "1@gl_k",150,20;
  66. close;
  67. }
  68. case 3:
  69. close;
  70. }
  71. } else if (.@ghins_time == 0 || .@ghins_time == 1) {
  72. mes "[Hugin]";
  73. mes "Oh, geez.";
  74. mes "Your body is still under the effects of time travel. In this state, you will not be able to travel again.";
  75. next;
  76. mes "[Hugin]";
  77. mes "You should rest and come back later for more.";
  78. close;
  79. } else {
  80. mes "^0000ffOld Glast Heim access trail has been cleared. It is now possible to talk to Hugin.^000000";
  81. erasequest 12317;
  82. if (checkquest(12318) > -1) erasequest 12318;
  83. if (checkquest(12319) > -1) erasequest 12319;
  84. close;
  85. }
  86. }
  87. // Floor 1
  88. //============================================================
  89. 1@gl_k,149,41,6 script Varmunt#ghinstance1 654,{
  90. if (getcharid(0) == getpartyleader(getcharid(1),2)) {
  91. mes "Hey ^0000ffguys^000000, were you sent here to help me?";
  92. npctalk "Hey guys, were you sent here to help me?";
  93. cutin "gl_barmund1",2;
  94. next;
  95. select("Oh. Well, about that...");
  96. mes "["+strcharinfo(0)+"]";
  97. mes "Oh yeah, hahaha, we were told to meet someone called Varmunt.";
  98. unittalk getcharid(3),"Oh yeah, hahaha, we were told to meet someone called Varmunt.";
  99. next;
  100. mes "[Varmunt]";
  101. mes "We don't have time. We must tell Sir Heinrich about Himmelmez's invasion.";
  102. npctalk "We don't have time. We must tell Sir Heinrich about Himmelmez's invasion.";
  103. cutin "gl_barmund2",2;
  104. next;
  105. select("What Himmelmez...");
  106. mes "["+strcharinfo(0)+"]";
  107. mes "Himmelmez? Who the hell is she?";
  108. unittalk getcharid(3),"Himmelmez? Who the hell is she?";
  109. next;
  110. mes "[Varmunt]";
  111. mes "Didn't anybody give you the basic informations?";
  112. npctalk "Didn't anybody give you the basic informations?";
  113. cutin "gl_barmund3",2;
  114. next;
  115. mes "[Varmunt]";
  116. mes "The Valkyrie of the dead. She's after the Ymir's Heart pieces hidden here.";
  117. npctalk "The Valkyrie of the dead. She's after the Ymir's Heart pieces hidden here";
  118. cutin "gl_barmund2",2;
  119. next;
  120. mes "[Varmunt]";
  121. mes "She's capable of destroying the whole castle for this purpose.";
  122. npctalk "She's capable of destroying the whole castle for this purpose.";
  123. next;
  124. mes "[Varmunt]";
  125. mes "Hurry up! Inform Sir Heinrich that Himmelmez is coming. I will briefly explore the enchantments she made to this place!";
  126. npctalk "Hurry up! Inform Sir Heinrich that Himmelmez is coming. I will briefly explore the enchantments she made to this place!";
  127. close2;
  128. cutin "gl_barmund2",255;
  129. donpcevent instance_npcname("Varmunt#ghinstance1")+"::OnDisable2";
  130. end;
  131. } else {
  132. mes "[Varmunt]";
  133. mes "Where is he? We";
  134. mes "need his help.";
  135. cutin "gl_barmund2",2;
  136. close2;
  137. cutin "gl_barmund2",255;
  138. end;
  139. }
  140. OnInstanceInit:
  141. donpcevent instance_npcname("Varmunt#ghinstance1")+"::OnEnable";
  142. end;
  143. OnDisable:
  144. hideonnpc instance_npcname("Varmunt#ghinstance1");
  145. end;
  146. OnDisable2:
  147. hideonnpc instance_npcname("Varmunt#ghinstance1");
  148. for(set .@i,1; .@i<=20; set .@i,.@i+4) {
  149. hideoffnpc instance_npcname("Khalitzburg Crusader#"+.@i);
  150. hideoffnpc instance_npcname("Khalitzburg Crusader#"+(.@i+1));
  151. hideoffnpc instance_npcname("White Knight#"+(.@i+2));
  152. hideoffnpc instance_npcname("White Knight#"+(.@i+3));
  153. }
  154. hideoffnpc instance_npcname("Khalitzburg Crusader#21");
  155. hideoffnpc instance_npcname("Khalitzburg Crusader#22");
  156. hideoffnpc instance_npcname("Heinrich#ghinstance1");
  157. hideoffnpc instance_npcname("Varmunt#ghinstance2");
  158. end;
  159. OnEnable:
  160. hideoffnpc instance_npcname("Varmunt#ghinstance1");
  161. end;
  162. }
  163. 1@gl_k,145,54,6 script Khalitzburg Crusader#1 655,{
  164. mes "["+strnpcinfo(1)+"]";
  165. switch((atoi(strnpcinfo(2)) + 1) / 2) {
  166. case 1: mes "Would I be recruited?"; break;
  167. case 2: mes "May I help you?"; break;
  168. case 3: mes "..."; break;
  169. case 4: mes "I do not like to chit-chat during work."; break;
  170. case 5: mes "The aura of the castle has changed, don't you think? Something like a presence seemed to appear a little while ago."; break;
  171. case 6: mes "I wonder what commandant Varmunt is doing. I heard people are running away..."; break;
  172. case 7: mes "Quiet please."; break;
  173. case 8: mes "A fuss seems to be near."; break;
  174. case 9: mes "A dream last night really bothered me. My mother used to say that these dreams may come true..."; break;
  175. case 10: mes "Is Varmunt going with you? The commandant is waiting for you."; break;
  176. case 11: mes "Soon it's time to change shifts. I wonder what happened to the other knights."; break;
  177. }
  178. close;
  179. OnInstanceInit:
  180. OnDisable:
  181. hideonnpc instance_npcname(strnpcinfo(0));
  182. end;
  183. OnEnable:
  184. hideoffnpc instance_npcname(strnpcinfo(0));
  185. end;
  186. }
  187. 1@gl_k,154,54,3 duplicate(Khalitzburg Crusader#1) Khalitzburg Crusader#2 655
  188. 1@gl_k,145,59,6 duplicate(Khalitzburg Crusader#1) White Knight#3 657
  189. 1@gl_k,154,59,3 duplicate(Khalitzburg Crusader#1) White Knight#4 657
  190. 1@gl_k,145,64,6 duplicate(Khalitzburg Crusader#1) Khalitzburg Crusader#5 655
  191. 1@gl_k,154,64,3 duplicate(Khalitzburg Crusader#1) Khalitzburg Crusader#6 655
  192. 1@gl_k,145,69,6 duplicate(Khalitzburg Crusader#1) White Knight#7 657
  193. 1@gl_k,154,69,3 duplicate(Khalitzburg Crusader#1) White Knight#8 657
  194. 1@gl_k,145,74,6 duplicate(Khalitzburg Crusader#1) Khalitzburg Crusader#9 655
  195. 1@gl_k,154,74,3 duplicate(Khalitzburg Crusader#1) Khalitzburg Crusader#10 655
  196. 1@gl_k,145,79,6 duplicate(Khalitzburg Crusader#1) White Knight#11 657
  197. 1@gl_k,154,79,3 duplicate(Khalitzburg Crusader#1) White Knight#12 657
  198. 1@gl_k,145,84,6 duplicate(Khalitzburg Crusader#1) Khalitzburg Crusader#13 655
  199. 1@gl_k,154,84,3 duplicate(Khalitzburg Crusader#1) Khalitzburg Crusader#14 655
  200. 1@gl_k,145,89,6 duplicate(Khalitzburg Crusader#1) White Knight#15 657
  201. 1@gl_k,154,89,3 duplicate(Khalitzburg Crusader#1) White Knight#16 657
  202. 1@gl_k,145,94,6 duplicate(Khalitzburg Crusader#1) Khalitzburg Crusader#17 655
  203. 1@gl_k,154,94,3 duplicate(Khalitzburg Crusader#1) Khalitzburg Crusader#18 655
  204. 1@gl_k,145,99,6 duplicate(Khalitzburg Crusader#1) White Knight#19 657
  205. 1@gl_k,154,99,3 duplicate(Khalitzburg Crusader#1) White Knight#20 657
  206. 1@gl_k,145,104,6 duplicate(Khalitzburg Crusader#1) Khalitzburg Crusader#21 655
  207. 1@gl_k,154,104,3 duplicate(Khalitzburg Crusader#1) Khalitzburg Crusader#22 655
  208. 1@gl_k,149,100,6 script Heinrich#ghinstance1 652,{
  209. if (getcharid(0) == getpartyleader(getcharid(1),2)) {
  210. cutin "gl_heinrich2",2;
  211. select("Heinrich, about the castle...");
  212. mes "["+strcharinfo(0)+"]";
  213. mes "Do you know what is happening now in the castle, Heinrich?";
  214. unittalk getcharid(3),"Do you know what is happening now in the castle, Heinrich?";
  215. next;
  216. mes "[Heinrich]";
  217. mes "You are the adventurers who have come with Varmunt, right?";
  218. npctalk "You are the adventurers who have come with Varmunt, right?";
  219. next;
  220. mes "[Heinrich]";
  221. mes "What can I do for you? Is there something wrong?";
  222. npctalk "What can I do for you? Is there something wrong?";
  223. next;
  224. select("The Ymir's Heart. Himmelmez...");
  225. mes "["+strcharinfo(0)+"]";
  226. mes "Himmelmez, the Valkyrie of the dead is looking to get a piece of the Ymir's heart hidden in the castle!";
  227. unittalk getcharid(3),"Himmelmez, the Valkyrie of the dead is looking to get a piece of the Ymir's heart hidden in the castle!";
  228. next;
  229. mes "[Heinrich]";
  230. mes "Haha. That's a nice joke. Now tell me what brings you here.";
  231. npctalk "Haha. That's a nice joke. Now tell me what brings you here.";
  232. cutin "gl_heinrich1",2;
  233. next;
  234. mes "[Varmunt]";
  235. mes "I am not joking Heinrich, Sir. Now, if my judgement is correct, she will be here soon.";
  236. donpcevent instance_npcname("Varmunt#ghinstance2")+"::OnTalk1";
  237. cutin "gl_barmund2",2;
  238. next;
  239. mes "[Varmunt]";
  240. mes "I trust this guy following me. The Ymir's Heart pieces must be hidden in a safe place before Himmelmez takes them!";
  241. donpcevent instance_npcname("Varmunt#ghinstance2")+"::OnTalk2";
  242. next;
  243. select("Even if you do not believe...");
  244. mes "["+strcharinfo(0)+"]";
  245. mes "Even if you don't believe it, do something. We do not have much time!";
  246. unittalk getcharid(3),"Even if you don't believe it, do something. We do not have much time!";
  247. cutin "gl_barmund2",255;
  248. next;
  249. mes "[Heinrich]";
  250. mes "I will be glad if you give me two minutes, please. But now the king isn't in his room.";
  251. npctalk "I will be glad if you give me two minutes, please. But now the king isn't in his room.";
  252. cutin "gl_heinrich1",2;
  253. next;
  254. mes "[Heinrich]";
  255. mes "But I think that with such a busy agenda, he won't be able to take care of this.";
  256. npctalk "But I think that with such a busy agenda, he won't be able to take care of this.";
  257. donpcevent instance_npcname("Heinrich#ghinstance1")+"::OnDisable";
  258. donpcevent instance_npcname("Heinrich#ghinstance2")+"::OnEnable";
  259. donpcevent instance_npcname("Himmelmez#ghinstance1")+"::OnEnable";
  260. donpcevent instance_npcname("#talkinstance1")+"::OnEnable";
  261. mapannounce instance_mapname("1@gl_k"), "???? Shout: Ohohohoho~!",bc_map,"0xFFFF00";
  262. close2;
  263. cutin "gl_heinrich1",255;
  264. end;
  265. } else {
  266. mes "[Heinrich]";
  267. mes "Where is your representative?";
  268. mes "I need to talk to him.";
  269. cutin "gl_heinrich2",2;
  270. close2;
  271. cutin "gl_heinrich2",255;
  272. end;
  273. }
  274. OnInstanceInit:
  275. OnDisable:
  276. hideonnpc instance_npcname("Heinrich#ghinstance1");
  277. end;
  278. OnEnable:
  279. hideoffnpc instance_npcname("Heinrich#ghinstance1");
  280. end;
  281. }
  282. 1@gl_k,152,97,3 script Varmunt#ghinstance2 654,{
  283. end;
  284. OnInstanceInit:
  285. OnDisable:
  286. hideonnpc instance_npcname("Varmunt#ghinstance2");
  287. end;
  288. OnEnable:
  289. hideoffnpc instance_npcname("Varmunt#ghinstance2");
  290. end;
  291. OnTalk1:
  292. npctalk "I am not joking Heinrich, Sir. Now, if my judgement is correct, she will be here soon.";
  293. end;
  294. OnTalk2:
  295. npctalk "I trust this guy following me. The Ymir's Heart pieces must be hidden in a safe place before Himmelmez takes them!";
  296. end;
  297. OnTalk3:
  298. npctalk "Himmelmez!! Through the cracks!";
  299. end;
  300. OnTalk4:
  301. npctalk "Unbelievable. My men are...This kind of thing is not possible!";
  302. end;
  303. OnTalk5:
  304. npctalk "Heinrich, Sir! I need a quick decision.";
  305. end;
  306. OnTalk6:
  307. npctalk "To prevent other attacks, go chase her!";
  308. end;
  309. OnTalk7:
  310. npctalk "Now, your help is desperately needed. I hopefully ask you.";
  311. end;
  312. }
  313. 1@gl_k,149,97,6 script Heinrich#ghinstance2 652,{
  314. end;
  315. OnInstanceInit:
  316. OnDisable:
  317. hideonnpc instance_npcname("Heinrich#ghinstance2");
  318. end;
  319. OnEnable:
  320. hideoffnpc instance_npcname("Heinrich#ghinstance2");
  321. end;
  322. OnTalk1:
  323. npctalk "Who?!";
  324. end;
  325. OnTalk2:
  326. npctalk "That who rules the dead? No doubt, a pretty story. Here, some tea will be served to entertain the ladies. Unfortunately, I do not...";
  327. end;
  328. OnTalk3:
  329. npctalk "What did you say?";
  330. end;
  331. OnTalk4:
  332. npctalk "The King responded to the invitation of the Rune Midgard's Royal Family and hasn't come back yet.";
  333. end;
  334. OnTalk5:
  335. npctalk "Just leave before you get in trouble. This is the King's will!";
  336. end;
  337. OnTalk6:
  338. npctalk "Damn! She has detected the position of the Ymir's Heart pieces.";
  339. end;
  340. OnTalk7:
  341. npctalk "Now, Khalitzburg Crusaders and White Knights, follow me...";
  342. end;
  343. OnTalk8:
  344. npctalk "Unbelievable. My men are...This kind of thing is not possible!";
  345. end;
  346. OnTalk9:
  347. npctalk "I'm sorry...";
  348. end;
  349. OnTalk10:
  350. npctalk "I'm sorry, my lord! Do not forgive me!";
  351. end;
  352. }
  353. 1@gl_k,149,100,6 script Heinrich#ghinstance3 652,{
  354. end;
  355. OnInstanceInit:
  356. OnDisable:
  357. hideonnpc instance_npcname("Heinrich#ghinstance3");
  358. end;
  359. OnEnable:
  360. hideoffnpc instance_npcname("Heinrich#ghinstance3");
  361. end;
  362. OnTalk1:
  363. npctalk "I cannot believe I killed my men with my own hands!";
  364. end;
  365. OnTalk2:
  366. npctalk "Varmunt is right about that. Now is not the time to regret.";
  367. end;
  368. OnTalk3:
  369. npctalk "People, gather around and follow my orders.";
  370. end;
  371. OnTalk4:
  372. npctalk "Himmelmez is turning into monsters all the people she put to sleep.";
  373. end;
  374. OnTalk5:
  375. npctalk "I don't know if there are survivors around here yet.";
  376. end;
  377. OnTalk6:
  378. npctalk "If there are survivors from this evil thing, please rescue them.";
  379. end;
  380. OnTalk7:
  381. npctalk "With Varmunt by my side, I'm going to chase Himmelmez down.";
  382. end;
  383. OnTalk8:
  384. npctalk "Hurry up Varmunt, let's chase her down.";
  385. end;
  386. }
  387. 1@gl_k,149,89,1 script Himmelmez#ghinstance1 650,{
  388. end;
  389. OnInstanceInit:
  390. OnDisable:
  391. hideonnpc instance_npcname("Himmelmez#ghinstance1");
  392. end;
  393. OnEnable:
  394. hideoffnpc instance_npcname("Himmelmez#ghinstance1");
  395. end;
  396. OnTalk1:
  397. npctalk "This~ Did I interrupt your conversation? The thing is, it's been too long since the last guests saw some sadness spread...";
  398. end;
  399. OnTalk2:
  400. npctalk "My name is Lisa Kahn Himmelmez. I am called the Valkyrie of the dead, master of the Dullahan.";
  401. end;
  402. OnTalk3:
  403. npctalk "There's no need to pretend to be so laid back. Don't bluff about the whereabouts of you Majesty and things will be alright.";
  404. end;
  405. OnTalk4:
  406. npctalk "Hohoho, do you have any questions? You're a really mysterious man.";
  407. end;
  408. OnTalk5:
  409. npctalk "Not coveting the king's throne, you're such a stupid man, only waiting for his return. Your innocence is true, I love it.";
  410. end;
  411. Ontalk6:
  412. npctalk "You make me wish we hadn't met in this situation. Too bad we did.";
  413. end;
  414. Ontalk7:
  415. npctalk "Well~ Today, with such a busy commandant, I won't be able to talk as much as I'd love for you to contemplate my explanation~";
  416. end;
  417. OnTalk8:
  418. npctalk "I gotta get my job done. Meanwhile why don't you meet my men? Hohoho.";
  419. end;
  420. }
  421. // Control Timer
  422. //============================================================
  423. 1@gl_k,0,0,0 script #talkinstance1 -1,{
  424. OnInstanceInit:
  425. OnDisable:
  426. disablenpc instance_npcname("#talkinstance1");
  427. end;
  428. OnEnable:
  429. enablenpc instance_npcname("#talkinstance1");
  430. initnpctimer;
  431. end;
  432. OnTimer5000:
  433. donpcevent instance_npcname("Heinrich#ghinstance2")+"::OnTalk1";
  434. end;
  435. OnTimer10000:
  436. donpcevent instance_npcname("Himmelmez#ghinstance1")+"::OnTalk1";
  437. end;
  438. OnTimer15000:
  439. donpcevent instance_npcname("Varmunt#ghinstance2")+"::OnTalk3";
  440. end;
  441. OnTimer20000:
  442. donpcevent instance_npcname("Himmelmez#ghinstance1")+"::OnTalk2";
  443. end;
  444. OnTimer25000:
  445. donpcevent instance_npcname("Heinrich#ghinstance2")+"::OnTalk2";
  446. end;
  447. OnTimer30000:
  448. donpcevent instance_npcname("Himmelmez#ghinstance1")+"::OnTalk3";
  449. end;
  450. OnTimer35000:
  451. donpcevent instance_npcname("Heinrich#ghinstance2")+"::OnTalk3";
  452. end;
  453. OnTimer45000:
  454. donpcevent instance_npcname("Himmelmez#ghinstance1")+"::OnTalk4";
  455. end;
  456. OnTimer50000:
  457. donpcevent instance_npcname("Himmelmez#ghinstance1")+"::OnTalk5";
  458. end;
  459. OnTimer55000:
  460. donpcevent instance_npcname("Himmelmez#ghinstance1")+"::OnTalk6";
  461. end;
  462. OnTimer60000:
  463. donpcevent instance_npcname("Heinrich#ghinstance2")+"::OnTalk4";
  464. end;
  465. OnTimer65000:
  466. donpcevent instance_npcname("Heinrich#ghinstance2")+"::OnTalk5";
  467. end;
  468. OnTimer70000:
  469. donpcevent instance_npcname("Himmelmez#ghinstance1")+"::OnTalk7";
  470. end;
  471. OnTimer75000:
  472. donpcevent instance_npcname("Himmelmez#ghinstance1")+"::OnTalk8";
  473. end;
  474. OnTimer80000:
  475. donpcevent instance_npcname("Heinrich#ghinstance2")+"::OnTalk6";
  476. donpcevent instance_npcname("Himmelmez#ghinstance1")+"::OnDisable";
  477. end;
  478. OnTimer85000:
  479. donpcevent instance_npcname("Heinrich#ghinstance2")+"::OnTalk7";
  480. hideonnpc instance_npcname("Varmunt#ghinstance1");
  481. for(set .@i,1; .@i<=20; set .@i,.@i+4) {
  482. hideonnpc instance_npcname("Khalitzburg Crusader#"+.@i);
  483. hideonnpc instance_npcname("Khalitzburg Crusader#"+(.@i+1));
  484. hideonnpc instance_npcname("White Knight#"+(.@i+2));
  485. hideonnpc instance_npcname("White Knight#"+(.@i+3));
  486. }
  487. hideonnpc instance_npcname("Khalitzburg Crusader#21");
  488. hideonnpc instance_npcname("Khalitzburg Crusader#22");
  489. set .@map$, instance_mapname("1@gl_k");
  490. set .@label$, instance_npcname("#talkinstance1")+"::OnMyMobDead";
  491. monster .@map$,145,59,"Abyss Knight",2470,1,.@label$;
  492. monster .@map$,154,59,"Abyss Knight",2470,1,.@label$;
  493. monster .@map$,145,69,"Abyss Knight",2470,1,.@label$;
  494. monster .@map$,154,69,"Abyss Knight",2470,1,.@label$;
  495. monster .@map$,145,79,"Abyss Knight",2470,1,.@label$;
  496. monster .@map$,154,79,"Abyss Knight",2470,1,.@label$;
  497. monster .@map$,145,89,"Abyss Knight",2470,1,.@label$;
  498. monster .@map$,154,89,"Abyss Knight",2470,1,.@label$;
  499. monster .@map$,145,99,"Abyss Knight",2470,1,.@label$;
  500. monster .@map$,154,99,"Abyss Knight",2470,1,.@label$;
  501. for(set .@i,1; .@i<=22; set .@i,.@i+1)
  502. hideoffnpc instance_npcname(".#ghinstance"+.@i);
  503. donpcevent instance_npcname(".#ghinstance22")+"::OnTalkK";
  504. donpcevent instance_npcname(".#ghinstance21")+"::OnTalkK";
  505. donpcevent instance_npcname(".#ghinstance18")+"::OnTalkK";
  506. donpcevent instance_npcname(".#ghinstance17")+"::OnTalkK";
  507. donpcevent instance_npcname(".#ghinstance14")+"::OnTalkK";
  508. donpcevent instance_npcname(".#ghinstance13")+"::OnTalkK";
  509. donpcevent instance_npcname(".#ghinstance10")+"::OnTalkK";
  510. donpcevent instance_npcname(".#ghinstance9")+"::OnTalkK";
  511. donpcevent instance_npcname(".#ghinstance6")+"::OnTalkK";
  512. donpcevent instance_npcname(".#ghinstance5")+"::OnTalkK";
  513. donpcevent instance_npcname(".#ghinstance2")+"::OnTalkK";
  514. donpcevent instance_npcname(".#ghinstance1")+"::OnTalkK";
  515. end;
  516. OnTimer88000:
  517. donpcevent instance_npcname("Heinrich#ghinstance2")+"::OnTalk8";
  518. for(set .@i,1; .@i<=20; set .@i,.@i+4) {
  519. hideonnpc instance_npcname(".#ghinstance"+.@i);
  520. hideonnpc instance_npcname(".#ghinstance"+(.@i+1));
  521. disablenpc instance_npcname(".#ghinstance"+(.@i+2));
  522. disablenpc instance_npcname(".#ghinstance"+(.@i+3));
  523. }
  524. hideonnpc instance_npcname(".#ghinstance21");
  525. hideonnpc instance_npcname(".#ghinstance22");
  526. set .@map$, instance_mapname("1@gl_k");
  527. set .@label$, instance_npcname("#talkinstance1")+"::OnMyMobDead";
  528. monster .@map$,145,54,"Khalitzburg",2471,1,.@label$;
  529. monster .@map$,154,54,"Khalitzburg",2471,1,.@label$;
  530. monster .@map$,145,64,"Khalitzburg",2471,1,.@label$;
  531. monster .@map$,154,64,"Khalitzburg",2471,1,.@label$;
  532. monster .@map$,145,74,"Khalitzburg",2471,1,.@label$;
  533. monster .@map$,154,74,"Khalitzburg",2471,1,.@label$;
  534. monster .@map$,145,84,"Khalitzburg",2471,1,.@label$;
  535. monster .@map$,154,84,"Khalitzburg",2471,1,.@label$;
  536. monster .@map$,145,94,"Khalitzburg",2471,1,.@label$;
  537. monster .@map$,154,94,"Khalitzburg",2471,1,.@label$;
  538. monster .@map$,145,104,"Khalitzburg",2471,1,.@label$;
  539. monster .@map$,154,104,"Khalitzburg",2471,1,.@label$;
  540. end;
  541. OnTimer93000:
  542. donpcevent instance_npcname("Varmunt#ghinstance2")+"::OnTalk4";
  543. end;
  544. OnTimer97000:
  545. donpcevent instance_npcname("Heinrich#ghinstance2")+"::OnTalk9";
  546. end;
  547. OnTimer105000:
  548. donpcevent instance_npcname("Heinrich#ghinstance2")+"::OnTalk10";
  549. mapannounce instance_mapname("1@gl_k"), "Heinrich's Shout: Dead men, dead men all over the place!",bc_map,"0xFFFF00";
  550. end;
  551. OnTimer107000:
  552. mapannounce instance_mapname("1@gl_k"), "Heinrich's Shout: Everybody! Go back!",bc_map,"0xFFFF00";
  553. end;
  554. OnTimer110000:
  555. donpcevent instance_npcname(".#ghinstance22")+"::OnEffect1";
  556. donpcevent instance_npcname(".#ghinstance21")+"::OnEffect1";
  557. end;
  558. OnTimer110500:
  559. enablenpc instance_npcname(".#ghinstance20");
  560. enablenpc instance_npcname(".#ghinstance19");
  561. donpcevent instance_npcname(".#ghinstance20")+"::OnEffect1";
  562. donpcevent instance_npcname(".#ghinstance19")+"::OnEffect1";
  563. end;
  564. OnTimer111000:
  565. donpcevent instance_npcname(".#ghinstance18")+"::OnEffect1";
  566. donpcevent instance_npcname(".#ghinstance17")+"::OnEffect1";
  567. end;
  568. OnTimer111500:
  569. enablenpc instance_npcname(".#ghinstance16");
  570. enablenpc instance_npcname(".#ghinstance15");
  571. donpcevent instance_npcname(".#ghinstance16")+"::OnEffect1";
  572. donpcevent instance_npcname(".#ghinstance15")+"::OnEffect1";
  573. end;
  574. OnTimer112000:
  575. donpcevent instance_npcname(".#ghinstance14")+"::OnEffect1";
  576. donpcevent instance_npcname(".#ghinstance13")+"::OnEffect1";
  577. end;
  578. OnTimer112500:
  579. enablenpc instance_npcname(".#ghinstance12");
  580. enablenpc instance_npcname(".#ghinstance11");
  581. donpcevent instance_npcname(".#ghinstance12")+"::OnEffect1";
  582. donpcevent instance_npcname(".#ghinstance11")+"::OnEffect1";
  583. end;
  584. OnTimer113000:
  585. donpcevent instance_npcname(".#ghinstance10")+"::OnEffect1";
  586. donpcevent instance_npcname(".#ghinstance9")+"::OnEffect1";
  587. end;
  588. OnTimer113500:
  589. enablenpc instance_npcname(".#ghinstance8");
  590. enablenpc instance_npcname(".#ghinstance7");
  591. donpcevent instance_npcname(".#ghinstance8")+"::OnEffect1";
  592. donpcevent instance_npcname(".#ghinstance7")+"::OnEffect1";
  593. end;
  594. OnTimer114000:
  595. donpcevent instance_npcname(".#ghinstance6")+"::OnEffect1";
  596. donpcevent instance_npcname(".#ghinstance5")+"::OnEffect1";
  597. end;
  598. OnTimer114500:
  599. enablenpc instance_npcname(".#ghinstance4");
  600. enablenpc instance_npcname(".#ghinstance3");
  601. donpcevent instance_npcname(".#ghinstance4")+"::OnEffect1";
  602. donpcevent instance_npcname(".#ghinstance3")+"::OnEffect1";
  603. end;
  604. OnTimer114750: //custom time
  605. disablenpc instance_npcname(".#ghinstance3");
  606. disablenpc instance_npcname(".#ghinstance4");
  607. disablenpc instance_npcname(".#ghinstance7");
  608. disablenpc instance_npcname(".#ghinstance8");
  609. disablenpc instance_npcname(".#ghinstance11");
  610. disablenpc instance_npcname(".#ghinstance12");
  611. disablenpc instance_npcname(".#ghinstance15");
  612. disablenpc instance_npcname(".#ghinstance16");
  613. disablenpc instance_npcname(".#ghinstance19");
  614. disablenpc instance_npcname(".#ghinstance20");
  615. end;
  616. OnTimer115000:
  617. donpcevent instance_npcname("Heinrich#ghinstance3")+"::OnEnable";
  618. donpcevent instance_npcname("Heinrich#ghinstance2")+"::OnDisable";
  619. donpcevent instance_npcname("Heinrich#ghinstance3")+"::OnTalk1";
  620. donpcevent instance_npcname(".#ghinstance2")+"::OnEffect1";
  621. donpcevent instance_npcname(".#ghinstance1")+"::OnEffect1";
  622. killmonster instance_mapname("1@gl_k"),instance_npcname("#talkinstance1")+"::OnMyMobDead";
  623. end;
  624. OnTimer120000:
  625. donpcevent instance_npcname("Varmunt#ghinstance2")+"::OnTalk5";
  626. end;
  627. OnTimer125000:
  628. donpcevent instance_npcname("Varmunt#ghinstance2")+"::OnTalk6";
  629. end;
  630. OnTimer130000:
  631. donpcevent instance_npcname("Heinrich#ghinstance3")+"::OnTalk2";
  632. end;
  633. OnTimer135000:
  634. donpcevent instance_npcname("Heinrich#ghinstance3")+"::OnTalk3";
  635. end;
  636. OnTimer140000:
  637. donpcevent instance_npcname("Heinrich#ghinstance3")+"::OnTalk4";
  638. end;
  639. OnTimer145000:
  640. donpcevent instance_npcname("Heinrich#ghinstance3")+"::OnTalk5";
  641. end;
  642. OnTimer150000:
  643. donpcevent instance_npcname("Heinrich#ghinstance3")+"::OnTalk6";
  644. end;
  645. OnTimer155000:
  646. donpcevent instance_npcname("Heinrich#ghinstance3")+"::OnTalk7";
  647. end;
  648. OnTimer160000:
  649. donpcevent instance_npcname("Varmunt#ghinstance2")+"::OnTalk7";
  650. end;
  651. OnTimer165000:
  652. donpcevent instance_npcname("Heinrich#ghinstance3")+"::OnTalk8";
  653. end;
  654. OnTimer167000:
  655. donpcevent instance_npcname("Heinrich#ghinstance3")+"::OnDisable";
  656. end;
  657. OnTimer168000:
  658. donpcevent instance_npcname("Varmunt#ghinstance2")+"::OnDisable";
  659. donpcevent instance_npcname("Heinrich#ghinstance3")+"::OnDisable";
  660. stopnpctimer;
  661. donpcevent instance_npcname("#ghinstancewarp1")+"::OnEnable";
  662. donpcevent instance_npcname("#ghinstancewarp2")+"::OnEnable";
  663. mapannounce instance_mapname("1@gl_k"), "9 o'clock warp leading to zone 2 is now open.",bc_map,"0xFFFF00";
  664. donpcevent instance_npcname("#talkinstance1")+"::OnDisable";
  665. donpcevent instance_npcname("#ghmemorialmob01")+"::OnEnable";
  666. end;
  667. OnMyMobDead:
  668. end;
  669. }
  670. 1@gl_k,145,54,6 script .#ghinstance1 2471,{
  671. end;
  672. OnInstanceInit:
  673. OnDisable:
  674. hideonnpc instance_npcname(strnpcinfo(0));
  675. end;
  676. OnEnable:
  677. hideoffnpc instance_npcname(strnpcinfo(0));
  678. end;
  679. OnEffect1:
  680. specialeffect EF_GRANDCROSS;
  681. specialeffect EF_LEXAETERNA;
  682. end;
  683. OnTalkK:
  684. switch(atoi(replacestr(strnpcinfo(2),"ghinstance",""))) {
  685. case 1: npctalk "I do not want to die."; break;
  686. case 2: npctalk "Mom..."; break;
  687. case 5: npctalk "Help."; break;
  688. case 6: npctalk "My stomach hurts..."; break;
  689. case 9: npctalk "Heinrich Sir, help!"; break;
  690. case 10: npctalk "Ack... Ugh."; break;
  691. case 13: npctalk "I'm thirsty."; break;
  692. case 14: npctalk "Oh... No... I cannot die..."; break;
  693. case 17: npctalk "This is so uncomfortable. Eww!"; break;
  694. case 18: npctalk "Who am I..."; break;
  695. case 21: npctalk "Uhh... My body."; break;
  696. case 22: npctalk "I'm so thirsty!"; break;
  697. }
  698. end;
  699. }
  700. 1@gl_k,154,54,3 duplicate(.#ghinstance1) .#ghinstance2 2471
  701. 1@gl_k,145,64,6 duplicate(.#ghinstance1) .#ghinstance5 2471
  702. 1@gl_k,154,64,3 duplicate(.#ghinstance1) .#ghinstance6 2471
  703. 1@gl_k,145,74,6 duplicate(.#ghinstance1) .#ghinstance9 2471
  704. 1@gl_k,154,74,3 duplicate(.#ghinstance1) .#ghinstance10 2471
  705. 1@gl_k,145,84,6 duplicate(.#ghinstance1) .#ghinstance13 2471
  706. 1@gl_k,154,84,3 duplicate(.#ghinstance1) .#ghinstance14 2471
  707. 1@gl_k,145,94,6 duplicate(.#ghinstance1) .#ghinstance17 2471
  708. 1@gl_k,154,94,3 duplicate(.#ghinstance1) .#ghinstance18 2471
  709. 1@gl_k,145,104,6 duplicate(.#ghinstance1) .#ghinstance21 2471
  710. 1@gl_k,154,104,3 duplicate(.#ghinstance1) .#ghinstance22 2471
  711. 1@gl_k,145,59,6 script .#ghinstance3 111,{
  712. end;
  713. OnInstanceInit:
  714. OnDisable:
  715. hideonnpc instance_npcname(strnpcinfo(0));
  716. end;
  717. OnEnable:
  718. hideoffnpc instance_npcname(strnpcinfo(0));
  719. end;
  720. OnEffect1:
  721. specialeffect EF_GRANDCROSS;
  722. specialeffect EF_LEXAETERNA;
  723. end;
  724. }
  725. 1@gl_k,154,59,3 duplicate(.#ghinstance3) .#ghinstance4 111
  726. 1@gl_k,145,69,6 duplicate(.#ghinstance3) .#ghinstance7 111
  727. 1@gl_k,154,69,3 duplicate(.#ghinstance3) .#ghinstance8 111
  728. 1@gl_k,145,79,6 duplicate(.#ghinstance3) .#ghinstance11 111
  729. 1@gl_k,154,79,3 duplicate(.#ghinstance3) .#ghinstance12 111
  730. 1@gl_k,145,89,6 duplicate(.#ghinstance3) .#ghinstance15 111
  731. 1@gl_k,154,89,3 duplicate(.#ghinstance3) .#ghinstance16 111
  732. 1@gl_k,145,99,6 duplicate(.#ghinstance3) .#ghinstance19 111
  733. 1@gl_k,154,99,3 duplicate(.#ghinstance3) .#ghinstance20 111
  734. 1@gl_k,96,80,0 script #ghinstancewarp1 45,1,2,{
  735. end;
  736. OnInstanceInit:
  737. OnDisable:
  738. disablenpc instance_npcname(strnpcinfo(0));
  739. end;
  740. OnEnable:
  741. enablenpc instance_npcname(strnpcinfo(0));
  742. end;
  743. OnTouch:
  744. set .@map1$, instance_mapname("1@gl_k");
  745. set .@map2$, instance_mapname("2@gl_k");
  746. switch(atoi(replacestr(strnpcinfo(2),"ghinstancewarp",""))) {
  747. case 1: warp .@map1$,80,80; break;
  748. case 2: warp .@map1$,105,80; break;
  749. case 3: warp .@map1$,215,79; break;
  750. case 4: warp .@map1$,195,79; break;
  751. case 5: warp .@map1$,215,216; break;
  752. case 6: warp .@map1$,235,216; break;
  753. case 7: warp .@map2$,150,46; break;
  754. case 8: warp .@map2$,126,123; break;
  755. case 9: warp .@map2$,150,116; break;
  756. case 10: warp .@map2$,174,101; break;
  757. case 11: warp .@map2$,150,110; break;
  758. case 12: warp .@map2$,150,179; break;
  759. }
  760. end;
  761. }
  762. 1@gl_k,90,80,0 duplicate(#ghinstancewarp1) #ghinstancewarp2 45,1,2
  763. 1@gl_k,202,79,0 duplicate(#ghinstancewarp1) #ghinstancewarp3 45,1,2
  764. 1@gl_k,206,79,0 duplicate(#ghinstancewarp1) #ghinstancewarp4 45,1,2
  765. 1@gl_k,228,216,0 duplicate(#ghinstancewarp1) #ghinstancewarp5 45,1,2
  766. 1@gl_k,222,216,0 duplicate(#ghinstancewarp1) #ghinstancewarp6 45,1,2
  767. 1@gl_k,150,284,0 duplicate(#ghinstancewarp1) #ghinstancewarp7 45,1,2
  768. 2@gl_k,145,123,0 duplicate(#ghinstancewarp1) #ghinstancewarp8 45,1,2
  769. 2@gl_k,136,122,0 duplicate(#ghinstancewarp1) #ghinstancewarp9 45,1,2
  770. 2@gl_k,154,101,0 duplicate(#ghinstancewarp1) #ghinstancewarp10 45,1,2
  771. 2@gl_k,165,101,0 duplicate(#ghinstancewarp1) #ghinstancewarp11 45,1,2
  772. 2@gl_k,150,163,0 duplicate(#ghinstancewarp1) #ghinstancewarp12 45,1,2
  773. // Sector 1 Mobs
  774. //============================================================
  775. 1@gl_k,0,0,0 script #ghmemorialmob01 -1,{
  776. OnInstanceInit:
  777. OnDisable:
  778. disablenpc instance_npcname("#ghmemorialmob01");
  779. end;
  780. OnEnable:
  781. enablenpc instance_npcname("#ghmemorialmob01");
  782. set .@map$, instance_mapname("1@gl_k");
  783. set .@label$, instance_npcname("#ghmemorialmob01")+"::OnMyMobDead";
  784. areamonster .@map$,76,99,87,10,"Suffering Chamberlain",2466,15,.@label$;
  785. areamonster .@map$,67,39,12,6,"Fallen Monk",2465,20,.@label$;
  786. areamonster .@map$,67,39,12,6,"Suffering Chamberlain",2466,3,.@label$;
  787. areamonster .@map$,32,75,51,58,"Decayed Butler",2464,6,.@label$;
  788. areamonster .@map$,45,84,6,137,"Decayed Butler",2464,12,.@label$;
  789. end;
  790. OnMyMobDead:
  791. set .@map$, instance_mapname("1@gl_k");
  792. set .@label$, instance_npcname("#ghmemorialmob01")+"::OnMyMobDead";
  793. set .@mob_dead_num, 56 - mobcount(.@map$,.@label$);
  794. if (.@mob_dead_num > 35) {
  795. mapannounce .@map$, "Seems like Himmelmez drains the dead's souls. They must be destroyed.",bc_map,"0xFFFFFF";
  796. killmonster .@map$,.@label$;
  797. donpcevent instance_npcname("Aspiring Butcher#clearGH")+"::OnEnable";
  798. donpcevent instance_npcname("#ghmemorialmob01")+"::OnDisable";
  799. }
  800. end;
  801. }
  802. 1@gl_k,17,51,3 script Aspiring Butcher#clearGH 706,{
  803. if (getcharid(0) == getpartyleader(getcharid(1),2)) {
  804. mes "[Aspiring Butcher]";
  805. mes "Help me! Help me!!!";
  806. next;
  807. select("Hey, wake up! Are there any other survivors?");
  808. mes "["+strcharinfo(0)+"]";
  809. mes "Hey, wake up! Are you alone?";
  810. unittalk getcharid(3),"Hey, wake up! Are you alone?";
  811. next;
  812. mes "[Aspiring Butcher]";
  813. mes "The Chamberlain... the Monk... They've become monsters. I couldn't do anything.";
  814. npctalk "The Chamberlain... the Monk... They've become monsters. I couldn't do anything.";
  815. next;
  816. mes "[Aspiring Butcher]";
  817. mes "I just stood still... Nothing, I couldn't do anything...";
  818. npctalk "I just stood still... Nothing, I couldn't do anything...";
  819. next;
  820. select("Wake up!");
  821. mes "["+strcharinfo(0)+"]";
  822. mes "Wake up kid! Go east along the central passage to the outside! The path is safe!";
  823. unittalk getcharid(3),"Wake up kid! Go east along the central passage to the outside! The path is safe!";
  824. next;
  825. mes "[Aspiring Butcher]";
  826. mes "East passage? Alone? How?";
  827. npctalk "East passage? Alone? How?";
  828. next;
  829. select("I can guide you through the path.");
  830. mes "["+strcharinfo(0)+"]";
  831. mes "I will guide you, perhaps that will help. If you want to close your eyes try not to hit anything.";
  832. unittalk getcharid(3),"I will guide you, perhaps that will help. If you want to close your eyes try not to hit anything.";
  833. next;
  834. mes "[Aspiring Butcher]";
  835. mes "Aspiring Butcher: I know, I... I'm trying to.";
  836. npctalk "Aspiring Butcher: I know, I... I'm trying to.";
  837. donpcevent instance_npcname("Aspiring Butcher#clearGH")+"::OnDisable";
  838. donpcevent instance_npcname("#ghmemorialmob02")+"::OnEnable";
  839. close;
  840. } else {
  841. mes "[Aspiring Butcher]";
  842. mes "Somebody help me, somebody help me, please.";
  843. close;
  844. }
  845. OnInstanceInit:
  846. OnDisable:
  847. hideonnpc instance_npcname("Aspiring Butcher#clearGH");
  848. end;
  849. OnEnable:
  850. hideoffnpc instance_npcname("Aspiring Butcher#clearGH");
  851. end;
  852. }
  853. // Sector 2 Mobs
  854. //============================================================
  855. 1@gl_k,291,145,3 script Hollgrehenn Destroyer 726,{
  856. if (getcharid(0) == getpartyleader(getcharid(1),2)) {
  857. mes "[Hollgrehenn Destroyer]";
  858. mes "Yaaa!! Die!!!";
  859. npctalk "Yaaa!! Die!!!";
  860. specialeffect EF_CRASHEARTH;
  861. next;
  862. select("Don't worry!");
  863. mes "["+strcharinfo(0)+"]";
  864. mes "Don't worry! Mam. Are you alone? No other survivors?";
  865. unittalk getcharid(3),"Don't worry! Mam. Are you alone? No other survivors?";
  866. next;
  867. mes "[Hollgrehenn Destroyer]";
  868. mes "I'm the only survivor left";
  869. npctalk "I'm the only survivor left";
  870. next;
  871. select("This is a very dangerous place.");
  872. mes "["+strcharinfo(0)+"]";
  873. mes "This is a very dangerous place. You know the central passage? Do you think you can move... and get to a safer place?";
  874. unittalk getcharid(3),"This is a very dangerous place. You know the central passage? Do you think you can move... and get to a safer place?";
  875. next;
  876. mes "[Hollgrehenn Destroyer]";
  877. mes "Yes, I am able to move. I'll move for my baby's sake.";
  878. npctalk "Yes, I am able to move. I'll move for my baby's sake.";
  879. next;
  880. select("Survive the road...");
  881. mes "["+strcharinfo(0)+"]";
  882. mes "You and your baby will get out of here safely. But I'm sorry I can't help you more.";
  883. unittalk getcharid(3),"You and your baby will get out of here safely. But I'm sorry I can't help you more.";
  884. next;
  885. mes "[Hollgrehenn Destroyer]";
  886. mes "That's ok. Thank you for helping us. I'm good to go alone. Ah and good luck also.";
  887. npctalk "That's ok. Thank you for helping us. I'm good to go alone. Ah and good luck also.";
  888. donpcevent instance_npcname("Hollgrehenn Destroyer")+"::OnDisable";
  889. donpcevent instance_npcname("#ghmemorialmob03")+"::OnEnable";
  890. close;
  891. } else {
  892. mes "[Hollgrehenn Destroyer]";
  893. mes "Somebody help me, somebody help me, please";
  894. close;
  895. }
  896. OnInstanceInit:
  897. OnDisable:
  898. hideonnpc instance_npcname("Hollgrehenn Destroyer");
  899. end;
  900. OnEnable:
  901. hideoffnpc instance_npcname("Hollgrehenn Destroyer");
  902. end;
  903. }
  904. 1@gl_k,0,0,0 script #ghmemorialmob02 -1,{
  905. OnInstanceInit:
  906. OnDisable:
  907. disablenpc instance_npcname("#ghmemorialmob02");
  908. end;
  909. OnEnable:
  910. enablenpc instance_npcname("#ghmemorialmob02");
  911. donpcevent instance_npcname("#ghinstancewarp3")+"::OnEnable";
  912. donpcevent instance_npcname("#ghinstancewarp4")+"::OnEnable";
  913. set .@map$, instance_mapname("1@gl_k");
  914. set .@label$, instance_npcname("#ghmemorialmob02")+"::OnMyMobDead";
  915. mapannounce .@map$,"3 o'clock warp leading to zone 3 is now open.",bc_map,"0xFFFF00";
  916. areamonster .@map$,241,113,291,19,"Suffering Chamberlain",2466,12,.@label$;
  917. areamonster .@map$,241,113,291,19,"Decayed Monk",2464,12,.@label$;
  918. areamonster .@map$,227,217,291,135,"Suffering Chamberlain",2466,12,.@label$;
  919. areamonster .@map$,227,217,291,135,"Decayed Monk",2464,12,.@label$;
  920. end;
  921. OnMyMobDead:
  922. set .@map$, instance_mapname("1@gl_k");
  923. set .@label$, instance_npcname("#ghmemorialmob02")+"::OnMyMobDead";
  924. set .@mob_dead_num, 48 - mobcount(.@map$,.@label$);
  925. if (.@mob_dead_num > 28) {
  926. mapannounce .@map$, "Seems like Himmelmez drains the dead's souls. They must be destroyed.",bc_map,"0xFFFFFF";
  927. killmonster .@map$,.@label$;
  928. donpcevent instance_npcname("Hollgrehenn Destroyer")+"::OnEnable";
  929. donpcevent instance_npcname("#ghmemorialmob02")+"::OnDisable";
  930. }
  931. end;
  932. }
  933. // Tramp Mobs
  934. //============================================================
  935. 1@gl_k,221,82,3 script Breathless Man#GHtramp1 849,4,4,{
  936. end;
  937. OnTouch:
  938. set .@i, rand(1,10);
  939. if (.@i == 1) set .@mobs,3;
  940. else if (.@i == 2) set .@mobs,4;
  941. else if (.@i == 3) set .@mobs,5;
  942. else if (.@i < 7) set .@mobs,6;
  943. else set .@mobs,7;
  944. getmapxy(.@map$,.@x,.@y,1);
  945. specialeffect EF_VENOMDUST;
  946. monster .@map$,.@x,.@y,"Muck Worm",2467,.@mobs,instance_npcname(strnpcinfo(0))+"::OnMyMobDead";
  947. disablenpc instance_npcname(strnpcinfo(0));
  948. end;
  949. OnMyMobDead:
  950. end;
  951. OnInstanceInit:
  952. OnEnable:
  953. enablenpc instance_npcname(strnpcinfo(0));
  954. end;
  955. OnDisable:
  956. disablenpc instance_npcname(strnpcinfo(0));
  957. end;
  958. }
  959. 1@gl_k,213,63,7 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp2 849,4,4
  960. 1@gl_k,230,50,2 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp3 849,4,4
  961. 1@gl_k,222,39,2 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp4 849,4,4
  962. 1@gl_k,214,27,3 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp5 849,4,4
  963. 1@gl_k,223,17,2 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp6 849,4,4
  964. 1@gl_k,235,16,4 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp7 849,4,4
  965. 1@gl_k,251,20,5 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp8 849,4,4
  966. 1@gl_k,240,43,5 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp9 849,4,4
  967. 1@gl_k,271,19,1 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp10 849,4,4
  968. 1@gl_k,246,62,7 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp11 849,4,4
  969. 1@gl_k,282,48,7 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp12 849,4,4
  970. 1@gl_k,285,81,7 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp13 849,4,4
  971. 1@gl_k,241,86,5 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp14 849,4,4
  972. 1@gl_k,249,101,3 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp15 849,4,4
  973. 1@gl_k,276,106,7 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp16 849,4,4
  974. 1@gl_k,252,120,7 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp17 849,4,4
  975. 1@gl_k,258,150,1 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp18 849,4,4
  976. 1@gl_k,255,157,6 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp19 849,4,4
  977. 1@gl_k,261,164,7 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp20 849,4,4
  978. 1@gl_k,269,173,7 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp21 849,4,4
  979. 1@gl_k,280,167,3 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp22 849,4,4
  980. 1@gl_k,293,161,3 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp23 849,4,4
  981. 1@gl_k,226,96,3 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp24 849,4,4
  982. 1@gl_k,222,119,5 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp25 849,4,4
  983. 1@gl_k,233,123,3 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp26 849,4,4
  984. 2@gl_k,147,203,5 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp27 849,4,4
  985. 2@gl_k,141,222,1 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp28 849,4,4
  986. 2@gl_k,167,225,3 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp29 849,4,4
  987. 2@gl_k,145,236,3 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp30 849,4,4
  988. 2@gl_k,143,260,3 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp31 849,4,4
  989. 2@gl_k,173,258,3 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp32 849,4,4
  990. // Sector 3 Mobs
  991. //============================================================
  992. 1@gl_k,0,0,0 script #ghmemorialmob03 -1,{
  993. OnInstanceInit:
  994. OnDisable:
  995. disablenpc instance_npcname("#ghmemorialmob03");
  996. end;
  997. OnEnable:
  998. enablenpc instance_npcname("#ghmemorialmob03");
  999. donpcevent instance_npcname("#ghinstancewarp5")+"::OnEnable";
  1000. donpcevent instance_npcname("#ghinstancewarp6")+"::OnEnable";
  1001. set .@map$, instance_mapname("1@gl_k");
  1002. set .@label$, instance_npcname("#ghmemorialmob03")+"::OnMyMobDead";
  1003. mapannounce .@map$,"12 o'clock warp leading to the zone 4 was opened.",bc_map,"0xFFFF00";
  1004. areamonster .@map$,17,259,53,180,"Decayed Guard",2468,11,.@label$;
  1005. areamonster .@map$,17,259,53,180,"Sharpshooter Ranger",2469,14,.@label$;
  1006. areamonster .@map$,62,281,73,186,"Decayed Guard",2468,11,.@label$;
  1007. areamonster .@map$,62,281,73,186,"Sharpshooter Ranger",2469,14,.@label$;
  1008. areamonster .@map$,74,251,109,224,"Decayed Guard",2468,11,.@label$;
  1009. areamonster .@map$,74,251,109,224,"Sharpshooter Ranger",2469,14,.@label$;
  1010. areamonster .@map$,108,281,231,234,"Decayed Guard",2468,11,.@label$;
  1011. areamonster .@map$,108,281,231,234,"Sharpshooter Ranger",2469,14,.@label$;
  1012. end;
  1013. OnMyMobDead:
  1014. set .@map$, instance_mapname("1@gl_k");
  1015. set .@label$, instance_npcname("#ghmemorialmob03")+"::OnMyMobDead";
  1016. set .@mob_dead_num, 100 - mobcount(.@map$,.@label$);
  1017. if (.@mob_dead_num > 85) {
  1018. mapannounce .@map$,"Himmelmez: Nice parry. I thought you were going to die slowly surrounded by the dead I summoned~",bc_map,"0xFFFFFF";
  1019. killmonster .@map$,.@label$;
  1020. donpcevent instance_npcname("#GHMclear3")+"::OnEnable";
  1021. donpcevent instance_npcname("Heinrich#ghinstance4")+"::OnEnable";
  1022. donpcevent instance_npcname("Himmelmez#ghinstance2")+"::OnEnable";
  1023. donpcevent instance_npcname("Varmunt#ghinstance3")+"::OnEnable";
  1024. donpcevent instance_npcname("#ghmemorialmob03")+"::OnDisable";
  1025. }
  1026. end;
  1027. }
  1028. // 1st MVP
  1029. //============================================================
  1030. 1@gl_k,0,0,0 script #ghmemorialmob04 -1,{
  1031. OnInstanceInit:
  1032. OnDisable:
  1033. disablenpc instance_npcname("#ghmemorialmob04");
  1034. end;
  1035. OnEnable:
  1036. enablenpc instance_npcname("#ghmemorialmob04");
  1037. monster instance_mapname("1@gl_k"),150,258,"Root of Corruption",2475,1,instance_npcname("#ghmemorialmob04")+"::OnMyMobDead";
  1038. end;
  1039. OnMyMobDead:
  1040. set .@map$, instance_mapname("1@gl_k");
  1041. if (mobcount(.@map$,instance_npcname("#ghmemorialmob04")+"::OnMyMobDead") < 1) {
  1042. mapannounce .@map$, "12 o'clock warp leading to the Chivalry's Second Floor is now open.",bc_map,"0xFFFF00";
  1043. donpcevent instance_npcname("#ghinstancewarp7")+"::OnEnable";
  1044. donpcevent instance_npcname("Varmunt#ghinstance3")+"::OnTalk2";
  1045. donpcevent instance_npcname("#effectGH01")+"::OnEnable";
  1046. donpcevent instance_npcname("Heinrich#ghinstance5")+"::OnEnable";
  1047. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnEnable";
  1048. donpcevent instance_npcname("#ghmemorialmob04")+"::OnDisable";
  1049. }
  1050. end;
  1051. }
  1052. 1@gl_k,150,257,3 script #GHMclear3 111,9,9,{
  1053. end;
  1054. OnTouch:
  1055. donpcevent instance_npcname("#controlGH3")+"::OnEnable";
  1056. specialeffect EF_BASH;
  1057. donpcevent instance_npcname("#GHMclear3")+"::OnDisable";
  1058. end;
  1059. OnInstanceInit:
  1060. OnDisable:
  1061. disablenpc instance_npcname("#GHMclear3");
  1062. end;
  1063. OnEnable:
  1064. enablenpc instance_npcname("#GHMclear3");
  1065. initnpctimer;
  1066. end;
  1067. OnTimer2000:
  1068. mapannounce instance_mapname("1@gl_k"), "Himmelmez: You got me tempted to go to the 2nd floor, come to the entrance. I'm curious about how far your luck goes.",bc_map,"0xFFFFFF";
  1069. stopnpctimer;
  1070. end;
  1071. }
  1072. 1@gl_k,0,0,0 script #controlGH3 -1,{
  1073. OnInstanceInit:
  1074. OnDisable:
  1075. disablenpc instance_npcname("#controlGH3");
  1076. end;
  1077. OnEnable:
  1078. enablenpc instance_npcname("#controlGH3");
  1079. initnpctimer;
  1080. end;
  1081. OnTimer3000:
  1082. donpcevent instance_npcname("Himmelmez#ghinstance2")+"::OnTalk1";
  1083. end;
  1084. OnTimer6000:
  1085. donpcevent instance_npcname("Himmelmez#ghinstance2")+"::OnTalk2";
  1086. end;
  1087. OnTimer9000:
  1088. donpcevent instance_npcname("Himmelmez#ghinstance2")+"::OnTalk3";
  1089. end;
  1090. OnTimer12000:
  1091. donpcevent instance_npcname("Heinrich#ghinstance4")+"::OnTalk1";
  1092. end;
  1093. OnTimer15000:
  1094. donpcevent instance_npcname("Himmelmez#ghinstance2")+"::OnTalk4";
  1095. end;
  1096. OnTimer18000:
  1097. donpcevent instance_npcname("Varmunt#ghinstance3")+"::OnTalk1";
  1098. end;
  1099. OnTimer21000:
  1100. donpcevent instance_npcname("Heinrich#ghinstance4")+"::OnTalk2";
  1101. end;
  1102. OnTimer24000:
  1103. donpcevent instance_npcname("Himmelmez#ghinstance2")+"::OnTalk5";
  1104. end;
  1105. OnTimer27000:
  1106. donpcevent instance_npcname("Himmelmez#ghinstance2")+"::OnTalk6";
  1107. end;
  1108. OnTimer28000:
  1109. donpcevent instance_npcname("Himmelmez#ghinstance2")+"::OnDisable";
  1110. end;
  1111. OnTimer31000:
  1112. donpcevent instance_npcname("Heinrich#ghinstance4")+"::OnTalk3";
  1113. end;
  1114. OnTimer32000:
  1115. donpcevent instance_npcname("Heinrich#ghinstance4")+"::OnDisable";
  1116. end;
  1117. OnTimer35000:
  1118. mapannounce instance_mapname("1@gl_k"), "An eerie echo from the depths can be heard as you get closer.",bc_map,"0xFFFFFF";
  1119. end;
  1120. OnTimer38000:
  1121. donpcevent instance_npcname("#ghmemorialmob04")+"::OnEnable";
  1122. stopnpctimer;
  1123. donpcevent instance_npcname("#controlGH3")+"::OnDisable";
  1124. end;
  1125. }
  1126. 1@gl_k,144,258,6 script Heinrich#ghinstance4 652,{
  1127. mes "[Heinrich]";
  1128. mes "Himmelmez... You made my men get killed and I will never forget that.";
  1129. cutin "gl_heinrich1",2;
  1130. close2;
  1131. cutin "gl_heinrich1",255;
  1132. end;
  1133. OnInstanceInit:
  1134. OnDisable:
  1135. hideonnpc instance_npcname("Heinrich#ghinstance4");
  1136. end;
  1137. OnEnable:
  1138. hideoffnpc instance_npcname("Heinrich#ghinstance4");
  1139. end;
  1140. OnTalk1:
  1141. npctalk "Himmelmez! I won't let you take even a single more step here.";
  1142. end;
  1143. OnTalk2:
  1144. npctalk "What... is this?!";
  1145. end;
  1146. OnTalk3:
  1147. npctalk "Varmunt Sir! Help the adventurers and I'll chase Himmelmez!";
  1148. end;
  1149. }
  1150. 1@gl_k,150,257,3 script Himmelmez#ghinstance2 650,{
  1151. mes "[Himmelmez]";
  1152. mes "No need to stare at me with so insecure eyes. Soon they'll become relaxed...";
  1153. cutin "gl_himel2",2;
  1154. close2;
  1155. cutin "gl_himel2",255;
  1156. end;
  1157. OnInstanceInit:
  1158. OnDisable:
  1159. hideonnpc instance_npcname("Himmelmez#ghinstance2");
  1160. end;
  1161. OnEnable:
  1162. hideoffnpc instance_npcname("Himmelmez#ghinstance2");
  1163. end;
  1164. OnTalk1:
  1165. npctalk "What an awfully lucky, I flew all the way over here and just one of them is really powerful.";
  1166. end;
  1167. OnTalk2:
  1168. npctalk "But it doesn't matter to me.";
  1169. end;
  1170. OnTalk3:
  1171. npctalk "Now, all of you will die.";
  1172. end;
  1173. OnTalk4:
  1174. npctalk "Hahaha, so you guys thought I would come alone?";
  1175. end;
  1176. OnTalk5:
  1177. npctalk "This is my new toy to keep you at my feet. Why don't you guys play while I entertain?";
  1178. end;
  1179. OnTalk6:
  1180. npctalk "Sincerely~, If I am given the opportunity I'd like to meet you again, Heinrich.";
  1181. end;
  1182. }
  1183. 1@gl_k,156,259,3 script Varmunt#ghinstance3 654,{
  1184. if (checkquest(12318,HUNTING) == 2) {
  1185. if (checkquest(12319,HUNTING) == -1) {
  1186. mes "[Varmunt]";
  1187. mes "There's something unusual about this thing's aura. Maybe someday we will be able to understand what is behind all of this.";
  1188. cutin "gl_barmund1",2;
  1189. getitem 6608,1; //Coagulated Spell
  1190. setquest 12319;
  1191. close2;
  1192. cutin "gl_barmund1",255;
  1193. end;
  1194. }
  1195. }
  1196. mes "[Varmunt]";
  1197. mes "Even after all this time, it is impossible to prevent from the will of the Transcendent.";
  1198. cutin "gl_barmund1",2;
  1199. close2;
  1200. cutin "gl_barmund2",255;
  1201. end;
  1202. OnInstanceInit:
  1203. OnDisable:
  1204. hideonnpc instance_npcname("Varmunt#ghinstance3");
  1205. end;
  1206. OnEnable:
  1207. hideoffnpc instance_npcname("Varmunt#ghinstance3");
  1208. end;
  1209. OnTalk1:
  1210. npctalk "Heinrich Sir! Something unknown holds an inexplicably powerful force!";
  1211. end;
  1212. OnTalk2:
  1213. npctalk "From the monster I picked up some great stuff. People who are interested, talk to me.";
  1214. end;
  1215. }
  1216. // Floor 2
  1217. //============================================================
  1218. 2@gl_k,148,67,1 script Heinrich#ghinstance5 652,{
  1219. mes "[Heinrich]";
  1220. mes "Himmelmez's blocking spells";
  1221. mes "are everywhere around here...";
  1222. cutin "gl_heinrich1",2;
  1223. close2;
  1224. cutin "gl_heinrich1",255;
  1225. end;
  1226. OnInstanceInit:
  1227. OnDisable:
  1228. hideonnpc instance_npcname("Heinrich#ghinstance5");
  1229. end;
  1230. OnEnable:
  1231. hideoffnpc instance_npcname("Heinrich#ghinstance5");
  1232. end;
  1233. OnTalk1:
  1234. npctalk "These things have never been in the castle!";
  1235. end;
  1236. OnTalk2:
  1237. npctalk "Trying to break this power with common weapons doesn't work. I tried it.";
  1238. end;
  1239. OnTalk3:
  1240. npctalk "It is really unforgivable.";
  1241. end;
  1242. OnTalk4:
  1243. npctalk "I, who already was a subordinate of genocide. How much more in the future...";
  1244. end;
  1245. OnTalk5:
  1246. npctalk "...";
  1247. end;
  1248. }
  1249. 2@gl_k,151,71,7 script Varmunt#ghinstance4 654,{
  1250. mes "[Varmunt]";
  1251. mes "Why am I doing this again? Doesn't seem like the first time. I've seen this place repeatedly dozens of times in my dreams. This feeling...";
  1252. cutin "gl_barmund1",2;
  1253. close2;
  1254. cutin "gl_barmund1",255;
  1255. end;
  1256. OnInstanceInit:
  1257. OnDisable:
  1258. hideonnpc instance_npcname("Varmunt#ghinstance4");
  1259. end;
  1260. OnEnable:
  1261. hideoffnpc instance_npcname("Varmunt#ghinstance4");
  1262. end;
  1263. OnTalk2:
  1264. npctalk "Himmelmez's enchantment has completely blocked the passage to each section.";
  1265. end;
  1266. OnTalk3:
  1267. npctalk "Get out of the way for a moment. I'll try to somehow break the spell with magical powers.";
  1268. end;
  1269. OnTalk4:
  1270. npctalk "The enchantment seems to be broken.";
  1271. end;
  1272. OnTalk5:
  1273. npctalk "I've never seen this spell before.";
  1274. end;
  1275. OnTalk6:
  1276. npctalk "Himmelmez doesn't use a seal on a person's body to turn it into an undead.";
  1277. end;
  1278. OnTalk7:
  1279. npctalk "She uses enchantment stones.This way, the spell is probably maintained.";
  1280. end;
  1281. OnTalk8:
  1282. npctalk "We should kill the people who have the enchantment stones to break the spell.";
  1283. end;
  1284. OnTalk9:
  1285. npctalk "However, we can't identify them. The purification can only be done randomly.";
  1286. end;
  1287. OnTalk10:
  1288. npctalk "Commandant...";
  1289. end;
  1290. OnTalk11:
  1291. npctalk "Commandant, it seems too loose.";
  1292. end;
  1293. OnTalk12:
  1294. npctalk "We are related to all these people, not just a few.";
  1295. end;
  1296. OnTalk13:
  1297. npctalk "We can't deny that it's not their fault for what is going on.";
  1298. end;
  1299. OnTalk14:
  1300. npctalk "Well, let's do it then.";
  1301. end;
  1302. OnTalk15:
  1303. npctalk "You guys are of a great help. Try to follow us.";
  1304. end;
  1305. OnTalk16:
  1306. npctalk "There can be a tough fight. Hold on, and it would be nice to eat something.";
  1307. end;
  1308. OnTalk17:
  1309. npctalk "Guys. It is time to depart, Heinrich Sir.";
  1310. end;
  1311. }
  1312. 2@gl_k,150,67,0 script #effectGH01 111,10,10,{
  1313. end;
  1314. OnTouch:
  1315. if (.touch) {
  1316. set .touch,0;
  1317. specialeffect EF_BASH;
  1318. donpcevent instance_npcname("#controlGH4")+"::OnEnable";
  1319. }
  1320. end;
  1321. OnEffect:
  1322. specialeffect EF_LORD;
  1323. end;
  1324. OnInstanceInit:
  1325. OnDisable:
  1326. disablenpc instance_npcname("#effectGH01");
  1327. end;
  1328. OnEnable:
  1329. enablenpc instance_npcname("#effectGH01");
  1330. set .touch,1; // only activate OnTouch once
  1331. end;
  1332. }
  1333. 2@gl_k,0,0,0 script #controlGH4 -1,{
  1334. OnInstanceInit:
  1335. OnDisable:
  1336. disablenpc instance_npcname("#controlGH4");
  1337. end;
  1338. OnEnable:
  1339. enablenpc instance_npcname("#controlGH4");
  1340. initnpctimer;
  1341. end;
  1342. OnTimer3000:
  1343. donpcevent instance_npcname("Heinrich#ghinstance5")+"::OnTalk1";
  1344. donpcevent instance_npcname("#ghmemorialmob05")+"::OnEnable";
  1345. end;
  1346. OnTimer6000:
  1347. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk2";
  1348. end;
  1349. OnTimer9000:
  1350. donpcevent instance_npcname("Heinrich#ghinstance5")+"::OnTalk2";
  1351. end;
  1352. OnTimer12000:
  1353. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk3";
  1354. end;
  1355. OnTimer15000:
  1356. donpcevent instance_npcname("#effectGH01")+"::OnEffect";
  1357. end;
  1358. OnTimer18000:
  1359. donpcevent instance_npcname("#effectGH01")+"::OnDisable";
  1360. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk4";
  1361. end;
  1362. OnTimer21000:
  1363. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk5";
  1364. end;
  1365. OnTimer24000:
  1366. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk6";
  1367. end;
  1368. OnTimer27000:
  1369. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk7";
  1370. end;
  1371. OnTimer30000:
  1372. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk8";
  1373. end;
  1374. OnTimer33000:
  1375. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk9";
  1376. end;
  1377. OnTimer36000:
  1378. donpcevent instance_npcname("Heinrich#ghinstance5")+"::OnTalk3";
  1379. end;
  1380. OnTimer39000:
  1381. donpcevent instance_npcname("Heinrich#ghinstance5")+"::OnTalk4";
  1382. end;
  1383. OnTimer42000:
  1384. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk10";
  1385. end;
  1386. OnTimer45000:
  1387. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk11";
  1388. end;
  1389. OnTimer48000:
  1390. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk12";
  1391. end;
  1392. OnTimer51000:
  1393. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk13";
  1394. end;
  1395. OnTimer54000:
  1396. donpcevent instance_npcname("Heinrich#ghinstance5")+"::OnTalk5";
  1397. end;
  1398. OnTimer57000:
  1399. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk14";
  1400. end;
  1401. OnTimer60000:
  1402. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk15";
  1403. end;
  1404. OnTimer63000:
  1405. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk16";
  1406. end;
  1407. OnTimer66000:
  1408. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk17";
  1409. end;
  1410. OnTimer69000:
  1411. mapannounce instance_mapname("2@gl_k"), "9 o'clock positioned warp leading to the 1st zone has been opened. Move from the central hallway. A being with an evil aura seems to be appearing in this region.",bc_map,"0xFFFF00";
  1412. donpcevent instance_npcname("#ghinstancewarp8")+"::OnEnable";
  1413. donpcevent instance_npcname("#ghinstancewarp9")+"::OnEnable";
  1414. donpcevent instance_npcname("#ghmemorialmob06")+"::OnEnable";
  1415. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnDisable";
  1416. donpcevent instance_npcname("Heinrich#ghinstance5")+"::OnDisable";
  1417. end;
  1418. OnTimer70000:
  1419. stopnpctimer;
  1420. donpcevent instance_npcname("#controlGH4")+"::OnDisable";
  1421. end;
  1422. }
  1423. 2@gl_k,0,0,0 script #ghmemorialmob05 -1,{
  1424. OnInstanceInit:
  1425. OnDisable:
  1426. disablenpc instance_npcname("#ghmemorialmob05");
  1427. end;
  1428. OnEnable:
  1429. enablenpc instance_npcname("#ghmemorialmob05");
  1430. set .@map$, instance_mapname("2@gl_k");
  1431. set .@label$, instance_npcname("#ghmemorialmob05")+"::OnMyMobDead";
  1432. areamonster .@map$,124,20,31,162,"Decayed Guard",2468,8,.@label$;
  1433. areamonster .@map$,124,20,31,162,"Sharpshooter Ranger",2469,8,.@label$;
  1434. areamonster .@map$,124,20,31,162,"Fallen Abyss Knight",2470,8,.@label$;
  1435. areamonster .@map$,124,20,31,162,"Suffering Khalitzburg",2471,8,.@label$;
  1436. areamonster .@map$,124,20,31,162,"Swollen Knight",2472,8,.@label$;
  1437. set .MyMobs,80;
  1438. end;
  1439. OnMyMobDead:
  1440. set .@map$, instance_mapname("2@gl_k");
  1441. set .MyMobs, .MyMobs-1;
  1442. if (.MyMobs == 0) {
  1443. mapannounce .@map$, "A being with an evil aura seems to be appearing in this region.",bc_map,"0xFFFF00";
  1444. donpcevent instance_npcname("#ghmemorialmob06")+"::OnDisable2";
  1445. donpcevent instance_npcname("#ghmemorialmob07")+"::OnEnable";
  1446. donpcevent instance_npcname("#ghmemorialmob05")+"::OnDisable";
  1447. } else {
  1448. set .@label$, instance_npcname("#ghmemorialmob05")+"::OnMyMobDead";
  1449. switch(rand(5)) {
  1450. case 0:
  1451. areamonster .@map$,124,20,31,162,"Decayed Guard",2468,1,.@label$;
  1452. break;
  1453. case 1:
  1454. areamonster .@map$,124,20,31,162,"Sharpshooter Ranger",2469,1,.@label$;
  1455. break;
  1456. case 2:
  1457. areamonster .@map$,124,20,31,162,"Fallen Abyss Knight",2470,1,.@label$;
  1458. break;
  1459. case 3:
  1460. areamonster .@map$,124,20,31,162,"Suffering Khalitzburg",2471,1,.@label$;
  1461. break;
  1462. case 4:
  1463. areamonster .@map$,124,20,31,162,"Swollen Knight",2472,1,.@label$;
  1464. break;
  1465. }
  1466. }
  1467. end;
  1468. }
  1469. 2@gl_k,0,0,0 script #ghmemorialmob06 -1,{
  1470. OnInstanceInit:
  1471. OnDisable:
  1472. disablenpc instance_npcname("#ghmemorialmob06");
  1473. end;
  1474. OnDisable2:
  1475. stopnpctimer;
  1476. disablenpc instance_npcname("#ghmemorialmob06");
  1477. end;
  1478. OnEnable:
  1479. enablenpc instance_npcname("#ghmemorialmob06");
  1480. donpcevent instance_npcname("#ghmemorialmob06")+"::OnSpawn";
  1481. end;
  1482. OnSpawn:
  1483. initnpctimer;
  1484. end;
  1485. OnTimer90000:
  1486. set .@map$, instance_mapname("2@gl_k");
  1487. set .@label$, instance_npcname("#ghmemorialmob05")+"::OnMyMobDead";
  1488. setarray .@c[0],
  1489. 114,141,118,139,
  1490. 128,83,131,78,
  1491. 88,53,93,48,
  1492. 54,47,61,40,
  1493. 58,83,63,78,
  1494. 69,138,80,127,
  1495. 34,143,39,138;
  1496. for(set .@i,0; .@i<getarraysize(.@c); set .@i,.@i+4) {
  1497. areamonster .@map$,.@c[.@i],.@c[.@i+1],.@c[.@i+2],.@c[.@i+3],"Decayed Guard",2468,1,.@label$;
  1498. areamonster .@map$,.@c[.@i],.@c[.@i+1],.@c[.@i+2],.@c[.@i+3],"Sharpshooter Ranger",2469,1,.@label$;
  1499. areamonster .@map$,.@c[.@i],.@c[.@i+1],.@c[.@i+2],.@c[.@i+3],"Fallen Abyss Knight",2470,1,.@label$;
  1500. areamonster .@map$,.@c[.@i],.@c[.@i+1],.@c[.@i+2],.@c[.@i+3],"Suffering Khalitzburg",2471,1,.@label$;
  1501. areamonster .@map$,.@c[.@i],.@c[.@i+1],.@c[.@i+2],.@c[.@i+3],"Swollen Knight",2472,1,.@label$;
  1502. }
  1503. end;
  1504. OnTimer92000:
  1505. stopnpctimer;
  1506. donpcevent instance_npcname("#ghmemorialmob06")+"::OnSpawn";
  1507. end;
  1508. }
  1509. 2@gl_k,0,0,0 script #ghmemorialmob07 -1,{
  1510. OnInstanceInit:
  1511. OnDisable:
  1512. disablenpc instance_npcname("#ghmemorialmob07");
  1513. end;
  1514. OnEnable:
  1515. enablenpc instance_npcname("#ghmemorialmob07");
  1516. areamonster instance_mapname("2@gl_k"),124,20,31,162,"The Destruction of the First Captain",2473,1,instance_npcname("#ghmemorialmob07")+"::OnMyMobDead";
  1517. end;
  1518. OnMyMobDead:
  1519. set .@map$, instance_mapname("2@gl_k");
  1520. if (mobcount(.@map$,instance_npcname("#ghmemorialmob07")+"::OnMyMobDead") < 1) {
  1521. mapannounce .@map$, "3 o'clock positioned warp leading to the 2nd zone has been opened. Use the central hallway to get there.",bc_map,"0xFFFF00";
  1522. donpcevent instance_npcname("#ghinstancewarp10")+"::OnEnable";
  1523. donpcevent instance_npcname("#ghinstancewarp11")+"::OnEnable";
  1524. donpcevent instance_npcname("#ghmemorialmob08")+"::OnEnable";
  1525. donpcevent instance_npcname("#ghmemorialmob07")+"::OnDisable";
  1526. }
  1527. end;
  1528. }
  1529. 2@gl_k,0,0,0 script #ghmemorialmob08 -1,{
  1530. OnInstanceInit:
  1531. OnDisable:
  1532. disablenpc instance_npcname("#ghmemorialmob08");
  1533. end;
  1534. OnEnable:
  1535. enablenpc instance_npcname("#ghmemorialmob08");
  1536. set .@map$, instance_mapname("2@gl_k");
  1537. set .@label$, instance_npcname("#ghmemorialmob08")+"::OnMyMobDead";
  1538. areamonster .@map$,175,163,265,18,"Decayed Guard",2468,7,.@label$;
  1539. areamonster .@map$,175,163,265,18,"Sharpshooter Ranger",2469,7,.@label$;
  1540. areamonster .@map$,175,163,265,18,"Fallen Abyss Knight",2470,7,.@label$;
  1541. areamonster .@map$,175,163,265,18,"Suffering Khalitzburg",2471,7,.@label$;
  1542. areamonster .@map$,175,163,265,18,"Swollen Knight",2472,7,.@label$;
  1543. set .MyMobs,35;
  1544. end;
  1545. OnMyMobDead:
  1546. set .@map$, instance_mapname("2@gl_k");
  1547. set .MyMobs, .MyMobs-1;
  1548. if (.MyMobs == 0) {
  1549. mapannounce .@map$, "A being with an evil aura seems to be appearing in this region.",bc_map,"0xFFFF00";
  1550. donpcevent instance_npcname("#ghmemorialmob09")+"::OnEnable";
  1551. donpcevent instance_npcname("#ghmemorialmob08")+"::OnDisable";
  1552. } else {
  1553. set .@label$, instance_npcname("#ghmemorialmob08")+"::OnMyMobDead";
  1554. switch(rand(5)) {
  1555. case 0:
  1556. areamonster .@map$,175,163,265,18,"Decayed Guard",2468,1,.@label$;
  1557. break;
  1558. case 1:
  1559. areamonster .@map$,175,163,265,18,"Sharpshooter Ranger",2469,1,.@label$;
  1560. break;
  1561. case 2:
  1562. areamonster .@map$,175,163,265,18,"Fallen Abyss Knight",2470,1,.@label$;
  1563. break;
  1564. case 3:
  1565. areamonster .@map$,175,163,265,18,"Suffering Khalitzburg",2471,1,.@label$;
  1566. break;
  1567. case 4:
  1568. areamonster .@map$,175,163,265,18,"Swollen Knight",2472,1,.@label$;
  1569. break;
  1570. }
  1571. }
  1572. end;
  1573. }
  1574. 2@gl_k,0,0,0 script #ghmemorialmob09 -1,{
  1575. OnInstanceInit:
  1576. OnDisable:
  1577. disablenpc instance_npcname("#ghmemorialmob09");
  1578. end;
  1579. OnEnable:
  1580. enablenpc instance_npcname("#ghmemorialmob09");
  1581. areamonster instance_mapname("2@gl_k"),175,163,265,18,"The Destruction of the Second Captain",2474,1,instance_npcname("#ghmemorialmob09")+"::OnMyMobDead";
  1582. end;
  1583. OnMyMobDead:
  1584. set .@map$, instance_mapname("2@gl_k");
  1585. if (mobcount(.@map$,instance_npcname("#ghmemorialmob09")+"::OnMyMobDead") < 1) {
  1586. mapannounce .@map$, "12 o'clock positioned warp leading to the 3rd zone has been opened. Use the central hallway to get there.",bc_map,"0xFFFF00";
  1587. donpcevent instance_npcname("#ghinstancewarp12")+"::OnEnable";
  1588. donpcevent instance_npcname("#controlGH6")+"::OnEnable";
  1589. donpcevent instance_npcname("#ghmemorialmob08")+"::OnDisable";
  1590. donpcevent instance_npcname("#ghmemorialmob09")+"::OnDisable";
  1591. }
  1592. end;
  1593. }
  1594. 2@gl_k,0,0,0 script #ghmemorialmob10 -1,{
  1595. OnInstanceInit:
  1596. OnDisable:
  1597. disablenpc instance_npcname("#ghmemorialmob10");
  1598. end;
  1599. OnEnable:
  1600. enablenpc instance_npcname("#ghmemorialmob10");
  1601. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnDisable";
  1602. monster instance_mapname("2@gl_k"),158,255,"Amdarias",2476,1,instance_npcname("#ghmemorialmob10")+"::OnMyMobDead";
  1603. end;
  1604. OnMyMobDead:
  1605. if (mobcount(instance_mapname("2@gl_k"),instance_npcname("#ghmemorialmob10")+"::OnMyMobDead") < 1) {
  1606. donpcevent instance_npcname("Hugin#ghinstance1")+"::OnEnable";
  1607. donpcevent instance_npcname("#ghmemorialmob10")+"::OnDisable";
  1608. }
  1609. end;
  1610. }
  1611. 2@gl_k,155,250,7 script Heinrich#ghinstance6 652,{
  1612. end;
  1613. OnInstanceInit:
  1614. OnDisable:
  1615. hideonnpc instance_npcname("Heinrich#ghinstance6");
  1616. end;
  1617. OnEnable:
  1618. hideoffnpc instance_npcname("Heinrich#ghinstance6");
  1619. end;
  1620. OnTalk1:
  1621. npctalk "Gerhard!";
  1622. end;
  1623. OnTalk2:
  1624. npctalk "What are you doing to my men, Himmelmez?!";
  1625. end;
  1626. OnTalk3:
  1627. npctalk "Himmelmez! You don't need to make any more sacrifices!";
  1628. end;
  1629. OnTalk4:
  1630. npctalk "Let him go! I don't want one more sacrifice!";
  1631. end;
  1632. OnTalk5:
  1633. npctalk "I will not forgive you.";
  1634. end;
  1635. OnTalk6:
  1636. npctalk "Just leave us alone, Himmelmez!!";
  1637. end;
  1638. }
  1639. 2@gl_k,162,250,1 script Varmunt#ghinstance5 654,{
  1640. mes "[Varmunt]";
  1641. mes "We can't escape this";
  1642. mes "eternal confinement...";
  1643. cutin "gl_barmund2",2;
  1644. close2;
  1645. cutin "gl_barmund2",255;
  1646. end;
  1647. OnInstanceInit:
  1648. OnDisable:
  1649. hideonnpc instance_npcname("Varmunt#ghinstance5");
  1650. end;
  1651. OnEnable:
  1652. hideoffnpc instance_npcname("Varmunt#ghinstance5");
  1653. end;
  1654. OnTalk1:
  1655. npctalk "What? This cannot be. We must prevent Amdarias's attacks!";
  1656. end;
  1657. }
  1658. 2@gl_k,158,252,3 script Himmelmez#ghinstance4 650,4,4,{
  1659. end;
  1660. OnInstanceInit:
  1661. OnDisable:
  1662. hideonnpc instance_npcname("Himmelmez#ghinstance4");
  1663. end;
  1664. OnEnable:
  1665. hideoffnpc instance_npcname("Himmelmez#ghinstance4");
  1666. end;
  1667. OnTalk1:
  1668. npctalk "Great~ I thought you wouldn't come near the end...";
  1669. end;
  1670. OnTalk2:
  1671. npctalk "Huhu, I have already found a piece of Ymir's Heart, Heinrich.";
  1672. end;
  1673. OnTalk3:
  1674. npctalk "It would've been faster if there were no distractions.";
  1675. end;
  1676. OnTalk4:
  1677. npctalk "What do you think? Making it look like an accidental disease infected the king and the people around...";
  1678. end;
  1679. OnTalk5:
  1680. npctalk "You want that?";
  1681. end;
  1682. OnTalk6:
  1683. npctalk "This one is your final blow, Heinrich.";
  1684. end;
  1685. OnTalk7:
  1686. npctalk "It is said that stopping me requires a skillfull person.";
  1687. end;
  1688. OnTalk8:
  1689. npctalk "Seems like a perfect scenario to make my new monster, Amdarias.";
  1690. end;
  1691. OnTalk9:
  1692. npctalk "Booh~ I'm scared.";
  1693. end;
  1694. OnTalk10:
  1695. npctalk "Anyway, it was nice talking to you. Maybe we'll have the chance to meet again in the next story.";
  1696. end;
  1697. OnTalk11:
  1698. npctalk "Well, make sure you will come back again.";
  1699. end;
  1700. }
  1701. 2@gl_k,150,179,0 script #controlGH6 111,2,2,{
  1702. end;
  1703. OnTouch:
  1704. mapannounce instance_mapname("2@gl_k"), "???: Do not come! There are traps everywhere here... Aaaaack!!!!",bc_map,"0xFF0000";
  1705. specialeffect EF_BASH;
  1706. donpcevent instance_npcname("Himmelmez#ghinstance3")+"::OnEnable";
  1707. donpcevent instance_npcname("Heinrich#ghinstance6")+"::OnEnable";
  1708. donpcevent instance_npcname("Varmunt#ghinstance5")+"::OnEnable";
  1709. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnEnable";
  1710. donpcevent instance_npcname("#controlGH6")+"::OnDisable";
  1711. end;
  1712. OnInstanceInit:
  1713. OnDisable:
  1714. disablenpc instance_npcname("#controlGH6");
  1715. end;
  1716. OnEnable:
  1717. enablenpc instance_npcname("#controlGH6");
  1718. end;
  1719. }
  1720. 2@gl_k,158,252,1 script Himmelmez#ghinstance3 650,7,7,{
  1721. end;
  1722. OnTouch:
  1723. specialeffect EF_BASH;
  1724. donpcevent instance_npcname("#controlGH5")+"::OnEnable";
  1725. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnEnable";
  1726. donpcevent instance_npcname("Himmelmez#ghinstance3")+"::OnDisable";
  1727. end;
  1728. OnInstanceInit:
  1729. OnDisable:
  1730. disablenpc instance_npcname("Himmelmez#ghinstance3");
  1731. end;
  1732. OnEnable:
  1733. enablenpc instance_npcname("Himmelmez#ghinstance3");
  1734. end;
  1735. }
  1736. 2@gl_k,158,255,3 script Gerhard#ghinstance1 651,{
  1737. end;
  1738. OnInstanceInit:
  1739. OnDisable:
  1740. hideonnpc instance_npcname("Gerhard#ghinstance1");
  1741. end;
  1742. OnEnable:
  1743. hideoffnpc instance_npcname("Gerhard#ghinstance1");
  1744. end;
  1745. OnTalk1:
  1746. npctalk "Damn it! Run away! I can't withstand anymore!";
  1747. end;
  1748. OnTalk2:
  1749. npctalk "Commandant... Come on, you need to run away from here... Ugh.";
  1750. end;
  1751. OnTalk3:
  1752. npctalk "Even if you defile my body, I won't let you take my soul, Himmelmez!";
  1753. end;
  1754. OnEffect1:
  1755. specialeffect EF_BARRIER;
  1756. end;
  1757. OnEffect2:
  1758. specialeffect EF_CHAINCOMBO;
  1759. end;
  1760. OnEffect3:
  1761. specialeffect EF_MAPPILLAR2;
  1762. end;
  1763. OnEffect4:
  1764. specialeffect EF_MAPPILLAR;
  1765. end;
  1766. OnEffect5:
  1767. specialeffect EF_LORD;
  1768. end;
  1769. }
  1770. 2@gl_k,0,0,0 script #controlGH5 -1,{
  1771. OnInstanceInit:
  1772. OnDisable:
  1773. disablenpc instance_npcname("#controlGH5");
  1774. end;
  1775. OnEnable:
  1776. enablenpc instance_npcname("#controlGH5");
  1777. initnpctimer;
  1778. end;
  1779. OnTimer3000:
  1780. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk1";
  1781. end;
  1782. OnTimer6000:
  1783. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnTalk1";
  1784. end;
  1785. OnTimer9000:
  1786. donpcevent instance_npcname("Heinrich#ghinstance6")+"::OnTalk1";
  1787. end;
  1788. OnTimer12000:
  1789. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnTalk2";
  1790. end;
  1791. OnTimer15000:
  1792. donpcevent instance_npcname("Heinrich#ghinstance6")+"::OnTalk2";
  1793. end;
  1794. OnTimer18000:
  1795. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk2";
  1796. end;
  1797. OnTimer21000:
  1798. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk3";
  1799. end;
  1800. OnTimer24000:
  1801. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnTalk3";
  1802. end;
  1803. OnTimer27000:
  1804. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk4";
  1805. end;
  1806. OnTimer30000:
  1807. donpcevent instance_npcname("Heinrich#ghinstance6")+"::OnTalk3";
  1808. end;
  1809. OnTimer33000:
  1810. donpcevent instance_npcname("Heinrich#ghinstance6")+"::OnTalk4";
  1811. end;
  1812. OnTimer36000:
  1813. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk5";
  1814. end;
  1815. OnTimer39000:
  1816. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk6";
  1817. end;
  1818. OnTimer42000:
  1819. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk7";
  1820. end;
  1821. OnTimer45000:
  1822. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk8";
  1823. end;
  1824. OnTimer48000:
  1825. donpcevent instance_npcname("Heinrich#ghinstance6")+"::OnTalk5";
  1826. end;
  1827. OnTimer51000:
  1828. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk9";
  1829. end;
  1830. OnTimer54000:
  1831. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk10";
  1832. end;
  1833. OnTimer57000:
  1834. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk11";
  1835. end;
  1836. OnTimer60000:
  1837. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnEffect1";
  1838. end;
  1839. OnTimer63000:
  1840. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnDisable";
  1841. end;
  1842. OnTimer65000:
  1843. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnEffect3";
  1844. end;
  1845. OnTimer66000:
  1846. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnEffect2";
  1847. end;
  1848. OnTimer67000:
  1849. donpcevent instance_npcname("Heinrich#ghinstance6")+"::OnTalk6";
  1850. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnEffect4";
  1851. end;
  1852. OnTimer70000:
  1853. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnEffect3";
  1854. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnEffect4";
  1855. donpcevent instance_npcname("Heinrich#ghinstance6")+"::OnDisable";
  1856. donpcevent instance_npcname("Varmunt#ghinstance5")+"::OnTalk1";
  1857. end;
  1858. OnTimer73000:
  1859. mapannounce instance_mapname("2@gl_k"), "Leads toward Gerhard's body.",bc_map,"0xFFFFFF";
  1860. end;
  1861. OnTimer76000:
  1862. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnEffect5";
  1863. end;
  1864. OnTimer80000:
  1865. donpcevent instance_npcname("#ghmemorialmob10")+"::OnEnable";
  1866. stopnpctimer;
  1867. donpcevent instance_npcname("#controlGH5")+"::OnDisable";
  1868. end;
  1869. }
  1870. 2@gl_k,158,241,1 script Hugin#ghinstance1 755,{
  1871. if (checkquest(12319,HUNTING) == 2) {
  1872. mes "[Hugin]";
  1873. mes "Well, you are pretty ridiculous. Beginners shouldn't get the loot Amdarias drops.";
  1874. erasequest 12318;
  1875. erasequest 12319;
  1876. getitem 6608,1; //Coagulated Spell
  1877. next;
  1878. mes "[Hugin]";
  1879. mes "Varmunt, I have arbitrarily stopped time. And soon, the time gap will be gone.";
  1880. specialeffect2 EF_BLIND,AREA;
  1881. soundeffect "_blind.wav",0;
  1882. next;
  1883. mes "[Hugin]";
  1884. mes "Poor time travelers.";
  1885. mes "They will endlessly retry to prevent the tragedy that affected this city.";
  1886. next;
  1887. mes "[Hugin]";
  1888. mes "But the beggining of these time travels won't redempt your actions.";
  1889. mes "This will continue forever...";
  1890. next;
  1891. mes "[Hugin]";
  1892. mes "Now, I may erase your memory again. Perhaps you will have a different fate next time.";
  1893. specialeffect2 EF_FREEZE;
  1894. close2;
  1895. getmapxy(.@map$,.@x,.@y,0);
  1896. warp .@map$,.@x,.@y;
  1897. end;
  1898. } else {
  1899. mes "[Hugin]";
  1900. mes "The gap of time is almost distorted.";
  1901. mes "Done. There you go. Come!";
  1902. mes "I have to get out!";
  1903. next;
  1904. select("Bah... Soon after you...");
  1905. mes "[Hugin]";
  1906. mes "Soon after me? Anyways...";
  1907. mes "Doesn't matter, soon the gap of time will be closed, I have to get out of here.";
  1908. next;
  1909. switch(select("Since I'm here, let's explore more.:Please, send me out.")) {
  1910. case 1:
  1911. mes "[Hugin]";
  1912. mes "..................";
  1913. close;
  1914. case 2:
  1915. close2;
  1916. warp "glast_01",204,270;
  1917. end;
  1918. }
  1919. }
  1920. OnInstanceInit:
  1921. OnDisable:
  1922. disablenpc instance_npcname("Hugin#ghinstance1");
  1923. end;
  1924. OnEnable:
  1925. enablenpc instance_npcname("Hugin#ghinstance1");
  1926. end;
  1927. }