OrcsMemory.txt 53 KB

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