OldGlastHeim.txt 68 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995
  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 "Varmunt : 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), strcharinfo(0) +" : 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 "Varmunt : 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), strcharinfo(0) +" : Himmelmez? Who the hell is she?";
  109. next;
  110. mes "[Varmunt]";
  111. mes "Didn't anybody give you the basic informations?";
  112. npctalk "Varmunt : 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 "Varmunt : 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 "Varmunt : 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 "Varmunt : 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), strcharinfo(0) +" : 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 "Heinrich : 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 "Heinrich : 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), strcharinfo(0) +" : 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 "Heinrich : 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), strcharinfo(0) +" : 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 "Heinrich : 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 "Heinrich : 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 "Varmunt : I am not joking Heinrich, Sir. Now, if my judgement is correct, she will be here soon.";
  293. end;
  294. OnTalk2:
  295. npctalk "Varmunt : 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 "Varmunt : Himmelmez!! Through the cracks!";
  299. end;
  300. OnTalk4:
  301. npctalk "Varmunt : Unbelievable. My men are...This kind of thing is not possible!";
  302. end;
  303. OnTalk5:
  304. npctalk "Varmunt : Heinrich, Sir! I need a quick decision.";
  305. end;
  306. OnTalk6:
  307. npctalk "Varmunt : To prevent other attacks, go chase her!";
  308. end;
  309. OnTalk7:
  310. npctalk "Varmunt : 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 "Heinrich : Who?!";
  324. end;
  325. OnTalk2:
  326. npctalk "Heinrich : 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 "Heinrich : What did you say?";
  330. end;
  331. OnTalk4:
  332. npctalk "Heinrich : 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 "Heinrich : Just leave before you get in trouble. This is the King's will!";
  336. end;
  337. OnTalk6:
  338. npctalk "Heinrich : Damn! She has detected the position of the Ymir's Heart pieces.";
  339. end;
  340. OnTalk7:
  341. npctalk "Heinrich : Now, Khalitzburg Crusaders and White Knights, follow me...";
  342. end;
  343. OnTalk8:
  344. npctalk "Heinrich : Unbelievable. My men are...This kind of thing is not possible!";
  345. end;
  346. OnTalk9:
  347. npctalk "Heinrich : I'm sorry...";
  348. end;
  349. OnTalk10:
  350. npctalk "Heinrich : 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 "Heinrich : I cannot believe I killed my men with my own hands!";
  364. end;
  365. OnTalk2:
  366. npctalk "Heinrich : Varmunt is right about that. Now is not the time to regret.";
  367. end;
  368. OnTalk3:
  369. npctalk "Heinrich : People, gather around and follow my orders.";
  370. end;
  371. OnTalk4:
  372. npctalk "Heinrich : Himmelmez is turning into monsters all the people she put to sleep.";
  373. end;
  374. OnTalk5:
  375. npctalk "Heinrich : I don't know if there are survivors around here yet.";
  376. end;
  377. OnTalk6:
  378. npctalk "Heinrich : If there are survivors from this evil thing, please rescue them.";
  379. end;
  380. OnTalk7:
  381. npctalk "Heinrich : With Varmunt by my side, I'm going to chase Himmelmez down.";
  382. end;
  383. OnTalk8:
  384. npctalk "Heinrich : 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 "Himmelmez : 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 "Himmelmez : My name is Lisa Kahn Himmelmez. I am called the Valkyrie of the dead, master of the Dullahan.";
  401. end;
  402. OnTalk3:
  403. npctalk "Himmelmez : 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 "Himmelmez : Hohoho, do you have any questions? You're a really mysterious man.";
  407. end;
  408. OnTalk5:
  409. npctalk "Himmelmez : 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 "Himmelmez : You make me wish we hadn't met in this situation. Too bad we did.";
  413. end;
  414. Ontalk7:
  415. npctalk "Himmelmez : 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 "Himmelmez : 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), strcharinfo(0) +" : 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 "Aspiring Butcher : 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 "Aspiring Butcher : 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), strcharinfo(0) +" : 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 "Aspiring Butcher : 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), strcharinfo(0) +" : 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 : 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 "Hollgrehenn Destroyer : 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), strcharinfo(0) +" : 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 "Hollgrehenn Destroyer : 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), strcharinfo(0) +" : 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 "Hollgrehenn Destroyer : 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), strcharinfo(0) +" : 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 "Hollgrehenn Destroyer : 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,UNITTYPE_NPC);
  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 "Heinrich : Himmelmez! I won't let you take even a single more step here.";
  1142. end;
  1143. OnTalk2:
  1144. npctalk "Heinrich : What... is this?!";
  1145. end;
  1146. OnTalk3:
  1147. npctalk "Heinrich : 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 "Himmelmez : 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 "Himmelmez : But it doesn't matter to me.";
  1169. end;
  1170. OnTalk3:
  1171. npctalk "Himmelmez : Now, all of you will die.";
  1172. end;
  1173. OnTalk4:
  1174. npctalk "Himmelmez : Hahaha, so you guys thought I would come alone?";
  1175. end;
  1176. OnTalk5:
  1177. npctalk "Himmelmez : 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 "Himmelmez : 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. erasequest 12318;
  1190. if (checkquest(12319,HUNTING) == -1)
  1191. setquest 12319;
  1192. setquest 12320;
  1193. erasequest 12320;
  1194. getitem 6607,1; //Temporal_Crystal
  1195. getitem 6608,1; //Coagulated_Spell
  1196. close2;
  1197. cutin "gl_barmund1",255;
  1198. end;
  1199. }
  1200. }
  1201. mes "[Varmunt]";
  1202. mes "Even after all this time, it is impossible to prevent from the will of the Transcendent.";
  1203. cutin "gl_barmund1",2;
  1204. close2;
  1205. cutin "gl_barmund2",255;
  1206. end;
  1207. OnInstanceInit:
  1208. OnDisable:
  1209. hideonnpc instance_npcname("Varmunt#ghinstance3");
  1210. end;
  1211. OnEnable:
  1212. hideoffnpc instance_npcname("Varmunt#ghinstance3");
  1213. end;
  1214. OnTalk1:
  1215. npctalk "Varmunt : Heinrich Sir! Something unknown holds an inexplicably powerful force!";
  1216. end;
  1217. OnTalk2:
  1218. npctalk "Varmunt : From the monster I picked up some great stuff. People who are interested, talk to me.";
  1219. end;
  1220. }
  1221. // Floor 2
  1222. //============================================================
  1223. 2@gl_k,148,67,1 script Heinrich#ghinstance5 652,{
  1224. mes "[Heinrich]";
  1225. mes "Himmelmez's blocking spells";
  1226. mes "are everywhere around here...";
  1227. cutin "gl_heinrich1",2;
  1228. close2;
  1229. cutin "gl_heinrich1",255;
  1230. end;
  1231. OnInstanceInit:
  1232. OnDisable:
  1233. hideonnpc instance_npcname("Heinrich#ghinstance5");
  1234. end;
  1235. OnEnable:
  1236. hideoffnpc instance_npcname("Heinrich#ghinstance5");
  1237. end;
  1238. OnTalk1:
  1239. npctalk "Heinrich : These things have never been in the castle!";
  1240. end;
  1241. OnTalk2:
  1242. npctalk "Heinrich : Trying to break this power with common weapons doesn't work. I tried it.";
  1243. end;
  1244. OnTalk3:
  1245. npctalk "Heinrich : It is really unforgivable.";
  1246. end;
  1247. OnTalk4:
  1248. npctalk "Heinrich : I, who already was a subordinate of genocide. How much more in the future...";
  1249. end;
  1250. OnTalk5:
  1251. npctalk "Heinrich : ...";
  1252. end;
  1253. }
  1254. 2@gl_k,151,71,7 script Varmunt#ghinstance4 654,{
  1255. mes "[Varmunt]";
  1256. 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...";
  1257. cutin "gl_barmund1",2;
  1258. close2;
  1259. cutin "gl_barmund1",255;
  1260. end;
  1261. OnInstanceInit:
  1262. OnDisable:
  1263. hideonnpc instance_npcname("Varmunt#ghinstance4");
  1264. end;
  1265. OnEnable:
  1266. hideoffnpc instance_npcname("Varmunt#ghinstance4");
  1267. end;
  1268. OnTalk2:
  1269. npctalk "Varmunt : Himmelmez's enchantment has completely blocked the passage to each section.";
  1270. end;
  1271. OnTalk3:
  1272. npctalk "Varmunt : Get out of the way for a moment. I'll try to somehow break the spell with magical powers.";
  1273. end;
  1274. OnTalk4:
  1275. npctalk "Varmunt : The enchantment seems to be broken.";
  1276. end;
  1277. OnTalk5:
  1278. npctalk "Varmunt : I've never seen this spell before.";
  1279. end;
  1280. OnTalk6:
  1281. npctalk "Varmunt : Himmelmez doesn't use a seal on a person's body to turn it into an undead.";
  1282. end;
  1283. OnTalk7:
  1284. npctalk "Varmunt : She uses enchantment stones.This way, the spell is probably maintained.";
  1285. end;
  1286. OnTalk8:
  1287. npctalk "Varmunt : We should kill the people who have the enchantment stones to break the spell.";
  1288. end;
  1289. OnTalk9:
  1290. npctalk "Varmunt : However, we can't identify them. The purification can only be done randomly.";
  1291. end;
  1292. OnTalk10:
  1293. npctalk "Varmunt : Commandant...";
  1294. end;
  1295. OnTalk11:
  1296. npctalk "Varmunt : Commandant, it seems too loose.";
  1297. end;
  1298. OnTalk12:
  1299. npctalk "Varmunt : We are related to all these people, not just a few.";
  1300. end;
  1301. OnTalk13:
  1302. npctalk "Varmunt : We can't deny that it's not their fault for what is going on.";
  1303. end;
  1304. OnTalk14:
  1305. npctalk "Varmunt : Well, let's do it then.";
  1306. end;
  1307. OnTalk15:
  1308. npctalk "Varmunt : You guys are of a great help. Try to follow us.";
  1309. end;
  1310. OnTalk16:
  1311. npctalk "Varmunt : There can be a tough fight. Hold on, and it would be nice to eat something.";
  1312. end;
  1313. OnTalk17:
  1314. npctalk "Varmunt : Guys. It is time to depart, Heinrich Sir.";
  1315. end;
  1316. }
  1317. 2@gl_k,150,67,0 script #effectGH01 111,10,10,{
  1318. end;
  1319. OnTouch:
  1320. if (.touch) {
  1321. set .touch,0;
  1322. specialeffect EF_BASH;
  1323. donpcevent instance_npcname("#controlGH4")+"::OnEnable";
  1324. }
  1325. end;
  1326. OnEffect:
  1327. specialeffect EF_LORD;
  1328. end;
  1329. OnInstanceInit:
  1330. OnDisable:
  1331. disablenpc instance_npcname("#effectGH01");
  1332. end;
  1333. OnEnable:
  1334. enablenpc instance_npcname("#effectGH01");
  1335. set .touch,1; // only activate OnTouch once
  1336. end;
  1337. }
  1338. 2@gl_k,0,0,0 script #controlGH4 -1,{
  1339. OnInstanceInit:
  1340. OnDisable:
  1341. disablenpc instance_npcname("#controlGH4");
  1342. end;
  1343. OnEnable:
  1344. enablenpc instance_npcname("#controlGH4");
  1345. initnpctimer;
  1346. end;
  1347. OnTimer3000:
  1348. donpcevent instance_npcname("Heinrich#ghinstance5")+"::OnTalk1";
  1349. donpcevent instance_npcname("#ghmemorialmob05")+"::OnEnable";
  1350. end;
  1351. OnTimer6000:
  1352. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk2";
  1353. end;
  1354. OnTimer9000:
  1355. donpcevent instance_npcname("Heinrich#ghinstance5")+"::OnTalk2";
  1356. end;
  1357. OnTimer12000:
  1358. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk3";
  1359. end;
  1360. OnTimer15000:
  1361. donpcevent instance_npcname("#effectGH01")+"::OnEffect";
  1362. end;
  1363. OnTimer18000:
  1364. donpcevent instance_npcname("#effectGH01")+"::OnDisable";
  1365. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk4";
  1366. end;
  1367. OnTimer21000:
  1368. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk5";
  1369. end;
  1370. OnTimer24000:
  1371. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk6";
  1372. end;
  1373. OnTimer27000:
  1374. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk7";
  1375. end;
  1376. OnTimer30000:
  1377. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk8";
  1378. end;
  1379. OnTimer33000:
  1380. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk9";
  1381. end;
  1382. OnTimer36000:
  1383. donpcevent instance_npcname("Heinrich#ghinstance5")+"::OnTalk3";
  1384. end;
  1385. OnTimer39000:
  1386. donpcevent instance_npcname("Heinrich#ghinstance5")+"::OnTalk4";
  1387. end;
  1388. OnTimer42000:
  1389. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk10";
  1390. end;
  1391. OnTimer45000:
  1392. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk11";
  1393. end;
  1394. OnTimer48000:
  1395. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk12";
  1396. end;
  1397. OnTimer51000:
  1398. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk13";
  1399. end;
  1400. OnTimer54000:
  1401. donpcevent instance_npcname("Heinrich#ghinstance5")+"::OnTalk5";
  1402. end;
  1403. OnTimer57000:
  1404. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk14";
  1405. end;
  1406. OnTimer60000:
  1407. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk15";
  1408. end;
  1409. OnTimer63000:
  1410. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk16";
  1411. end;
  1412. OnTimer66000:
  1413. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnTalk17";
  1414. end;
  1415. OnTimer69000:
  1416. 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";
  1417. donpcevent instance_npcname("#ghinstancewarp8")+"::OnEnable";
  1418. donpcevent instance_npcname("#ghinstancewarp9")+"::OnEnable";
  1419. donpcevent instance_npcname("#ghmemorialmob06")+"::OnEnable";
  1420. donpcevent instance_npcname("Varmunt#ghinstance4")+"::OnDisable";
  1421. donpcevent instance_npcname("Heinrich#ghinstance5")+"::OnDisable";
  1422. end;
  1423. OnTimer70000:
  1424. stopnpctimer;
  1425. donpcevent instance_npcname("#controlGH4")+"::OnDisable";
  1426. end;
  1427. }
  1428. 2@gl_k,0,0,0 script #ghmemorialmob05 -1,{
  1429. OnInstanceInit:
  1430. OnDisable:
  1431. disablenpc instance_npcname("#ghmemorialmob05");
  1432. end;
  1433. OnEnable:
  1434. enablenpc instance_npcname("#ghmemorialmob05");
  1435. set .@map$, instance_mapname("2@gl_k");
  1436. set .@label$, instance_npcname("#ghmemorialmob05")+"::OnMyMobDead";
  1437. areamonster .@map$,124,20,31,162,"Decayed Guard",2468,8,.@label$;
  1438. areamonster .@map$,124,20,31,162,"Sharpshooter Ranger",2469,8,.@label$;
  1439. areamonster .@map$,124,20,31,162,"Fallen Abyss Knight",2470,8,.@label$;
  1440. areamonster .@map$,124,20,31,162,"Suffering Khalitzburg",2471,8,.@label$;
  1441. areamonster .@map$,124,20,31,162,"Swollen Knight",2472,8,.@label$;
  1442. set 'MyMobs,80;
  1443. end;
  1444. OnMyMobDead:
  1445. set .@map$, instance_mapname("2@gl_k");
  1446. set 'MyMobs, 'MyMobs-1;
  1447. if ('MyMobs == 0) {
  1448. mapannounce .@map$, "A being with an evil aura seems to be appearing in this region.",bc_map,"0xFFFF00";
  1449. donpcevent instance_npcname("#ghmemorialmob06")+"::OnDisable2";
  1450. donpcevent instance_npcname("#ghmemorialmob07")+"::OnEnable";
  1451. donpcevent instance_npcname("#ghmemorialmob05")+"::OnDisable";
  1452. } else {
  1453. set .@label$, instance_npcname("#ghmemorialmob05")+"::OnMyMobDead";
  1454. switch(rand(5)) {
  1455. case 0:
  1456. areamonster .@map$,124,20,31,162,"Decayed Guard",2468,1,.@label$;
  1457. break;
  1458. case 1:
  1459. areamonster .@map$,124,20,31,162,"Sharpshooter Ranger",2469,1,.@label$;
  1460. break;
  1461. case 2:
  1462. areamonster .@map$,124,20,31,162,"Fallen Abyss Knight",2470,1,.@label$;
  1463. break;
  1464. case 3:
  1465. areamonster .@map$,124,20,31,162,"Suffering Khalitzburg",2471,1,.@label$;
  1466. break;
  1467. case 4:
  1468. areamonster .@map$,124,20,31,162,"Swollen Knight",2472,1,.@label$;
  1469. break;
  1470. }
  1471. }
  1472. end;
  1473. }
  1474. 2@gl_k,0,0,0 script #ghmemorialmob06 -1,{
  1475. OnInstanceInit:
  1476. OnDisable:
  1477. disablenpc instance_npcname("#ghmemorialmob06");
  1478. end;
  1479. OnDisable2:
  1480. stopnpctimer;
  1481. disablenpc instance_npcname("#ghmemorialmob06");
  1482. end;
  1483. OnEnable:
  1484. enablenpc instance_npcname("#ghmemorialmob06");
  1485. donpcevent instance_npcname("#ghmemorialmob06")+"::OnSpawn";
  1486. end;
  1487. OnSpawn:
  1488. initnpctimer;
  1489. end;
  1490. OnTimer90000:
  1491. set .@map$, instance_mapname("2@gl_k");
  1492. set .@label$, instance_npcname("#ghmemorialmob05")+"::OnMyMobDead";
  1493. setarray .@c[0],
  1494. 114,141,118,139,
  1495. 128,83,131,78,
  1496. 88,53,93,48,
  1497. 54,47,61,40,
  1498. 58,83,63,78,
  1499. 69,138,80,127,
  1500. 34,143,39,138;
  1501. for(set .@i,0; .@i<getarraysize(.@c); set .@i,.@i+4) {
  1502. areamonster .@map$,.@c[.@i],.@c[.@i+1],.@c[.@i+2],.@c[.@i+3],"Decayed Guard",2468,1,.@label$;
  1503. areamonster .@map$,.@c[.@i],.@c[.@i+1],.@c[.@i+2],.@c[.@i+3],"Sharpshooter Ranger",2469,1,.@label$;
  1504. areamonster .@map$,.@c[.@i],.@c[.@i+1],.@c[.@i+2],.@c[.@i+3],"Fallen Abyss Knight",2470,1,.@label$;
  1505. areamonster .@map$,.@c[.@i],.@c[.@i+1],.@c[.@i+2],.@c[.@i+3],"Suffering Khalitzburg",2471,1,.@label$;
  1506. areamonster .@map$,.@c[.@i],.@c[.@i+1],.@c[.@i+2],.@c[.@i+3],"Swollen Knight",2472,1,.@label$;
  1507. }
  1508. end;
  1509. OnTimer92000:
  1510. stopnpctimer;
  1511. donpcevent instance_npcname("#ghmemorialmob06")+"::OnSpawn";
  1512. end;
  1513. }
  1514. 2@gl_k,0,0,0 script #ghmemorialmob07 -1,{
  1515. OnInstanceInit:
  1516. OnDisable:
  1517. disablenpc instance_npcname("#ghmemorialmob07");
  1518. end;
  1519. OnEnable:
  1520. enablenpc instance_npcname("#ghmemorialmob07");
  1521. areamonster instance_mapname("2@gl_k"),124,20,31,162,"The Destruction of the First Captain",2473,1,instance_npcname("#ghmemorialmob07")+"::OnMyMobDead";
  1522. end;
  1523. OnMyMobDead:
  1524. set .@map$, instance_mapname("2@gl_k");
  1525. if (mobcount(.@map$,instance_npcname("#ghmemorialmob07")+"::OnMyMobDead") < 1) {
  1526. 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";
  1527. donpcevent instance_npcname("#ghinstancewarp10")+"::OnEnable";
  1528. donpcevent instance_npcname("#ghinstancewarp11")+"::OnEnable";
  1529. donpcevent instance_npcname("#ghmemorialmob08")+"::OnEnable";
  1530. donpcevent instance_npcname("#ghmemorialmob07")+"::OnDisable";
  1531. }
  1532. end;
  1533. }
  1534. 2@gl_k,0,0,0 script #ghmemorialmob08 -1,{
  1535. OnInstanceInit:
  1536. OnDisable:
  1537. disablenpc instance_npcname("#ghmemorialmob08");
  1538. end;
  1539. OnEnable:
  1540. enablenpc instance_npcname("#ghmemorialmob08");
  1541. set .@map$, instance_mapname("2@gl_k");
  1542. set .@label$, instance_npcname("#ghmemorialmob08")+"::OnMyMobDead";
  1543. areamonster .@map$,175,163,265,18,"Decayed Guard",2468,7,.@label$;
  1544. areamonster .@map$,175,163,265,18,"Sharpshooter Ranger",2469,7,.@label$;
  1545. areamonster .@map$,175,163,265,18,"Fallen Abyss Knight",2470,7,.@label$;
  1546. areamonster .@map$,175,163,265,18,"Suffering Khalitzburg",2471,7,.@label$;
  1547. areamonster .@map$,175,163,265,18,"Swollen Knight",2472,7,.@label$;
  1548. set 'MyMobs,35;
  1549. end;
  1550. OnMyMobDead:
  1551. set .@map$, instance_mapname("2@gl_k");
  1552. set 'MyMobs, 'MyMobs-1;
  1553. if ('MyMobs == 0) {
  1554. mapannounce .@map$, "A being with an evil aura seems to be appearing in this region.",bc_map,"0xFFFF00";
  1555. donpcevent instance_npcname("#ghmemorialmob09")+"::OnEnable";
  1556. donpcevent instance_npcname("#ghmemorialmob08")+"::OnDisable";
  1557. } else {
  1558. set .@label$, instance_npcname("#ghmemorialmob08")+"::OnMyMobDead";
  1559. switch(rand(5)) {
  1560. case 0:
  1561. areamonster .@map$,175,163,265,18,"Decayed Guard",2468,1,.@label$;
  1562. break;
  1563. case 1:
  1564. areamonster .@map$,175,163,265,18,"Sharpshooter Ranger",2469,1,.@label$;
  1565. break;
  1566. case 2:
  1567. areamonster .@map$,175,163,265,18,"Fallen Abyss Knight",2470,1,.@label$;
  1568. break;
  1569. case 3:
  1570. areamonster .@map$,175,163,265,18,"Suffering Khalitzburg",2471,1,.@label$;
  1571. break;
  1572. case 4:
  1573. areamonster .@map$,175,163,265,18,"Swollen Knight",2472,1,.@label$;
  1574. break;
  1575. }
  1576. }
  1577. end;
  1578. }
  1579. 2@gl_k,0,0,0 script #ghmemorialmob09 -1,{
  1580. OnInstanceInit:
  1581. OnDisable:
  1582. disablenpc instance_npcname("#ghmemorialmob09");
  1583. end;
  1584. OnEnable:
  1585. enablenpc instance_npcname("#ghmemorialmob09");
  1586. areamonster instance_mapname("2@gl_k"),175,163,265,18,"The Destruction of the Second Captain",2474,1,instance_npcname("#ghmemorialmob09")+"::OnMyMobDead";
  1587. end;
  1588. OnMyMobDead:
  1589. set .@map$, instance_mapname("2@gl_k");
  1590. if (mobcount(.@map$,instance_npcname("#ghmemorialmob09")+"::OnMyMobDead") < 1) {
  1591. 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";
  1592. donpcevent instance_npcname("#ghinstancewarp12")+"::OnEnable";
  1593. donpcevent instance_npcname("#controlGH6")+"::OnEnable";
  1594. donpcevent instance_npcname("#ghmemorialmob08")+"::OnDisable";
  1595. donpcevent instance_npcname("#ghmemorialmob09")+"::OnDisable";
  1596. }
  1597. end;
  1598. }
  1599. 2@gl_k,0,0,0 script #ghmemorialmob10 -1,{
  1600. OnInstanceInit:
  1601. OnDisable:
  1602. disablenpc instance_npcname("#ghmemorialmob10");
  1603. end;
  1604. OnEnable:
  1605. enablenpc instance_npcname("#ghmemorialmob10");
  1606. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnDisable";
  1607. monster instance_mapname("2@gl_k"),158,255,"Amdarias",2476,1,instance_npcname("#ghmemorialmob10")+"::OnMyMobDead";
  1608. end;
  1609. OnMyMobDead:
  1610. if (mobcount(instance_mapname("2@gl_k"),instance_npcname("#ghmemorialmob10")+"::OnMyMobDead") < 1) {
  1611. donpcevent instance_npcname("Hugin#ghinstance1")+"::OnEnable";
  1612. donpcevent instance_npcname("#ghmemorialmob10")+"::OnDisable";
  1613. }
  1614. end;
  1615. }
  1616. 2@gl_k,155,250,7 script Heinrich#ghinstance6 652,{
  1617. end;
  1618. OnInstanceInit:
  1619. OnDisable:
  1620. hideonnpc instance_npcname("Heinrich#ghinstance6");
  1621. end;
  1622. OnEnable:
  1623. hideoffnpc instance_npcname("Heinrich#ghinstance6");
  1624. end;
  1625. OnTalk1:
  1626. npctalk "Heinrich : Gerhard!";
  1627. end;
  1628. OnTalk2:
  1629. npctalk "Heinrich : What are you doing to my men, Himmelmez?!";
  1630. end;
  1631. OnTalk3:
  1632. npctalk "Heinrich : Himmelmez! You don't need to make any more sacrifices!";
  1633. end;
  1634. OnTalk4:
  1635. npctalk "Heinrich : Let him go! I don't want one more sacrifice!";
  1636. end;
  1637. OnTalk5:
  1638. npctalk "Heinrich : I will not forgive you.";
  1639. end;
  1640. OnTalk6:
  1641. npctalk "Heinrich : Just leave us alone, Himmelmez!!";
  1642. end;
  1643. }
  1644. 2@gl_k,162,250,1 script Varmunt#ghinstance5 654,{
  1645. mes "[Varmunt]";
  1646. mes "We can't escape this";
  1647. mes "eternal confinement...";
  1648. cutin "gl_barmund2",2;
  1649. close2;
  1650. cutin "gl_barmund2",255;
  1651. end;
  1652. OnInstanceInit:
  1653. OnDisable:
  1654. hideonnpc instance_npcname("Varmunt#ghinstance5");
  1655. end;
  1656. OnEnable:
  1657. hideoffnpc instance_npcname("Varmunt#ghinstance5");
  1658. end;
  1659. OnTalk1:
  1660. npctalk "Varmunt : What? This cannot be. We must prevent Amdarias's attacks!";
  1661. end;
  1662. }
  1663. 2@gl_k,158,252,3 script Himmelmez#ghinstance4 650,4,4,{
  1664. end;
  1665. OnInstanceInit:
  1666. OnDisable:
  1667. hideonnpc instance_npcname("Himmelmez#ghinstance4");
  1668. end;
  1669. OnEnable:
  1670. hideoffnpc instance_npcname("Himmelmez#ghinstance4");
  1671. end;
  1672. OnTalk1:
  1673. npctalk "Himmelmez : Great~ I thought you wouldn't come near the end...";
  1674. end;
  1675. OnTalk2:
  1676. npctalk "Himmelmez : Huhu, I have already found a piece of Ymir's Heart, Heinrich.";
  1677. end;
  1678. OnTalk3:
  1679. npctalk "Himmelmez : It would've been faster if there were no distractions.";
  1680. end;
  1681. OnTalk4:
  1682. npctalk "Himmelmez : What do you think? Making it look like an accidental disease infected the king and the people around...";
  1683. end;
  1684. OnTalk5:
  1685. npctalk "Himmelmez : You want that?";
  1686. end;
  1687. OnTalk6:
  1688. npctalk "Himmelmez : This one is your final blow, Heinrich.";
  1689. end;
  1690. OnTalk7:
  1691. npctalk "Himmelmez : It is said that stopping me requires a skillfull person.";
  1692. end;
  1693. OnTalk8:
  1694. npctalk "Himmelmez : Seems like a perfect scenario to make my new monster, Amdarias.";
  1695. end;
  1696. OnTalk9:
  1697. npctalk "Himmelmez : Booh~ I'm scared.";
  1698. end;
  1699. OnTalk10:
  1700. npctalk "Himmelmez : Anyway, it was nice talking to you. Maybe we'll have the chance to meet again in the next story.";
  1701. end;
  1702. OnTalk11:
  1703. npctalk "Himmelmez : Well, make sure you will come back again.";
  1704. end;
  1705. }
  1706. 2@gl_k,150,179,0 script #controlGH6 111,2,2,{
  1707. end;
  1708. OnTouch:
  1709. mapannounce instance_mapname("2@gl_k"), "???: Do not come! There are traps everywhere here... Aaaaack!!!!",bc_map,"0xFF0000";
  1710. specialeffect EF_BASH;
  1711. donpcevent instance_npcname("Himmelmez#ghinstance3")+"::OnEnable";
  1712. donpcevent instance_npcname("Heinrich#ghinstance6")+"::OnEnable";
  1713. donpcevent instance_npcname("Varmunt#ghinstance5")+"::OnEnable";
  1714. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnEnable";
  1715. donpcevent instance_npcname("#controlGH6")+"::OnDisable";
  1716. end;
  1717. OnInstanceInit:
  1718. OnDisable:
  1719. disablenpc instance_npcname("#controlGH6");
  1720. end;
  1721. OnEnable:
  1722. enablenpc instance_npcname("#controlGH6");
  1723. end;
  1724. }
  1725. 2@gl_k,158,252,1 script Himmelmez#ghinstance3 650,7,7,{
  1726. end;
  1727. OnTouch:
  1728. specialeffect EF_BASH;
  1729. donpcevent instance_npcname("#controlGH5")+"::OnEnable";
  1730. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnEnable";
  1731. donpcevent instance_npcname("Himmelmez#ghinstance3")+"::OnDisable";
  1732. end;
  1733. OnInstanceInit:
  1734. OnDisable:
  1735. disablenpc instance_npcname("Himmelmez#ghinstance3");
  1736. end;
  1737. OnEnable:
  1738. enablenpc instance_npcname("Himmelmez#ghinstance3");
  1739. end;
  1740. }
  1741. 2@gl_k,158,255,3 script Gerhard#ghinstance1 651,{
  1742. end;
  1743. OnInstanceInit:
  1744. OnDisable:
  1745. hideonnpc instance_npcname("Gerhard#ghinstance1");
  1746. end;
  1747. OnEnable:
  1748. hideoffnpc instance_npcname("Gerhard#ghinstance1");
  1749. end;
  1750. OnTalk1:
  1751. npctalk "Gerhard : Damn it! Run away! I can't withstand anymore!";
  1752. end;
  1753. OnTalk2:
  1754. npctalk "Gerhard : Commandant... Come on, you need to run away from here... Ugh.";
  1755. end;
  1756. OnTalk3:
  1757. npctalk "Gerhard : Even if you defile my body, I won't let you take my soul, Himmelmez!";
  1758. end;
  1759. OnEffect1:
  1760. specialeffect EF_BARRIER;
  1761. end;
  1762. OnEffect2:
  1763. specialeffect EF_CHAINCOMBO;
  1764. end;
  1765. OnEffect3:
  1766. specialeffect EF_MAPPILLAR2;
  1767. end;
  1768. OnEffect4:
  1769. specialeffect EF_MAPPILLAR;
  1770. end;
  1771. OnEffect5:
  1772. specialeffect EF_LORD;
  1773. end;
  1774. }
  1775. 2@gl_k,0,0,0 script #controlGH5 -1,{
  1776. OnInstanceInit:
  1777. OnDisable:
  1778. disablenpc instance_npcname("#controlGH5");
  1779. end;
  1780. OnEnable:
  1781. enablenpc instance_npcname("#controlGH5");
  1782. initnpctimer;
  1783. end;
  1784. OnTimer3000:
  1785. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk1";
  1786. end;
  1787. OnTimer6000:
  1788. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnTalk1";
  1789. end;
  1790. OnTimer9000:
  1791. donpcevent instance_npcname("Heinrich#ghinstance6")+"::OnTalk1";
  1792. end;
  1793. OnTimer12000:
  1794. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnTalk2";
  1795. end;
  1796. OnTimer15000:
  1797. donpcevent instance_npcname("Heinrich#ghinstance6")+"::OnTalk2";
  1798. end;
  1799. OnTimer18000:
  1800. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk2";
  1801. end;
  1802. OnTimer21000:
  1803. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk3";
  1804. end;
  1805. OnTimer24000:
  1806. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnTalk3";
  1807. end;
  1808. OnTimer27000:
  1809. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk4";
  1810. end;
  1811. OnTimer30000:
  1812. donpcevent instance_npcname("Heinrich#ghinstance6")+"::OnTalk3";
  1813. end;
  1814. OnTimer33000:
  1815. donpcevent instance_npcname("Heinrich#ghinstance6")+"::OnTalk4";
  1816. end;
  1817. OnTimer36000:
  1818. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk5";
  1819. end;
  1820. OnTimer39000:
  1821. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk6";
  1822. end;
  1823. OnTimer42000:
  1824. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk7";
  1825. end;
  1826. OnTimer45000:
  1827. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk8";
  1828. end;
  1829. OnTimer48000:
  1830. donpcevent instance_npcname("Heinrich#ghinstance6")+"::OnTalk5";
  1831. end;
  1832. OnTimer51000:
  1833. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk9";
  1834. end;
  1835. OnTimer54000:
  1836. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk10";
  1837. end;
  1838. OnTimer57000:
  1839. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnTalk11";
  1840. end;
  1841. OnTimer60000:
  1842. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnEffect1";
  1843. end;
  1844. OnTimer63000:
  1845. donpcevent instance_npcname("Himmelmez#ghinstance4")+"::OnDisable";
  1846. end;
  1847. OnTimer65000:
  1848. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnEffect3";
  1849. end;
  1850. OnTimer66000:
  1851. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnEffect2";
  1852. end;
  1853. OnTimer67000:
  1854. donpcevent instance_npcname("Heinrich#ghinstance6")+"::OnTalk6";
  1855. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnEffect4";
  1856. end;
  1857. OnTimer70000:
  1858. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnEffect3";
  1859. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnEffect4";
  1860. donpcevent instance_npcname("Heinrich#ghinstance6")+"::OnDisable";
  1861. donpcevent instance_npcname("Varmunt#ghinstance5")+"::OnTalk1";
  1862. end;
  1863. OnTimer73000:
  1864. mapannounce instance_mapname("2@gl_k"), "Leads toward Gerhard's body.",bc_map,"0xFFFFFF";
  1865. end;
  1866. OnTimer76000:
  1867. donpcevent instance_npcname("Gerhard#ghinstance1")+"::OnEffect5";
  1868. end;
  1869. OnTimer80000:
  1870. donpcevent instance_npcname("#ghmemorialmob10")+"::OnEnable";
  1871. stopnpctimer;
  1872. donpcevent instance_npcname("#controlGH5")+"::OnDisable";
  1873. end;
  1874. }
  1875. 2@gl_k,158,241,1 script Hugin#ghinstance1 755,{
  1876. if (checkquest(12319,HUNTING) == 2) {
  1877. mes "[Hugin]";
  1878. mes "Well, you are pretty ridiculous. Beginners shouldn't get the loot Amdarias drops.";
  1879. erasequest 12319;
  1880. setquest 12321;
  1881. setquest 12322;
  1882. erasequest 12321;
  1883. if (gh_instance) {
  1884. getitem 6607,1; //Temporal_Crystal
  1885. getitem 6608,1; //Coagulated_Spell
  1886. } else {
  1887. getitem 6607,5; //Temporal_Crystal
  1888. getitem 6608,5; //Coagulated_Spell
  1889. gh_instance = 1;
  1890. }
  1891. next;
  1892. mes "[Hugin]";
  1893. mes "Varmunt, I have arbitrarily stopped time. And soon, the time gap will be gone.";
  1894. specialeffect2 EF_BLIND,AREA;
  1895. soundeffect "_blind.wav",0;
  1896. next;
  1897. mes "[Hugin]";
  1898. mes "Poor time travelers.";
  1899. mes "They will endlessly retry to prevent the tragedy that affected this city.";
  1900. next;
  1901. mes "[Hugin]";
  1902. mes "But the beggining of these time travels won't redempt your actions.";
  1903. mes "This will continue forever...";
  1904. next;
  1905. mes "[Hugin]";
  1906. mes "Now, I may erase your memory again. Perhaps you will have a different fate next time.";
  1907. specialeffect2 EF_FREEZE;
  1908. close2;
  1909. getmapxy(.@map$,.@x,.@y,UNITTYPE_PC);
  1910. warp .@map$,.@x,.@y;
  1911. end;
  1912. } else {
  1913. mes "[Hugin]";
  1914. mes "The gap of time is almost distorted.";
  1915. mes "Done. There you go. Come!";
  1916. mes "I have to get out!";
  1917. next;
  1918. select("Bah... Soon after you...");
  1919. mes "[Hugin]";
  1920. mes "Soon after me? Anyways...";
  1921. mes "Doesn't matter, soon the gap of time will be closed, I have to get out of here.";
  1922. next;
  1923. switch(select("Since I'm here, let's explore more.:Please, send me out.")) {
  1924. case 1:
  1925. mes "[Hugin]";
  1926. mes "..................";
  1927. close;
  1928. case 2:
  1929. close2;
  1930. warp "glast_01",204,270;
  1931. end;
  1932. }
  1933. }
  1934. OnInstanceInit:
  1935. OnDisable:
  1936. disablenpc instance_npcname("Hugin#ghinstance1");
  1937. end;
  1938. OnEnable:
  1939. enablenpc instance_npcname("Hugin#ghinstance1");
  1940. end;
  1941. }