OrcsMemory.txt 53 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400
  1. //===== rAthena Script =======================================
  2. //= Orc's Memory
  3. //===== By: ==================================================
  4. //= L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.5
  7. //===== Compatible With: =====================================
  8. //= rAthena SVN
  9. //===== Description: =========================================
  10. //= [Aegis Conversion]
  11. //= Relive the memory of an orc.
  12. //===== Additional Comments: =================================
  13. //= 1.0 First version. [L0ne_W0lf]
  14. //= 1.1 First round of bugfixes. (bugreport:3928) [L0ne_W0lf]
  15. //= Fixed some npcs calling wrong events.
  16. //= Fixed Depraved Orc Spirit spawn point
  17. //= Fixed an NPC that was never being enabled.
  18. //= 1.1a Second round from bugreport. (bugreport:3928) [L0ne_W0lf]
  19. //= Fixed first warp never enabling, issue not seen
  20. //= because of a local source mod.
  21. //= Corrected the IDs for the Vengeful Orc Spirit and
  22. //= Shaman Cargalache, copy/paste fail.
  23. //= Changed spawn point for dungeon according to spawn
  24. //= point on iRO.
  25. //= 1.2 More bugfixes, mostly typos. :O (bugreport:3944) [L0ne_W0lf]
  26. //= Fixed some varaibles (types/values) as well.
  27. //= 1.3 Disabled an exploit related to the orc hero spawn. [L0ne_W0lf]
  28. //= Corrected the variable type for party leader name.
  29. //= 1.4 Fixed donpcevent calling non-existant npc. (bugreport:4039) [L0ne_W0lf]
  30. //= 1.5 Fixed a checkquest condition never setting quest. [L0ne_W0lf]
  31. //============================================================
  32. // Entrance
  33. gef_fild10,242,202,0 script Dimensional Gorge Piece 406,{
  34. if ((BaseLevel < 30) || (BaseLevel > 80)) {
  35. mes "Only users between Levels ^ff000030 ~ 80^000000 can enter this Dungeon.";
  36. close;
  37. }
  38. set .@party_id,getcharid(1);
  39. set .@ins_mas,getpartyleader(.@party_id,2);
  40. set .@p_name$,getpartyname(.@party_id);
  41. set .@p_reader$,strcharinfo(0);
  42. set .@md_name$,"Orc's Memory";
  43. getpartymember(.@party_id);
  44. set .@partymembercount,$@partymembercount;
  45. copyarray .@partymembername$[0],$@partymembername$[0],.@partymembercount;
  46. set .@orctime,checkquest(12059,PLAYTIME);
  47. if ((.@party_id > 0) && ((.@partymembercount > 1))) {
  48. if (.@orctime == -1) {
  49. if (.@ins_mas == getcharid(0)) {
  50. mes "Party status confirmed. Would you like to book entrance to the " + .@md_name$ + "?";
  51. next;
  52. switch(select("Reserve the " + .@md_name$ + ":Enter the Dungeon:Cancel")) {
  53. case 1:
  54. set .@instance, instance_create(.@md_name$, .@party_id);
  55. if (.@instance < 0) {
  56. mes "Party Name: "+.@p_name$+"";
  57. mes "Party Leader: "+.@p_reader$+"";
  58. mes "^0000ff"+.@md_name$+" ^000000 - Reservation Failed.";
  59. close;
  60. }
  61. else {
  62. mes "^0000ff"+.@md_name$+"^000000- Attempting to book an entrance";
  63. mes "After making a reservation, you have to select 'Enter the Dungeon' from the menu if you wish to enter the " + .@md_name$ + ".";
  64. for( set .@i, 1; .@i <= 2; set .@i, .@i + 1 ) {
  65. if( instance_attachmap(.@i + "@orcs", .@instance) == "" )
  66. break;
  67. }
  68. if( .@i < 2 ) {
  69. instance_destroy(.@instance);
  70. close;
  71. }
  72. instance_attach(.@instance);
  73. instance_set_timeout 7200,300,.@instance;
  74. instance_init(.@instance);
  75. // First Floor
  76. donpcevent instance_npcname("#Resurrect Monsters1", instance_id())+"::OnInstanceInit";
  77. donpcevent instance_npcname("#Resurrect Monsters2", instance_id())+"::OnInstanceInit";
  78. donpcevent instance_npcname("#Resurrect Monsters3", instance_id())+"::OnInstanceInit";
  79. donpcevent instance_npcname("#Resurrect Monsters4", instance_id())+"::OnInstanceInit";
  80. donpcevent instance_npcname("B1 Area 1", instance_id())+"::OnInstanceInit";
  81. donpcevent instance_npcname("B1 Area 2", instance_id())+"::OnInstanceInit";
  82. donpcevent instance_npcname("B1 Area 3", instance_id())+"::OnInstanceInit";
  83. donpcevent instance_npcname("B1 Area 4", instance_id())+"::OnInstanceInit";
  84. disablenpc instance_npcname("Kurger#1-2", instance_id());
  85. // Second Floor
  86. donpcevent instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnInstanceInit";
  87. donpcevent instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnInstanceInit";
  88. donpcevent instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnInstanceInit";
  89. donpcevent instance_npcname("Torch#1-1", instance_id())+"::OnInstanceInit";
  90. donpcevent instance_npcname("Torch#1-2", instance_id())+"::OnInstanceInit";
  91. donpcevent instance_npcname("Torch#1-3", instance_id())+"::OnInstanceInit";
  92. donpcevent instance_npcname("Torch#1-4", instance_id())+"::OnInstanceInit";
  93. donpcevent instance_npcname("Torch#2-2", instance_id())+"::OnInstanceInit";
  94. donpcevent instance_npcname("Torch#2-3", instance_id())+"::OnInstanceInit";
  95. donpcevent instance_npcname("Torch#2-4", instance_id())+"::OnInstanceInit";
  96. donpcevent instance_npcname("Torch#3-2", instance_id())+"::OnInstanceInit";
  97. donpcevent instance_npcname("Torch#3-3", instance_id())+"::OnInstanceInit";
  98. donpcevent instance_npcname("Torch#3-4", instance_id())+"::OnInstanceInit";
  99. donpcevent instance_npcname("#Warp2-1", instance_id())+"::OnInstanceInit";
  100. donpcevent instance_npcname("#Warp2-2", instance_id())+"::OnInstanceInit";
  101. donpcevent instance_npcname("#Warp2-3", instance_id())+"::OnInstanceInit";
  102. donpcevent instance_npcname("#Boss Control", instance_id())+"::OnInstanceInit";
  103. donpcevent instance_npcname("#Warp Outside Orc Dun", instance_id())+"::OnInstanceInit";
  104. donpcevent instance_npcname("Kruger#", instance_id())+"::OnInstanceInit";
  105. disablenpc instance_npcname("Kruger#2-2", instance_id());
  106. close;
  107. }
  108. case 2:
  109. //if (move_md == 3) {
  110. // mes "An unidentified error has occured.";
  111. // close;
  112. //}
  113. //else if (move_md == 2) {
  114. if (has_instance("1@orcs") == "") {
  115. mes "Memorial Dungeon " + .@md_name$ + " does not exist.";
  116. mes "The party leader has not reserved entrance to the dungeon yet.";
  117. next;
  118. mes "Once the reservation is complete, the dungeon will be generated.";
  119. mes "If your dungeon has been destroyed you must wait 7 days before re-entering.";
  120. close;
  121. }
  122. //else if (move_md == 0) {
  123. else if ((has_instance("1@orcs") != "") && (.@partymembercount < 2)) {
  124. mes "Only party members may enter the Memorial Dungeon.";
  125. close;
  126. }
  127. //else if (move_md == 0) {
  128. else {
  129. mapannounce "gef_fild10", .@p_reader$ + " of the party, " + .@p_name$ + " is entering the " + .@md_name$ + ".",bc_map,"0x00ff99";
  130. warp "1@orcs",179,15;
  131. if (checkquest(12059)== -1) setquest 12059;
  132. close;
  133. }
  134. case 3:
  135. close;
  136. }
  137. }
  138. else {
  139. switch(select(.@md_name$ + " Enter the Memorial Dungeon:Cancel")) {
  140. case 1:
  141. //if (move_md == 3) {
  142. // mes "An unidentified error has occured.";
  143. // close;
  144. //}
  145. //else if (move_md == 2) {
  146. if (has_instance("1@orcs") == "") {
  147. mes "The Memorial Dungeon " + .@md_name$ + " does not exist.";
  148. mes "The Memorial Dungeon has been destroyed by the Party Leader or because of the time limit. Please try again after 2 hours.";
  149. close;
  150. }
  151. //else if (move_md == 1) {
  152. else if ((has_instance("1@orcs") != "") && (.@partymembercount < 2)) {
  153. mes "Only party members may enter the Memorial Dungeon.";
  154. close;
  155. }
  156. //else if (move_md == 0) {
  157. else {
  158. mapannounce "gef_fild10", .@p_name$ + " Party's member " + .@p_reader$ + " has entered the " + .@md_name$ + ".",bc_map,"0x00ff99";
  159. if (checkquest(12059)== -1) setquest 12059;
  160. warp "1@orcs",179,15;
  161. close;
  162. }
  163. case 2:
  164. close;
  165. }
  166. }
  167. }
  168. else if ((.@orctime == 0) || (.@orctime == 1)) {
  169. mes "You can enter the Dungeon if it has been generated.";
  170. next;
  171. switch(select("Enter the Dungeon " + .@md_name$ + ":Cancel")) {
  172. case 1:
  173. //if (move_md == 3) {
  174. // mes "An unidentified error has occured.";
  175. // close;
  176. //}
  177. //else if (move_md == 2) {
  178. if (has_instance("1@orcs") == "") {
  179. mes "The Memorial Dungeon " + .@md_name$ + " does not exist.";
  180. mes "The Memorial Dungeon has been destroyed by the Party Leader or because of the time limit. Please try again after 2 hours.";
  181. close;
  182. }
  183. //else if (move_md == 1) {
  184. else if ((has_instance("1@orcs") != "") && (.@partymembercount < 2)) {
  185. mes "Only party members may enter the Memorial Dungeon.";
  186. close;
  187. }
  188. //else if (move_md == 0) {
  189. else {
  190. mapannounce "gef_fild10", .@p_name$ + " Party's member " + .@p_reader$ + " has entered the " + .@md_name$ + ".",bc_map,"0x00ff99";
  191. if (checkquest(12059)== -1) setquest 12059;
  192. warp "1@orcs",179,15;
  193. close;
  194. }
  195. case 2:
  196. close;
  197. }
  198. }
  199. else if (.@orctime == 2) {
  200. mes "^0000ffAll records and after-effects related to the Orc's Memory Dungeon are deleted. You can now regenerate or re-enter the dungeon.^000000";
  201. erasequest 12059;
  202. close;
  203. }
  204. }
  205. else {
  206. mes "In order to generate a dungeon you must be the Party Leader and have at least 2 members in the party.";
  207. close;
  208. }
  209. }
  210. gef_fild10,238,202,6 script Mad Scientist#orc 865,{
  211. if (BaseLevel < 50) {
  212. mes "The Mad Scientist doesn't seem to notice you and keeps mumbling to himself...";
  213. close;
  214. }
  215. if (mad > 1) {
  216. set mad,1;
  217. }
  218. else if (mad < 1) {
  219. mes "[Mad Scientist]";
  220. mes "Haha, no Orcs are coming near me!";
  221. mes "The power of the Dimensional Gorge is undefeatable!!";
  222. next;
  223. switch(select("Orcs don't attack you?:You wish!")) {
  224. case 1:
  225. mes "[Mad Scientist]";
  226. mes "Yeah, yeah.. I know it's hard to belive. I don't blame ya.";
  227. mes "I used to study the Dimensional Gorge discovered near Morroc.";
  228. mes "According to my research, the minerals found there have enormous power inside them!";
  229. next;
  230. break;
  231. case 2:
  232. mes "[Mad Scientist]";
  233. mes "You are a pretty distrustful person, huh?";
  234. next;
  235. break;
  236. }
  237. switch(select("Oh? Like what, travel to alternate space?")) {
  238. case 1:
  239. mes "[Mad Scientist]";
  240. mes "Very smart! I have actually just done that! See that statue over there? It's not your normal Monolith!";
  241. next;
  242. mes "[Mad Scientist]";
  243. mes "I have created it with a combination of our technology and the unlimited energy I discovered from the Gorge! Want to try it?";
  244. next;
  245. break;
  246. }
  247. switch(select("... Um, that doesn't sound legal?")) {
  248. case 1:
  249. mes "[Mad Scientist]";
  250. mes "Hey, since when did something so interesting have to be legal!? How about it! You can talk to the Orcs! C'mon!";
  251. next;
  252. mes "[Mad Scientist]";
  253. mes "Chances are they'll just give you lots of instructions once they see you, so just wing it! They're always saying the same thing, to the point where I memorized them!";
  254. next;
  255. break;
  256. }
  257. switch(select("Alright... What do I do?:Umm, maybe not.")) {
  258. case 1:
  259. mes "[Mad Scientist]";
  260. mes "Very good! Just sit in the hands of this statue! And try to act natural when you're in there!";
  261. set mad,1;
  262. break;
  263. case 2:
  264. mes "[Mad Scientist]";
  265. mes "Oh fine, be that way!";
  266. break;
  267. }
  268. }
  269. else {
  270. mes "[Mad Scientist]";
  271. mes "Hmm? Put your hand on that Monemus Statue if you want to experience traveling through dimensions!";
  272. }
  273. close;
  274. }
  275. // Orc's Memory Floor 1
  276. 1@orcs,180,30,0 script #Resurrect Monsters1 844,{
  277. end;
  278. OnInstanceInit:
  279. disablenpc instance_npcname("#Resurrect Monsters1", instance_id());
  280. end;
  281. OnDisable:
  282. killmonster "1@orcs",instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  283. end;
  284. OnEnable:
  285. enablenpc instance_npcname("#Resurrect Monsters1", instance_id());
  286. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  287. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  288. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  289. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  290. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  291. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  292. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  293. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  294. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  295. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  296. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  297. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  298. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  299. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  300. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  301. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  302. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  303. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  304. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  305. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  306. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  307. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  308. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  309. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  310. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  311. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  312. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  313. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  314. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  315. monster "1@orcs",0,0,"Orc Warrior",1023,1,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  316. end;
  317. OnMyMobDead:
  318. set .@callnum,30;
  319. set .@c_mob_num,mobcount("1@orcs",instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead");
  320. set .@mob_dead_num,.@callnum - .@c_mob_num;
  321. if (.@mob_dead_num > 0) {
  322. set .@mob_ran,rand(1,30);
  323. if (.@mob_ran > 29) {
  324. monster "1@orcs",0,0,"Orc Warrior",1023,.@mob_dead_num,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  325. }
  326. else if ((.@mob_ran > 28) && (.@mob_ran < 30)) {
  327. monster "1@orcs",0,0,"High Orc",1213,.@mob_dead_num,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  328. if (rand(1,10) == 9) {
  329. instance_announce 0, "High Orc: We need more defenses! Get more people here!",bc_map,"0xff4444";
  330. }
  331. }
  332. else if ((.@mob_ran > 26) && (.@mob_ran < 29)) {
  333. areamonster "1@orcs",41,91,51,81,"High Orc",1213,.@mob_dead_num,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  334. if (rand(1,10) == 9) {
  335. instance_announce 0, "Where are the High Orcs!? Get them to stop the enemies!",bc_map,"0xff4444";
  336. }
  337. }
  338. else {
  339. areamonster "1@orcs",17,187,27,177,"High Orc",1213,.@mob_dead_num,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  340. if (rand(1,5) == 3) {
  341. instance_announce 0, "Caution: The army's starting to concentrate at Zone No. 4.",bc_map,"0x77ff77";
  342. }
  343. if (rand(1,100) == 50) {
  344. initnpctimer;
  345. }
  346. }
  347. }
  348. end;
  349. OnTimer10:
  350. instance_announce 0, "Shouts of the Chief Orc of Safeguards: Looks like this will take longer than expected. Summon the Stalactic Golems!",bc_map,"0xff4444";
  351. end;
  352. OnTimer4010:
  353. instance_announce 0, "Stalactic Golems are digging out of the deep underground.",bc_map,"0x77ff77";
  354. areamonster "1@orcs",17,187,27,177,"Stalactic Golem",1278,20,instance_npcname("#Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  355. stopnpctimer;
  356. end;
  357. }
  358. 1@orcs,180,30,0 script #Resurrect Monsters2 844,{
  359. end;
  360. OnInstanceInit:
  361. disablenpc instance_npcname("#Resurrect Monsters2", instance_id());
  362. end;
  363. OnDisable:
  364. killmonster "1@orcs",instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
  365. end;
  366. OnEnable:
  367. enablenpc instance_npcname("#Resurrect Monsters2", instance_id());
  368. monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
  369. monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
  370. monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
  371. monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
  372. monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
  373. monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
  374. monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
  375. monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
  376. monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
  377. monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
  378. monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
  379. monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
  380. monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
  381. monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
  382. monster "1@orcs",0,0,"Trained Wolf",1106,1,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
  383. end;
  384. OnMyMobDead:
  385. set .@callnum,15;
  386. set .@c_mob_num,mobcount("1@orcs",instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead");
  387. set .@mob_dead_num,.@callnum - .@c_mob_num;
  388. if (rand(1,30) > 15) {
  389. if (.@mob_dead_num > 0) {
  390. monster "1@orcs",0,0,"Trained Wolf",1106,.@mob_dead_num,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
  391. }
  392. }
  393. else {
  394. if (.@mob_dead_num > 0) {
  395. areamonster "1@orcs",17,187,27,177,"Trained Wolf",1106,.@mob_dead_num,instance_npcname("#Resurrect Monsters2", instance_id())+"::OnMyMobDead";
  396. }
  397. }
  398. end;
  399. }
  400. 1@orcs,180,30,0 script #Resurrect Monsters3 844,{
  401. end;
  402. OnInstanceInit:
  403. disablenpc instance_npcname("#Resurrect Monsters3", instance_id());
  404. end;
  405. OnDisable:
  406. killmonster "1@orcs",instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  407. end;
  408. OnEnable:
  409. enablenpc instance_npcname("#Resurrect Monsters3", instance_id());
  410. monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  411. monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  412. monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  413. monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  414. monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  415. monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  416. monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  417. monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  418. monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  419. monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  420. monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  421. monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  422. monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  423. monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  424. monster "1@orcs",0,0,"Orc Archer",1189,1,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  425. end;
  426. OnMyMobDead:
  427. set .@callnum,15;
  428. set .@c_mob_num,mobcount("1@orcs",instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead");
  429. set .@mob_dead_num,.@callnum - .@c_mob_num;
  430. set .@mob_ran,rand(1,30);
  431. if (.@mob_ran > 29) {
  432. if (.@mob_dead_num > 0) {
  433. monster "1@orcs",0,0,"Orc Archer",1189,.@mob_dead_num,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  434. }
  435. }
  436. else if ((.@mob_ran > 26) && (.@mob_ran < 30)) {
  437. if (.@mob_dead_num > 0) {
  438. areamonster "1@orcs",43,155,47,159,"Orc Archer",1189,.@mob_dead_num,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  439. if (rand(1,3) == 3) {
  440. instance_announce 0, "High Orc: Attack them from behind! Cut off their support!",bc_map,"0xff4444";
  441. }
  442. }
  443. }
  444. else {
  445. if (.@mob_dead_num > 0) {
  446. areamonster "1@orcs",17,187,27,177,"Orc Archer",1189,.@mob_dead_num,instance_npcname("#Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  447. }
  448. }
  449. end;
  450. }
  451. 1@orcs,180,30,0 script #Resurrect Monsters4 844,{
  452. end;
  453. OnInstanceInit:
  454. enablenpc instance_npcname("#Resurrect Monsters4", instance_id());
  455. areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  456. areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  457. areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  458. areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  459. areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  460. areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  461. areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  462. areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  463. areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  464. areamonster "1@orcs",98,35,178,115,"Anopheles",1627,1,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  465. end;
  466. OnMyMobDead:
  467. set .@callnum,10;
  468. set .@c_mob_num,mobcount("1@orcs",instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead");
  469. set .@mob_dead_num,.@callnum - .@c_mob_num;
  470. if (.@mob_dead_num > 0) {
  471. monster "1@orcs",0,0,"Anopheles",1627,.@mob_dead_num,instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  472. }
  473. end;
  474. OnDisable:
  475. killmonster "1@orcs",instance_npcname("#Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  476. end;
  477. }
  478. 1@orcs,180,29,4 script Kurger#1-1 433,{
  479. donpcevent instance_npcname("Kurger#1-2", instance_id())+"::OnEnable";
  480. end;
  481. }
  482. 1@orcs,180,29,4 script Kurger#1-2 433,{
  483. end;
  484. OnEnable:
  485. disablenpc instance_npcname("Kurger#1-1", instance_id());
  486. enablenpc instance_npcname("Kurger#1-2", instance_id());
  487. initnpctimer;
  488. end;
  489. OnTimer10:
  490. instance_announce 0, "Kruger: Damn... What took you so long!! I don't have all day!!",bc_map,"0xffff00";
  491. end;
  492. OnTimer5710:
  493. instance_announce 0, "Kruger: My plan was to let our comrades open the gate, but it's all ruined since I got busted by the Orc Shaman.",bc_map,"0xffff00";
  494. end;
  495. OnTimer14610:
  496. instance_announce 0, "Shouts of the Chief Orc of Safeguards: I smell a rat.. Send some patrols to the entrance!!",bc_map,"0xff4444";
  497. end;
  498. OnTimer20210:
  499. instance_announce 0, "Kruger: Darn it.. They'll be here any minute. Ok. Listen to me now.",bc_map,"0xffff00";
  500. end;
  501. OnTimer24910:
  502. instance_announce 0, "Kruger: The Orc Shaman has sealed the 1st basement by dividing it into 4 zones. Each zone has one Enchanted Orc who has the power to unseal the next zone.",bc_map,"0xffff00";
  503. end;
  504. OnTimer34310:
  505. instance_announce 0, "Kruger: Find those Enchanted Orcs and get rid of them to move to the next zone.",bc_map,"0xffff00";
  506. end;
  507. OnTimer39710:
  508. instance_announce 0, "Kruger: Try to avoid encountering Orcs other then the Enchanted ones. Everytime you kill a normal Orc, High Orcs will gather at the last path to the 2nd floor.",bc_map,"0xffff00";
  509. end;
  510. OnTimer49210:
  511. instance_announce 0, "Kruger: In the worst case, the path to the 2nd floor could be completely blocked. For your own sake, you should be as sneaky as possible.",bc_map,"0xffff00";
  512. end;
  513. OnTimer56310:
  514. instance_announce 0, "Mission: Sneak in and get rid of the 'Enchanted Orcs'. Avoiding battles with other Orcs is the best way of getting into the 2nd floor.",bc_map,"0x44ffff";
  515. donpcevent instance_npcname("#Resurrect Monsters1", instance_id())+"::OnEnable";
  516. donpcevent instance_npcname("#Resurrect Monsters2", instance_id())+"::OnEnable";
  517. donpcevent instance_npcname("#Resurrect Monsters3", instance_id())+"::OnEnable";
  518. disablenpc instance_npcname("Kurger#1-2", instance_id());
  519. end;
  520. OnTimer60000:
  521. areamonster "1@orcs",137,83,143,89,"Enchanted Orc",1023,1,instance_npcname("B1 Area Mobs", instance_id())+"::OnMyMobDead";
  522. stopnpctimer;
  523. end;
  524. }
  525. 1@orcs,168,125,0 script B1 Area 1 45,3,3,{
  526. OnInstanceInit:
  527. disablenpc instance_npcname("B1 Area 1", instance_id());
  528. end;
  529. OnEnable:
  530. enablenpc instance_npcname("B1 Area 1", instance_id());
  531. areamonster "1@orcs",103,105,109,111,"Enchanted Orc",1023,1,instance_npcname("B1 Area Mobs", instance_id())+"::OnMyMobDead1";
  532. end;
  533. OnTouch:
  534. warp "1@orcs",168,130;
  535. end;
  536. OnContinue:
  537. donpcevent instance_npcname("B1 Area 2", instance_id())+"::OnEnable";
  538. initnpctimer;
  539. end;
  540. OnTimer10300:
  541. instance_announce 0, "Kruger's Whisper: The Orcs here used to be my companions. They just lost their will ever since the Orc Shaman started to control them with her magic.",bc_map,"0xff4499";
  542. end;
  543. OnTimer18700:
  544. instance_announce 0, "Kruger's Whisper: There's nothing we can do but to defeat the Orc Shaman if we want to save the remaining tribes.",bc_map,"0xff4499";
  545. stopnpctimer;
  546. end;
  547. }
  548. 1@orcs,89,94,0 script B1 Area 2 45,3,3,{
  549. OnInstanceInit:
  550. disablenpc instance_npcname("B1 Area 2", instance_id());
  551. end;
  552. OnEnable:
  553. enablenpc instance_npcname("B1 Area 2", instance_id());
  554. areamonster "1@orcs",32,40,38,46,"Enchanted Orc",1023,1,instance_npcname("B1 Area Mobs", instance_id())+"::OnMyMobDead2";
  555. end;
  556. OnTouch:
  557. warp "1@orcs",85,85;
  558. end;
  559. OnContinue:
  560. donpcevent instance_npcname("B1 Area 3", instance_id())+"::OnEnable";
  561. initnpctimer;
  562. end;
  563. OnTimer30300:
  564. instance_announce 0, "Kruger's Whisper: I saw the bodies of our tribe. It seems that the Orc Shaman used those Orcs for her rituals.",bc_map,"0xff4499";
  565. end;
  566. OnTimer37600:
  567. instance_announce 0, "Kruger's Whisper: ... It all has to do with me. I am responsible for this evil.",bc_map,"0xff4499";
  568. stopnpctimer;
  569. end;
  570. }
  571. 1@orcs,38,105,0 script B1 Area 3 45,3,3,{
  572. OnInstanceInit:
  573. disablenpc instance_npcname("B1 Area 3", instance_id());
  574. end;
  575. OnEnable:
  576. enablenpc instance_npcname("B1 Area 3", instance_id());
  577. areamonster "1@orcs",19,177,25,183,"Enchanted Orc",1023,1,instance_npcname("B1 Area Mobs", instance_id())+"::OnMyMobDead3";
  578. end;
  579. OnTouch:
  580. warp "1@orcs",38,110;
  581. end;
  582. OnContinue:
  583. donpcevent instance_npcname("B1 Area 4", instance_id())+"::OnEnable";
  584. initnpctimer;
  585. end;
  586. OnTimer30300:
  587. instance_announce 0, "Please, hang in there!",bc_map,"0xff4499";
  588. end;
  589. OnTimer32700:
  590. instance_announce 0, "We'll get some rest when we get to the 2nd basement after passing through here.",bc_map,"0xff4499";
  591. stopnpctimer;
  592. end;
  593. }
  594. 1@orcs,21,189,0 script B1 Area 4 45,3,3,{
  595. OnInstanceInit:
  596. disablenpc instance_npcname("B1 Area 4", instance_id());
  597. end;
  598. OnEnable:
  599. enablenpc instance_npcname("B1 Area 4", instance_id());
  600. donpcevent instance_npcname("#Resurrect Monsters1", instance_id())+"::OnDisable";
  601. donpcevent instance_npcname("#Resurrect Monsters2", instance_id())+"::OnDisable";
  602. donpcevent instance_npcname("#Resurrect Monsters3", instance_id())+"::OnDisable";
  603. donpcevent instance_npcname("#Resurrect Monsters4", instance_id())+"::OnDisable";
  604. end;
  605. OnTouch:
  606. warp "2@orcs",32,171;
  607. end;
  608. }
  609. 1@orcs,1,1,0 script B1 Area Mobs -1,{
  610. end;
  611. OnMyMobDead:
  612. donpcevent instance_npcname("B1 Area 1", instance_id())+"::OnEnable";
  613. end;
  614. OnMyMobDead1:
  615. donpcevent instance_npcname("B1 Area 1", instance_id())+"::OnContinue";
  616. end;
  617. OnMyMobDead2:
  618. donpcevent instance_npcname("B1 Area 2", instance_id())+"::OnContinue";
  619. end;
  620. OnMyMobDead3:
  621. donpcevent instance_npcname("B1 Area 3", instance_id())+"::OnContinue";
  622. end;
  623. }
  624. // Orc's Memory Floor 2
  625. 2@orcs,36,171,0 script #2Resurrect Monsters1 844,{
  626. end;
  627. OnInstanceInit:
  628. disablenpc instance_npcname("#2Resurrect Monsters1", instance_id());
  629. end;
  630. OnEnable:
  631. enablenpc instance_npcname("#2Resurrect Monsters1", instance_id());
  632. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  633. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  634. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  635. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  636. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  637. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  638. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  639. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  640. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  641. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  642. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  643. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  644. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  645. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  646. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  647. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  648. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  649. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  650. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  651. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  652. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  653. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  654. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  655. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  656. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  657. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  658. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  659. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  660. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  661. monster "2@orcs",0,0,"Vengeful Orc",1152,1,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  662. end;
  663. OnDisable:
  664. killmonster "2@orcs",instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  665. end;
  666. OnMyMobDead:
  667. set .@callnum,30;
  668. set .@c_mob_num,mobcount("2@orcs",instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead");
  669. set .@mob_dead_num,.@callnum - .@c_mob_num;
  670. if (.@mob_dead_num > 0) {
  671. set .@mob_ran,rand(1,30);
  672. if (.@mob_ran > 29) {
  673. monster "2@orcs",0,0,"Vengeful Orc",1152,.@mob_dead_num,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  674. }
  675. else if ((.@mob_ran > 28) && (.@mob_ran < 30)) {
  676. monster "2@orcs",0,0,"High Orc",1213,.@mob_dead_num,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  677. set mob_ran2,rand(1,10);
  678. }
  679. else if ((.@mob_ran > 26) && (.@mob_ran < 29)) {
  680. areamonster "2@orcs",157,112,167,122,"High Orc",1213,.@mob_dead_num,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  681. if (rand(1,10) == 9) {
  682. instance_announce 0, "Warning: High Orcs are gathering near area 3.",bc_map,"0xff4444";
  683. }
  684. }
  685. else {
  686. areamonster "2@orcs",173,13,183,23,"High Orc",1213,.@mob_dead_num,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  687. if (rand(1,5) == 3) {
  688. instance_announce 0, "Caution: The Forces have started to concentrate at the Shaman's Altar.",bc_map,"0x77ff77";
  689. }
  690. if (rand(1,70) == 50) {
  691. initnpctimer;
  692. }
  693. }
  694. }
  695. end;
  696. OnTimer10:
  697. instance_announce 0, "Voice from somewhere: Foolish... Do you really think the altar would fall like that?",bc_map,"0xff4444";
  698. end;
  699. OnTimer4010:
  700. instance_announce 0, "[ Wraiths were summoned by an unknown power ]",bc_map,"0x77ff77";
  701. areamonster "2@orcs",167,25,177,35,"Wraith",1475,30,instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnMyMobDead";
  702. stopnpctimer;
  703. end;
  704. }
  705. 2@orcs,36,171,0 script #2Resurrect Monsters3 844,{
  706. end;
  707. OnInstanceInit:
  708. disablenpc instance_npcname("#2Resurrect Monsters3", instance_id());
  709. end;
  710. OnEnable:
  711. enablenpc instance_npcname("#2Resurrect Monsters3", instance_id());
  712. monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  713. monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  714. monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  715. monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  716. monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  717. monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  718. monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  719. monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  720. monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  721. monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  722. monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  723. monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  724. monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  725. monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  726. monster "2@orcs",0,0,"Orc Zombie",1153,1,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  727. end;
  728. OnMyMobDead:
  729. set .@callnum,15;
  730. set .@c_mob_num,mobcount("2@orcs",instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead");
  731. set .@mob_dead_num,.@callnum - .@c_mob_num;
  732. set .@mob_ran,rand(1,30);
  733. if (.@mob_ran > 29) {
  734. if (.@mob_dead_num > 0) {
  735. monster "2@orcs",0,0,"Orc Archer",1189,.@mob_dead_num,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  736. }
  737. }
  738. else if ((.@mob_ran > 6) && (.@mob_ran < 30)) {
  739. if (.@mob_dead_num > 0) {
  740. areamonster "2@orcs",168,10,184,26,"Orc Archer",1189,.@mob_dead_num,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  741. if (rand(1,15) == 3) {
  742. instance_announce 0, "Warning: Orc Archer teams are gathering near the altar.",bc_map,"0xff4444";
  743. }
  744. }
  745. }
  746. else {
  747. if (.@mob_dead_num > 0) {
  748. areamonster "2@orcs",168,21,184,21,"Orc Archer",1189,.@mob_dead_num,instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  749. }
  750. }
  751. end;
  752. OnDisable:
  753. killmonster "2@orcs",instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnMyMobDead";
  754. end;
  755. }
  756. 2@orcs,180,30,0 script #2Resurrect Monsters4 844,{
  757. end;
  758. OnInstanceInit:
  759. enablenpc instance_npcname("#2Resurrect Monsters4", instance_id());
  760. monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  761. monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  762. monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  763. monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  764. monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  765. monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  766. monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  767. monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  768. monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  769. monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  770. end;
  771. OnMyMobDead:
  772. set .@callnum,10;
  773. set .@c_mob_num,mobcount("2@orcs",instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead");
  774. set .@mob_dead_num,.@callnum - .@c_mob_num;
  775. if (.@mob_dead_num > 0) {
  776. monster "2@orcs",0,0,"Anopheles",1627,1,instance_npcname("#2Resurrect Monsters4", instance_id())+"::OnMyMobDead";
  777. }
  778. end;
  779. }
  780. 2@orcs,35,169,4 script Kruger#2-1 433,{
  781. donpcevent instance_npcname("Kruger#2-2", instance_id())+"::OnEnable";
  782. end;
  783. }
  784. 2@orcs,35,169,4 script Kruger#2-2 433,{
  785. end;
  786. OnEnable:
  787. disablenpc instance_npcname("Kruger#2-1", instance_id());
  788. enablenpc instance_npcname("Kruger#2-2", instance_id());
  789. initnpctimer;
  790. end;
  791. OnTimer10:
  792. instance_announce 0, "Kruger's Whisper: I'll tell you how to get to the Shaman's altar.",bc_map,"0xffff00";
  793. end;
  794. OnTimer3510:
  795. instance_announce 0, "Kruger's Whisper: Do you see the braziers that light the path? Unseal the next zone by strengthening their flames.",bc_map,"0xffff00";
  796. end;
  797. OnTimer10710:
  798. instance_announce 0, "Kruger's Whisper: Of course those monsters won't let you touch the braziers that easily.",bc_map,"0xffff00";
  799. end;
  800. OnTimer16310:
  801. instance_announce 0, "Kruger's Whisper: But still, try keep the battles not too noticable so the Shaman won't guard the altar with her army squad.",bc_map,"0xffff00";
  802. end;
  803. OnTimer21910:
  804. instance_announce 0, "Kruger's Whisper: Only the Party Leader can strengthen the flames, so protect your leader.",bc_map,"0xffff00";
  805. end;
  806. OnTimer23910:
  807. instance_announce 0, "Mission: Unseal the zone by lighting the braziers. They can only be lit in a certain order, so be careful.",bc_map,"0x4444ff";
  808. donpcevent instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnEnable";
  809. donpcevent instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnEnable";
  810. donpcevent instance_npcname("Torch#1-1", instance_id())+"::OnEnable";
  811. disablenpc instance_npcname("Kruger#2-2", instance_id());
  812. end;
  813. }
  814. 2@orcs,26,164,0 script Torch#1-1 844,{
  815. if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
  816. progressbar "ffff00",5;
  817. donpcevent instance_npcname("Torch#1-2", instance_id())+"::OnEnable";
  818. initnpctimer;
  819. disablenpc instance_npcname("Torch#1-1", instance_id());
  820. end;
  821. OnInstanceInit:
  822. disablenpc instance_npcname("Torch#1-1", instance_id());
  823. end;
  824. OnEnable:
  825. enablenpc instance_npcname("Torch#1-1", instance_id());
  826. end;
  827. OnTimer100:
  828. specialeffect EF_FIREPILLAR;
  829. end;
  830. OnTimer2000:
  831. specialeffect EF_FIREPILLARBOMB;
  832. stopnpctimer;
  833. end;
  834. }
  835. 2@orcs,55,155,0 script Torch#1-2 844,{
  836. if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
  837. progressbar "ffff00",5;
  838. donpcevent instance_npcname("Torch#1-3", instance_id())+"::OnEnable";
  839. initnpctimer;
  840. disablenpc instance_npcname("Torch#1-2", instance_id());
  841. end;
  842. OnInstanceInit:
  843. disablenpc instance_npcname("Torch#1-2", instance_id());
  844. end;
  845. OnEnable:
  846. enablenpc instance_npcname("Torch#1-2", instance_id());
  847. end;
  848. OnTimer100:
  849. specialeffect EF_FIREPILLAR;
  850. end;
  851. OnTimer2000:
  852. specialeffect EF_FIREPILLARBOMB;
  853. stopnpctimer;
  854. end;
  855. }
  856. 2@orcs,108,146,0 script Torch#1-3 844,{
  857. if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
  858. progressbar "ffff00",5;
  859. donpcevent instance_npcname("Torch#1-4", instance_id())+"::OnEnable";
  860. initnpctimer;
  861. disablenpc instance_npcname("Torch#1-3", instance_id());
  862. end;
  863. OnInstanceInit:
  864. disablenpc instance_npcname("Torch#1-3", instance_id());
  865. end;
  866. OnEnable:
  867. enablenpc instance_npcname("Torch#1-3", instance_id());
  868. end;
  869. OnTimer100:
  870. specialeffect EF_FIREPILLAR;
  871. end;
  872. OnTimer2000:
  873. specialeffect EF_FIREPILLARBOMB;
  874. stopnpctimer;
  875. end;
  876. }
  877. 2@orcs,98,171,0 script Torch#1-4 844,{
  878. if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
  879. progressbar "ffff00",5;
  880. donpcevent instance_npcname("#Warp2-1", instance_id())+"::OnEnable";
  881. initnpctimer;
  882. disablenpc instance_npcname("Torch#1-4", instance_id());
  883. end;
  884. OnInstanceInit:
  885. disablenpc instance_npcname("Torch#1-4", instance_id());
  886. end;
  887. OnEnable:
  888. enablenpc instance_npcname("Torch#1-4", instance_id());
  889. end;
  890. OnTimer100:
  891. specialeffect EF_FIREPILLAR;
  892. end;
  893. OnTimer2000:
  894. specialeffect EF_FIREPILLARBOMB;
  895. stopnpctimer;
  896. end;
  897. }
  898. 2@orcs,48,100,0 script #Warp2-1 45,3,3,{
  899. OnInstanceInit:
  900. disablenpc instance_npcname("#Warp2-1", instance_id());
  901. end;
  902. OnEnable:
  903. monster "2@orcs",109,156,"Safeguard Chief",1981,1,instance_npcname("#Mobs Control", instance_id())+"::OnMyMobDead1";
  904. instance_announce 0, "The Chief Orc of Safeguards: Oh!! Looks like I have company. Defeat me if you can!!",bc_map,"0xff8888";
  905. end;
  906. OnContinue:
  907. enablenpc instance_npcname("#Warp2-1", instance_id());
  908. initnpctimer;
  909. end;
  910. OnTimer10000:
  911. areamonster "2@orcs",28,158,40,170,"Safeguard Chief",1981,1,instance_npcname("#Mobs Control", instance_id())+"::OnMyMobDead1";
  912. stopnpctimer;
  913. end;
  914. OnTouch:
  915. warp "2@orcs",47,93;
  916. end;
  917. }
  918. 2@orcs,35,92,0 script Torch#2-1 844,{
  919. if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
  920. progressbar "ffff00",5;
  921. donpcevent instance_npcname("Torch#2-2", instance_id())+"::OnEnable";
  922. initnpctimer;
  923. disablenpc instance_npcname("Torch#2-1", instance_id());
  924. end;
  925. OnTimer100:
  926. specialeffect EF_FIREPILLAR;
  927. end;
  928. OnTimer2000:
  929. specialeffect EF_FIREPILLARBOMB;
  930. stopnpctimer;
  931. end;
  932. }
  933. 2@orcs,32,70,0 script Torch#2-2 844,{
  934. if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
  935. progressbar "ffff00",5;
  936. donpcevent instance_npcname("Torch#2-3", instance_id())+"::OnEnable";
  937. initnpctimer;
  938. disablenpc instance_npcname("Torch#2-2", instance_id());
  939. end;
  940. OnInstanceInit:
  941. disablenpc instance_npcname("Torch#2-2", instance_id());
  942. end;
  943. OnEnable:
  944. enablenpc instance_npcname("Torch#2-2", instance_id());
  945. end;
  946. OnTimer100:
  947. specialeffect EF_FIREPILLAR;
  948. end;
  949. OnTimer2000:
  950. specialeffect EF_FIREPILLARBOMB;
  951. stopnpctimer;
  952. end;
  953. }
  954. 2@orcs,70,31,0 script Torch#2-3 844,{
  955. if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
  956. progressbar "ffff00",5;
  957. donpcevent instance_npcname("Torch#2-4", instance_id())+"::OnEnable";
  958. initnpctimer;
  959. disablenpc instance_npcname("Torch#2-3", instance_id());
  960. end;
  961. OnInstanceInit:
  962. disablenpc instance_npcname("Torch#2-3", instance_id());
  963. end;
  964. OnEnable:
  965. enablenpc instance_npcname("Torch#2-3", instance_id());
  966. end;
  967. OnTimer100:
  968. specialeffect EF_FIREPILLAR;
  969. end;
  970. OnTimer2000:
  971. specialeffect EF_FIREPILLARBOMB;
  972. stopnpctimer;
  973. end;
  974. }
  975. 2@orcs,84,51,0 script Torch#2-4 844,{
  976. if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
  977. progressbar "ffff00",5;
  978. donpcevent instance_npcname("#Warp2-2", instance_id())+"::OnEnable";
  979. initnpctimer;
  980. disablenpc instance_npcname("Torch#2-4", instance_id());
  981. end;
  982. OnInstanceInit:
  983. disablenpc instance_npcname("Torch#2-4", instance_id());
  984. end;
  985. OnEnable:
  986. enablenpc instance_npcname("Torch#2-4", instance_id());
  987. end;
  988. OnTimer100:
  989. specialeffect EF_FIREPILLAR;
  990. end;
  991. OnTimer2000:
  992. specialeffect EF_FIREPILLARBOMB;
  993. stopnpctimer;
  994. end;
  995. }
  996. 2@orcs,101,55,0 script #Warp2-2 45,3,3,{
  997. OnInstanceInit:
  998. disablenpc instance_npcname("#Warp2-2", instance_id());
  999. end;
  1000. OnEnable:
  1001. monster "2@orcs",67,64,"Orc Sniper",1982,1,instance_npcname("#Mobs Control", instance_id())+"::OnMyMobDead2";
  1002. instance_announce 0, "Orc Sniper: Hah! Pretty impressive that you made it this far, but your foolish little trip ends here...",bc_map,"0xff8888";
  1003. end;
  1004. OnContinue:
  1005. enablenpc instance_npcname("#Warp2-2", instance_id());
  1006. initnpctimer;
  1007. end;
  1008. OnTimer10000:
  1009. areamonster "2@orcs",40,91,52,103,"Orc Sniper",1982,1,instance_npcname("#Mobs Control", instance_id())+"::OnMyMobDead2";
  1010. stopnpctimer;
  1011. end;
  1012. OnTouch:
  1013. warp "2@orcs",107,55;
  1014. end;
  1015. }
  1016. 2@orcs,142,145,0 script Torch#3-1 844,{
  1017. if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
  1018. progressbar "ffff00",5;
  1019. donpcevent instance_npcname("Torch#3-2", instance_id())+"::OnEnable";
  1020. initnpctimer;
  1021. disablenpc instance_npcname("Torch#3-1", instance_id());
  1022. end;
  1023. OnTimer100:
  1024. specialeffect EF_FIREPILLAR;
  1025. end;
  1026. OnTimer2000:
  1027. specialeffect EF_FIREPILLARBOMB;
  1028. stopnpctimer;
  1029. end;
  1030. }
  1031. 2@orcs,162,134,0 script Torch#3-2 844,{
  1032. if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
  1033. progressbar "ffff00",5;
  1034. donpcevent instance_npcname("Torch#3-3", instance_id())+"::OnEnable";
  1035. initnpctimer;
  1036. disablenpc instance_npcname("Torch#3-2", instance_id());
  1037. end;
  1038. OnInstanceInit:
  1039. disablenpc instance_npcname("Torch#3-2", instance_id());
  1040. end;
  1041. OnEnable:
  1042. enablenpc instance_npcname("Torch#3-2", instance_id());
  1043. end;
  1044. OnTimer100:
  1045. specialeffect EF_FIREPILLAR;
  1046. end;
  1047. OnTimer2000:
  1048. specialeffect EF_FIREPILLARBOMB;
  1049. stopnpctimer;
  1050. end;
  1051. }
  1052. 2@orcs,144,117,0 script Torch#3-3 844,{
  1053. if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
  1054. progressbar "ffff00",5;
  1055. donpcevent instance_npcname("Torch#3-4", instance_id())+"::OnEnable";
  1056. initnpctimer;
  1057. disablenpc instance_npcname("Torch#3-3", instance_id());
  1058. end;
  1059. OnInstanceInit:
  1060. disablenpc instance_npcname("Torch#3-3", instance_id());
  1061. end;
  1062. OnEnable:
  1063. enablenpc instance_npcname("Torch#3-3", instance_id());
  1064. end;
  1065. OnTimer100:
  1066. specialeffect EF_FIREPILLAR;
  1067. end;
  1068. OnTimer2000:
  1069. specialeffect EF_FIREPILLARBOMB;
  1070. stopnpctimer;
  1071. end;
  1072. }
  1073. 2@orcs,136,98,0 script Torch#3-4 844,{
  1074. if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
  1075. progressbar "ffff00",5;
  1076. donpcevent instance_npcname("#Warp2-3", instance_id())+"::OnEnable";
  1077. initnpctimer;
  1078. disablenpc instance_npcname("Torch#3-4", instance_id());
  1079. end;
  1080. OnInstanceInit:
  1081. disablenpc instance_npcname("Torch#3-4", instance_id());
  1082. end;
  1083. OnEnable:
  1084. enablenpc instance_npcname("Torch#3-4", instance_id());
  1085. end;
  1086. OnTimer100:
  1087. specialeffect EF_FIREPILLAR;
  1088. end;
  1089. OnTimer2000:
  1090. specialeffect EF_FIREPILLARBOMB;
  1091. stopnpctimer;
  1092. end;
  1093. }
  1094. 2@orcs,167,104,0 script #Warp2-3 45,3,3,{
  1095. OnInstanceInit:
  1096. disablenpc instance_npcname("#Warp2-3", instance_id());
  1097. end;
  1098. OnEnable:
  1099. monster "2@orcs",152,147,"Depraved Orc Spirit",1983,1,instance_npcname("#Mobs Control", instance_id())+"::OnMyMobDead3";
  1100. instance_announce 0, "Depraved Orc Spirit: I smell flesh! Hungry! Wanna try some human meat!!",bc_map,"0xff8888";
  1101. end;
  1102. OnContinue:
  1103. //areamonster "2@orcs",117,61,129,73,"Depraved Orc Spirit",1983,1,instance_npcname("#Mobs Control", instance_id())+"::OnMyMobDead3";
  1104. donpcevent instance_npcname("#Boss Control", instance_id())+"::OnEnable";
  1105. enablenpc instance_npcname("#Warp2-3", instance_id());
  1106. initnpctimer;
  1107. end;
  1108. OnTimer10:
  1109. instance_announce 0, "Shaman Cargalache: Hahaha!! So, you finally made it here. The assassin you sent was just terrible. That stupid Orc is getting cold under my feet.",bc_map,"0xffff00";
  1110. end;
  1111. OnTimer6810:
  1112. instance_announce 0, "Shaman Cargalache: My loyal slave, go get those intruders!",bc_map,"0xffff00";
  1113. end;
  1114. OnTimer10310:
  1115. instance_announce 0, "Depraved Orc Hero: Whatever you say, my lord.",bc_map,"0xff7777";
  1116. end;
  1117. OnTimer13110:
  1118. instance_announce 0, "Caution: You have been discovered by Shaman Cargalache. Kruger's plan to assassinate the Shaman has failed. You must defeat Cargalache and find traces of Kruger.",bc_map,"0x8888ff";
  1119. stopnpctimer;
  1120. end;
  1121. OnTouch:
  1122. warp "2@orcs",167,95;
  1123. end;
  1124. }
  1125. 2@orcs,36,171,0 script #Boss Control 844,{
  1126. end;
  1127. OnInstanceInit:
  1128. disablenpc instance_npcname("#Boss Control", instance_id());
  1129. end;
  1130. OnEnable:
  1131. monster "2@orcs",185,8,"Shaman Cargalache",1984,1,instance_npcname("#Boss Control", instance_id())+"::OnMyMobDead";
  1132. monster "2@orcs",179,15,"Depraved Orc Hero",1087,1;
  1133. enablenpc instance_npcname("#Boss Control", instance_id());
  1134. end;
  1135. OnMyMobDead:
  1136. donpcevent instance_npcname("Kruger#", instance_id())+"::OnEnable";
  1137. set .@mob_ran,rand(1,5);
  1138. if (.@mob_ran == 1) {
  1139. instance_announce 0, "Shaman Cargalache: How... How could this be... How could someone like you...!!",bc_map,"0xffff00";
  1140. }
  1141. else if (.@mob_ran == 2) {
  1142. instance_announce 0, "Shaman Cargalache: How is it that I've been overpowered by mere humans!",bc_map,"0xffff00";
  1143. }
  1144. else if (.@mob_ran == 3) {
  1145. instance_announce 0, "Shaman Cargalache: This... This can't be the end...",bc_map,"0xffff00";
  1146. }
  1147. else if (.@mob_ran == 4) {
  1148. instance_announce 0, "Shaman Cargalache: I... Can't die... Yet...!",bc_map,"0xffff00";
  1149. }
  1150. else {
  1151. instance_announce 0, "Shaman Cargalache: Defeated by these fools... It can't be happening...!",bc_map,"0xffff00";
  1152. }
  1153. donpcevent instance_npcname("#2Resurrect Monsters1", instance_id())+"::OnDisable";
  1154. donpcevent instance_npcname("#2Resurrect Monsters3", instance_id())+"::OnDisable";
  1155. donpcevent instance_npcname("#Warp Outside Orc Dun", instance_id())+"::OnEnable";
  1156. end;
  1157. }
  1158. 2@orcs,182,8,0 script #Warp Outside Orc Dun 45,3,3,{
  1159. OnInstanceInit:
  1160. disablenpc instance_npcname("#Warp Outside Orc Dun", instance_id());
  1161. end;
  1162. OnEnable:
  1163. enablenpc instance_npcname("#Warp Outside Orc Dun", instance_id());
  1164. end;
  1165. OnTouch:
  1166. warp "gef_fild10",240,197;
  1167. end;
  1168. }
  1169. 2@orcs,172,13,0 script Kruger# 434,{
  1170. if (yong_odun < 2) {
  1171. mes "[Kruger]";
  1172. mes "*Coughing*";
  1173. mes ""+strcharinfo(0)+", it's you...";
  1174. next;
  1175. mes "["+strcharinfo(0)+"] ";
  1176. mes "Don't move! You are wounded!";
  1177. next;
  1178. mes "[Kruger]";
  1179. mes "It's... all right.. I'm dying...";
  1180. mes "....";
  1181. mes "The Shaman? What about the Shaman?";
  1182. next;
  1183. mes "["+strcharinfo(0)+"] ";
  1184. mes "The Shaman's dead now. Who was that Shaman really?";
  1185. next;
  1186. mes "Kruger seemed to be relieved as he hears of the death of the Shaman, but you notice the bitter expression on his face.";
  1187. next;
  1188. mes "[Kruger]";
  1189. mes "I.. I just couldn't kill my own daughter...";
  1190. mes "Thank you, I'm sure she's finally free from the nightmare that used to choke her soul.";
  1191. next;
  1192. mes "Kruger was about to say something more, but he breathed his last breath before he could...";
  1193. set yong_odun,2;
  1194. close;
  1195. }
  1196. else {
  1197. mes "You can see the dead body of Kruger, peacefully lying on the ground.";
  1198. close;
  1199. }
  1200. OnInstanceInit:
  1201. disablenpc instance_npcname("Kruger#", instance_id());
  1202. end;
  1203. OnEnable:
  1204. enablenpc instance_npcname("Kruger#", instance_id());
  1205. end;
  1206. }
  1207. 2@orcs,36,171,0 script #Mobs Control 844,{
  1208. end;
  1209. OnMyMobDead1:
  1210. donpcevent instance_npcname("#Warp2-1", instance_id())+"::OnContinue";
  1211. end;
  1212. OnMyMobDead2:
  1213. donpcevent instance_npcname("#Warp2-2", instance_id())+"::OnContinue";
  1214. end;
  1215. OnMyMobDead3:
  1216. donpcevent instance_npcname("#Warp2-3", instance_id())+"::OnContinue";
  1217. end;
  1218. }