OrcsMemory.txt 53 KB

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