rogue_skills.txt 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507
  1. //===== eAthena Script =======================================
  2. //= Rogue Skills Quests
  3. //===== By: ==================================================
  4. //= Lupus, Reddozen
  5. //===== Current Version: =====================================
  6. //= 1.6
  7. //===== Compatible With: =====================================
  8. //= eAthena SVN
  9. //===== Description: =========================================
  10. //= [Aegis Conversion]
  11. //= Quests for skills: CLose Confine
  12. //===== Additional Comments: =================================
  13. //= 1.4 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf]
  14. //= 1.5 Fixed bad NPC header data to comply with rev. 11603. [L0ne_W0lf]
  15. //= 1.6 Bug fixes as pointed out by Brainstorm in bugreport:351 [L0ne_W0lf]
  16. //============================================================
  17. in_rogue,359,177,0 script #killershow01 -1,{
  18. OnInit:
  19. disablenpc "#killershow01";
  20. end;
  21. OnEnable:
  22. enablenpc "#killershow01";
  23. initnpctimer;
  24. end;
  25. OnDisable:
  26. stopnpctimer;
  27. disablenpc "#killershow01";
  28. end;
  29. OnTimer1000:
  30. enablenpc "Killer#Rogueguild";
  31. end;
  32. OnTimer120000:
  33. disablenpc "Killer#Rogueguild";
  34. end;
  35. OnTimer150000:
  36. disablenpc "Killer#Rogueguild";
  37. disablenpc "#killershow01";
  38. end;
  39. }
  40. in_rogue,357,174,2 script Killer#Rogueguild 705,1,1,{
  41. OnInit:
  42. disablenpc "Killer#Rogueguild";
  43. end;
  44. OnTouch:
  45. if (ROG_SK == 10) {
  46. specialeffect2 174; // EF_CHANGECOLD
  47. specialeffect 175; //"Killer#Rogueguild" EF_CHANGEWIND
  48. specialeffect2 348; // EF_LIGHTSPHERE
  49. set ROG_SK,11;
  50. mes "[Killer]";
  51. mes "Wh-what have";
  52. mes "you done to me?!";
  53. mes "C-can't... move!";
  54. next;
  55. mes "[Haijara Greg]";
  56. mes "Oh? I didn't expect";
  57. mes "you to be able to cast";
  58. mes "Close Confine so soon!";
  59. mes "Amazing, just amazing!";
  60. mes "Now, this is a good chance";
  61. mes "for you to master the skill...";
  62. next;
  63. mes "[Haijara Greg]";
  64. mes "Now pay attention.";
  65. mes "I want you to practice";
  66. mes "predicting your opponent's";
  67. mes "movement intent on this killer.";
  68. mes "You should be able to see which way he plans to move by his aura.";
  69. next;
  70. mes "[Haijara Greg]";
  71. mes "If he plans to move to left,";
  72. mes "his aura will be white. If he";
  73. mes "moves to the right, it will be";
  74. mes "yellow. If he intends to go";
  75. mes "backward, it will be pale red.";
  76. next;
  77. while(1) {
  78. if (.@lim_1 == 10) {
  79. break;
  80. }
  81. else {
  82. set .@lim_1,.@lim_1 + 1;
  83. set .@move_1,rand(1,3);
  84. if (.@move_1 == 1) {
  85. specialeffect 174; //"Killer#Rogueguild" EF_CHANGECOLD
  86. if (select("Block him to the Left:Block him to the Right:Block his Retreat") == 1) {
  87. mes "^3355FFThe killer remains";
  88. mes "unable to move and looks";
  89. mes "incredibly confused! Right";
  90. mes "now, you're using the Close";
  91. mes "Confine skill perfectly!^000000";
  92. specialeffect 204; //"Killer#Rogueguild" EF_POTION1
  93. specialeffect2 210; // EF_POTION7
  94. next;
  95. }
  96. else {
  97. mes "^3355FFWait--!";
  98. mes "For some reason,";
  99. mes "you sense that's not";
  100. mes "the direction the killer";
  101. mes "is moving at this moment.";
  102. mes "You naturally correct yourself.^000000";
  103. next;
  104. }
  105. }
  106. else if (.@move_1 == 2) {
  107. specialeffect 175; //"Killer#Rogueguild" EF_CHANGEWIND
  108. if (select("Block him at the Left:Block him at the Right:Block him at the back") == 2) {
  109. mes "^3355FFThe killer remains";
  110. mes "unable to move and looks";
  111. mes "incredibly confused! Right";
  112. mes "now, you're using the Close";
  113. mes "Confine skill perfectly!^000000";
  114. specialeffect 204; //"Killer#Rogueguild" EF_POTION1
  115. specialeffect2 210; // EF_POTION7
  116. next;
  117. }
  118. else {
  119. mes "^3355FFWait--!";
  120. mes "For some reason,";
  121. mes "you sense that's not";
  122. mes "the direction the killer";
  123. mes "is moving at this moment.";
  124. mes "You naturally correct yourself.^000000";
  125. next;
  126. }
  127. }
  128. else if (.@move_1 == 3) {
  129. specialeffect 177; //"Killer#Rogueguild" EF_CHANGEEARTH
  130. if (select("Block him at the Left:Block him at the Right:Block him at the back") == 3) {
  131. mes "^3355FFThe killer remains";
  132. mes "unable to move and looks";
  133. mes "incredibly confused! Right";
  134. mes "now, you're using the Close";
  135. mes "Confine skill perfectly!^000000";
  136. specialeffect 204; //"Killer#Rogueguild" EF_POTION1
  137. specialeffect2 210; // EF_POTION7
  138. next;
  139. }
  140. else {
  141. mes "^3355FFWait--!";
  142. mes "For some reason,";
  143. mes "you sense that's not";
  144. mes "the direction the killer";
  145. mes "is moving at this moment.";
  146. mes "You naturally correct yourself.^000000";
  147. next;
  148. }
  149. }
  150. }
  151. }
  152. mes "^3355FFYou successfully";
  153. mes "retrieved the priceless";
  154. mes "skill book written by the";
  155. mes "legendary Chae Takbae.^000000";
  156. close2;
  157. disablenpc "Killer#Rogueguild";
  158. donpcevent "#killershow01::OnDisable";
  159. end;
  160. }
  161. else if (ROG_SK == 11) {
  162. mes "[Killer]";
  163. mes "Grrrrr...";
  164. mes "S-still...";
  165. mes "C-can't... Move!";
  166. close2;
  167. disablenpc "Killer#Rogueguild";
  168. donpcevent "#killershow01::OnDisable";
  169. end;
  170. }
  171. end;
  172. }
  173. in_rogue,355,179,0 script Haijara Greg#rogueguild 46,{
  174. if (BaseJob == Job_Rogue) {
  175. if (ROG_SK == 12 && Upper == 1) {
  176. mes "[Haijara Greg]";
  177. mes "Hm? Ah, amnesia as";
  178. mes "resulting from transcending,";
  179. mes "eh? Then I will teach you the";
  180. mes "Close Confine skill once again.";
  181. specialeffect2 348; // EF_LIGHTSPHERE
  182. skill 1005,1,0;
  183. set ROG_SK,13;
  184. close;
  185. }
  186. else if (ROG_SK == 13 && Upper == 1) {
  187. mes "[Haijara Greg]";
  188. mes "A Stalker, eh?";
  189. mes "Make sure that you";
  190. mes "use your abilities to";
  191. mes "malign foes that deserve";
  192. mes "to be stalked. Best of";
  193. mes "luck to you, adventurer.";
  194. close;
  195. }
  196. else {
  197. if (ROG_SK < 1) {
  198. mes "[Haijara Greg]";
  199. mes "H-how did you find this";
  200. mes "place? I thought this panic";
  201. mes "room was supposed to be";
  202. mes "impenetrable, even by Rogues!";
  203. next;
  204. mes "[Haijara Greg]";
  205. mes "This can't be good!";
  206. mes "It will only be a matter of";
  207. mes "time before they find me...";
  208. close;
  209. }
  210. else if (ROG_SK == 1) {
  211. mes "[Haijara Greg]";
  212. mes "Wh-who are you,";
  213. mes "and how did you get";
  214. mes "in here? Identify yourself!";
  215. next;
  216. if (select("I don't mean you any harm!:Give us what we want!") == 1) {
  217. mes "[Haijara Greg]";
  218. mes "No...?";
  219. mes "Then... Then";
  220. mes "why have you come?";
  221. mes "It is no accident that";
  222. mes "you have found me.";
  223. next;
  224. if (select("I came to help you.:Oh, actually, I wasn't looking for you.") == 1) {
  225. mes "[Haijara Greg]";
  226. mes "Hmm... Well, I suppose";
  227. if (Upper == 1)
  228. mes "I can trust a fellow Rogue";
  229. else
  230. mes "I can trust a fellow Stalker";
  231. mes "with my predictament. Honor";
  232. mes "among thieves and all that.";
  233. mes "Alright. Have you ever heard";
  234. mes "the legend of Chae Takbae?";
  235. next;
  236. if (select("No:Yes") == 1) {
  237. mes "[Haijara Greg]";
  238. mes "100 years ago, Chae Takbae";
  239. mes "was the very first person to";
  240. mes "transcend his limits. He was";
  241. mes "also the very person to choose";
  242. mes "a different path, rather than the job order he previously had.";
  243. next;
  244. mes "[Haijara Greg]";
  245. mes "He was originally a Monk,";
  246. mes "but after transcending, he";
  247. mes "somehow became a Stalker.";
  248. mes "Retaining his knowledge of";
  249. mes "the Monk's Root skill, he adapted^FFFFFF ^000000 it for the purposes of the Rogues.";
  250. next;
  251. mes "[Haijara Greg]";
  252. mes "Chae Takbae recorded the";
  253. mes "fundamentals for this new";
  254. mes "Rogue skill in a book that";
  255. mes "I was fortunate enough to";
  256. mes "obtain. But as soon as I got";
  257. mes "it, the blackmailing begain...";
  258. next;
  259. mes "[Haijara Greg]";
  260. mes "There are unscrupulous";
  261. mes "parties that will use any";
  262. mes "means to take the book away";
  263. mes "from me. I can understand, as";
  264. mes "my sons and I have learned new";
  265. mes "skills from Takbae's writings.";
  266. next;
  267. mes "[Haijara Greg]";
  268. mes "However, I am running";
  269. mes "out of time and those men";
  270. mes "will inevitably find me.";
  271. mes "Will you help me save";
  272. mes "myself and my sons?";
  273. next;
  274. if (select("Sure!:Sorry, but I'm busy.") == 1) {
  275. mes "[Haijara Greg]";
  276. mes "Oh, thank you so much!";
  277. mes "Listen, I can't risk being";
  278. mes "found, so would you take";
  279. mes "this letter to my youngest";
  280. mes "son, ^FF0000Louis Greg^000000? Hurry,";
  281. mes "there's not much time left!";
  282. set ROG_SK,2;
  283. close;
  284. }
  285. mes "[Haijara Greg]";
  286. mes "I... I see.";
  287. mes "But please realize";
  288. mes "that, if not you, who";
  289. mes "can I trust to help me?";
  290. close;
  291. }
  292. mes "[Haijara Greg]";
  293. mes "Then you would know the";
  294. mes "value of the skill book he has";
  295. mes "written that I now possess.";
  296. mes "However, I'm hounded by men";
  297. mes "who will do anything to get it.";
  298. mes "Would you please help me?";
  299. next;
  300. if (select("Sure!:Sorry, but I'm busy.") == 1) {
  301. mes "[Haijara Greg]";
  302. mes "Oh, thank you so much!";
  303. mes "Listen, I can't risk being";
  304. mes "found, so would you take";
  305. mes "this letter to my youngest";
  306. mes "son, ^FF0000Louis Greg^000000? Hurry,";
  307. mes "there's not much time left!";
  308. set ROG_SK,2;
  309. close;
  310. }
  311. mes "[Haijara Greg]";
  312. mes "I... I see.";
  313. mes "But please realize";
  314. mes "that, if not you, who";
  315. mes "can I trust to help me?";
  316. close;
  317. }
  318. mes "[Haijara Greg]";
  319. mes "Hm...?";
  320. mes "That seems unlikely, but";
  321. mes "I suppose I better give you";
  322. mes "the benefit of the doubt.";
  323. mes "Well then, I hope that you";
  324. mes "can find your way out of here.";
  325. close;
  326. }
  327. mes "[Haijara Greg]";
  328. mes "I see. So be it.";
  329. mes "I'll show you the skill";
  330. mes "that you covet so much...";
  331. mes "^FF0000Close Confine^000000!";
  332. specialeffect 174; //"Haijara Greg#rogueguild" EF_CHANGECOLD
  333. specialeffect2 175; // EF_CHANGEWIND
  334. next;
  335. mes "[Haijara Greg]";
  336. mes "Hmpf. Now you are";
  337. mes "helpless, allowing";
  338. mes "me to do this: ^FF0000Back Stab^000000!";
  339. specialeffect2 190; // EF_COMBOATTACK5
  340. percentheal -95,0;
  341. next;
  342. mes "[Haijara Greg]";
  343. mes "Now get out of here.";
  344. mes "Never show your greedy";
  345. mes "face in front of me again.";
  346. mes "And just be happy that";
  347. mes "I haven't killed you!";
  348. set ROG_SK,1;
  349. close;
  350. }
  351. else if (ROG_SK == 2) {
  352. mes "[Haijara Greg]";
  353. mes "We're running out of";
  354. mes "time... Please bring this";
  355. mes "letter to my youngest son,";
  356. mes "^FF0000Louis^000000, as soon as you can!";
  357. mes "You can find him in the Rogue";
  358. mes "Guild near ^FF0000Hollgrehenn Junior^000000.";
  359. close;
  360. }
  361. else if (ROG_SK == 3) {
  362. mes "[Haijara Greg]";
  363. mes "Louis sent you to find";
  364. mes "^FF0000Thor^000000? He's in the Rogue";
  365. mes "Guild near ^FF0000Hermanthorn Jr.^000000,";
  366. mes "isn't he? I'm sorry that you";
  367. mes "have to visit my sons one by";
  368. mes "one... I know it's impractical.";
  369. close;
  370. }
  371. else if (ROG_SK == 4) {
  372. mes "[Haijara Greg]";
  373. mes "Ah, looking for ^FF0000Jay^000000, eh?";
  374. mes "He's near ^FF0000Antonio Jr.^000000 here";
  375. mes "in the Rogue Guild. Or at";
  376. mes "least, he's usually there.";
  377. close;
  378. }
  379. else if (ROG_SK == 5) {
  380. mes "[Haijara Greg]";
  381. mes "Oh, you're back!";
  382. mes "And you've brought";
  383. mes "a letter from Jay.";
  384. mes "Good, good, let me";
  385. mes "read what he has to say...";
  386. set ROG_SK,6;
  387. next;
  388. mes "[Haijara Greg]";
  389. mes "Ah, great news! He's";
  390. mes "contacted the Rogue Guild";
  391. mes "to request extra protection";
  392. mes "and to alert their guard. I can";
  393. mes "finally relax just a little now. No one messes with Rogues.";
  394. next;
  395. mes "[Haijara Greg]";
  396. mes "Thank you very much for";
  397. mes "your help. I would be in";
  398. mes "hiding forever if it weren't";
  399. mes "for you. In return, let me";
  400. mes "offer you the chance to learn";
  401. mes "Chae Takbae's secret skill.";
  402. next;
  403. mes "[Haijara Greg]";
  404. mes "Please speak to ^FF0000Thor^000000";
  405. mes "and tell him that I've";
  406. mes "permitted you to learn";
  407. mes "the skill I have taught";
  408. mes "all of my sons. He'll";
  409. mes "comply, I'm sure of it.";
  410. close;
  411. }
  412. else if (ROG_SK == 6) {
  413. mes "[Haijara Greg]";
  414. mes "Please ask Thor to teach";
  415. mes "you Chae Takbae's secret";
  416. mes "Rogue skill. Understand that";
  417. mes "I can't teach you this skill";
  418. mes "with the equipment here in";
  419. mes "this sloven panic room.";
  420. close;
  421. }
  422. else if (ROG_SK == 7) {
  423. mes "[Haijara Greg]";
  424. mes "Hm...? Aren't you";
  425. mes "supposed to be in the";
  426. mes "middle of training to learn";
  427. mes "that skill? Please speak to";
  428. mes "Thor and complete your training. ^FFFFFF ^000000";
  429. close;
  430. }
  431. else if (ROG_SK == 8) {
  432. mes "[Haijara Greg]";
  433. mes "You've completed the";
  434. mes "training? Ah, that's quite";
  435. mes "exceptional. However, you";
  436. mes "should speak to Thor first...";
  437. close;
  438. }
  439. else if (ROG_SK == 9) {
  440. mes "[Haijara Greg]";
  441. mes "Oh, you've come back!";
  442. mes "I hear that you've completed";
  443. mes "the training and are ready";
  444. mes "to hear about the applications";
  445. mes "for the Close Confine skill.";
  446. next;
  447. mes "[Haijara Greg]";
  448. mes "Wah! What th--?!";
  449. mes "Stop! P-please, stop";
  450. mes "that man! We can't let";
  451. mes "him steal that book!";
  452. specialeffect 190; //"Haijara Greg#rogueguild" EF_COMBOATTACK5
  453. donpcevent "Killer#Rogueguild::OnEnable";
  454. set ROG_SK,10;
  455. close;
  456. }
  457. else if (ROG_SK == 10) {
  458. mes "[Haijara Greg]";
  459. mes "That man just stole the";
  460. mes "Close Confine skill book!";
  461. mes "Please! Don't let him get";
  462. mes "away! That book is priceless!";
  463. donpcevent "#killershow01::OnEnable";
  464. close;
  465. }
  466. else if (ROG_SK == 11) {
  467. donpcevent "Killer#Rogueguild::OnDisable";
  468. donpcevent "#killershow01::OnDisable";
  469. mes "^3355FFYou returned the";
  470. mes "skill book written by";
  471. mes "Chae Takbae to Haijara.^000000";
  472. next;
  473. mes "[Haijara Greg]";
  474. mes "Thanks so much for your";
  475. mes "assistance. Now, if you'd";
  476. mes "like to know some detailed";
  477. mes "information about Close";
  478. mes "Confine, I can tell you more";
  479. mes "about the skill if you like.";
  480. next;
  481. if (select("Yes, please.:No, thanks.") == 1) {
  482. mes "[Haijara Greg]";
  483. mes "As you must know,";
  484. mes "Close Confine immobilizes";
  485. mes "an enemy that is very close";
  486. mes "to you. However, there are";
  487. mes "a few nuances regarding its";
  488. mes "use on players or monsters.";
  489. next;
  490. mes "[Haijara Greg]";
  491. mes "Now, Close Confine is";
  492. mes "similar to the Monk's skill,";
  493. mes "Root, but it only inhibits the";
  494. mes "enemy's movement, not";
  495. mes "its attack capabilities.";
  496. next;
  497. mes "[Haijara Greg]";
  498. mes "With the exception of";
  499. mes "Back Stab, which we can";
  500. mes "only use once during Close";
  501. mes "Confine's duration, we can";
  502. mes "use any skill during the";
  503. mes "Close Confine status.";
  504. next;
  505. mes "[Haijara Greg]";
  506. mes "Enemies affected by";
  507. mes "Close Confine can escape";
  508. mes "by using Fly Wing, Butterfly";
  509. mes "Wings, or the Teleport or";
  510. mes "Hiding skills. However, only";
  511. mes "Hiding is active during WoE.";
  512. next;
  513. mes "[Haijara Greg]";
  514. mes "Therefore, Close Confine";
  515. mes "can be a very useful skill";
  516. mes "during Guild War sieges, given";
  517. mes "that the target doesn't use the";
  518. mes "the Hiding skill to get away.";
  519. next;
  520. mes "[Haijara Greg]";
  521. mes "With the exception of Boss";
  522. mes "monsters, Close Confine";
  523. mes "will immobilize monsters for";
  524. mes "10 seconds, giving Rogues";
  525. mes "new possibilities when";
  526. mes "hunting in a party.";
  527. next;
  528. mes "[Haijara Greg]";
  529. mes "Well, that's all I can tell";
  530. mes "you about Close Confine.";
  531. mes "I hope that you can learn";
  532. mes "more about this skill through";
  533. mes "practice, and that you become^FFFFFF ^000000 as great a legend as Chae Takbae.";
  534. set ROG_SK,12;
  535. skill 1005,1,0;
  536. specialeffect2 348; // EF_LIGHTSPHERE
  537. close;
  538. }
  539. mes "[Haijara Greg]";
  540. mes "All right then...";
  541. mes "I hope that you can";
  542. mes "learn more about Close";
  543. mes "Confine through diligent";
  544. mes "practice. Good luck, and";
  545. mes "thanks again for your help.";
  546. set ROG_SK,12;
  547. skill 1005,1,0;
  548. specialeffect2 348; // EF_LIGHTSPHERE
  549. close;
  550. }
  551. mes "[Haijara Greg]";
  552. mes "Thank you for helping";
  553. mes "me protect this priceless";
  554. mes "skill book. I hope that the";
  555. mes "next time we meet, we'll be";
  556. mes "comrades on the battlefield...";
  557. close;
  558. }
  559. }
  560. else {
  561. mes "[Haijara Greg]";
  562. mes "H-how did you find this";
  563. mes "place? I thought this panic";
  564. mes "room was supposed to be";
  565. mes "impenetrable, even by Rogues!";
  566. next;
  567. mes "[Haijara Greg]";
  568. mes "This can't be good!";
  569. mes "It will only be a matter of";
  570. mes "time before they find me...";
  571. next;
  572. mes "[Haijara Greg]";
  573. mes "Please...";
  574. mes "Find me a Stalker";
  575. mes "or a Rogue that I can";
  576. mes "trust and send him to";
  577. mes "help me! I don't have ";
  578. mes "much time left...";
  579. close;
  580. }
  581. }
  582. in_rogue,152,29,0 script Louis Greg#rogueguild 84,{
  583. if (BaseJob == Job_Rogue || Class == Job_Thief_High) {
  584. if (ROG_SK < 1) {
  585. mes "[Louis Greg]";
  586. mes "My father just...";
  587. mes "He just vanished!";
  588. mes "He was teaching me and";
  589. mes "my brothers a new skill,";
  590. mes "but lately he began acting";
  591. mes "paranoid for some reason...";
  592. next;
  593. mes "[Louis Greg]";
  594. mes "Maybe he went into hiding?";
  595. mes "I know there's a hidden panic";
  596. mes "room in the Rogue Guild, but";
  597. mes "even I don't know where to find";
  598. mes "it. I hope everything's okay...";
  599. set ROG_SK,1;
  600. close;
  601. }
  602. else if (ROG_SK == 1) {
  603. mes "[Louis Greg]";
  604. mes "Father did warn that";
  605. mes "people might come after us";
  606. mes "if they're learned about the";
  607. mes "new skill we were learning.";
  608. mes "Maybe he went into hiding in";
  609. mes "the Rogue Guild's panic room...";
  610. close;
  611. }
  612. else if (ROG_SK == 2) {
  613. mes "[Louis Greg]";
  614. mes "What's this...?";
  615. mes "A letter from my";
  616. mes "father? Oh, he must";
  617. mes "be alright! Quick, let";
  618. mes "me read it right away!";
  619. set ROG_SK,3;
  620. next;
  621. mes "[Louis Greg]";
  622. mes "Oh no, he may be safe for";
  623. mes "now, but father is being hunted";
  624. mes "by some dangerous people? My";
  625. mes "brother Thor will want to know";
  626. mes "about this. Let me write him";
  627. mes "a letter really quickly...";
  628. next;
  629. mes "[Louis Greg]";
  630. mes "I know that I'm in no";
  631. mes "position to ask any favors,";
  632. mes "but I guess my father must";
  633. mes "trust you. Please, would you";
  634. mes "take my letter and deliver it";
  635. mes "to my older brother, Thor?";
  636. next;
  637. mes "[Louis Greg]";
  638. mes "You can find Thor";
  639. mes "next to Hermanthorn Jr.";
  640. mes "inside the Rogue Guild.";
  641. mes "I'd really appreciate it if";
  642. mes "you could help my family.";
  643. close;
  644. }
  645. else if (ROG_SK == 3) {
  646. mes "[Louis Greg]";
  647. mes "My elder brother, ^FF0000Thor^000000,";
  648. mes "must know about this right";
  649. mes "away! Please bring him this";
  650. mes "letter for me. He should be";
  651. mes "near ^FF0000Hermanthorn Jr.^000000 here";
  652. mes "inside the Rogue Guild.";
  653. close;
  654. }
  655. else if (ROG_SK == 4) {
  656. mes "[Louis Greg]";
  657. mes "You're looking for my";
  658. mes "brother, Jay? He's usually";
  659. mes "hanging out here in the";
  660. mes "Rogue Guild with Antonio Jr.";
  661. close;
  662. }
  663. else if (ROG_SK == 5) {
  664. mes "[Louis Greg]";
  665. mes "If you need to speak";
  666. mes "to my father, he's still";
  667. mes "probably in the hidden panic";
  668. mes "room inside the Rogue Guild.";
  669. mes "I still don't know where that";
  670. mes "place could possibly be...";
  671. close;
  672. }
  673. else if (ROG_SK == 6) {
  674. mes "[Louis Greg]";
  675. mes "You want to learn the";
  676. mes "secret Rogue skill? Oh,";
  677. mes "you should probably talk";
  678. mes "to ^FF0000Thor^000000 about that. I...";
  679. mes "I'm really bad at explaining";
  680. mes "things to people. Really bad.";
  681. close;
  682. }
  683. else if (ROG_SK == 7) {
  684. mes "[Louis Greg]";
  685. mes "Hm? You're in the middle";
  686. mes "of learning the secret Rogue";
  687. mes "skill, aren't you? Ooh, then";
  688. mes "you're not supposed to be here";
  689. mes "just yet. Please go back and";
  690. mes "talk to ^FF0000Thor^000000 again, okay?";
  691. close;
  692. }
  693. else if (ROG_SK == 8) {
  694. mes "[Louis Greg]";
  695. mes "Oh, oh!";
  696. mes "You're done with";
  697. mes "the training? Ah,";
  698. mes "then you need to";
  699. mes "talk to Thor again!";
  700. close;
  701. }
  702. else if (ROG_SK == 9) {
  703. mes "[Louis Greg]";
  704. mes "You wanted to learn";
  705. mes "more about Close Confine?";
  706. mes "Ugh, then you better speak";
  707. mes "to my father. I just learned";
  708. mes "that skill myself, you know.";
  709. close;
  710. }
  711. else if (ROG_SK == 11) {
  712. mes "[Louis Greg]";
  713. mes "I just heard from my";
  714. mes "brothers that Chae Takbae";
  715. mes "developed Close Confine";
  716. mes "as a way to brutally beat his";
  717. mes "enemies, keeping them from";
  718. mes "running away. Is that true?";
  719. close;
  720. }
  721. mes "[Louis Greg]";
  722. mes "Wow, you're really";
  723. mes "great! I wish I were";
  724. mes "as powerful as you.";
  725. mes "I hate being a kid!";
  726. close;
  727. }
  728. mes "[Louis Greg]";
  729. mes "Why'd I become a Rogue?";
  730. mes "I guess I just like being";
  731. mes "sneaky. That, and being";
  732. mes "moral and law abiding is";
  733. mes "just too tough, you know?";
  734. close;
  735. }
  736. in_rogue,268,125,2 script Thor Greg#rogueguild 86,{
  737. if (BaseJob == Job_Rogue || Class == Job_Thief_High) {
  738. if (ROG_SK < 1) {
  739. mes "[Thor Greg]";
  740. mes "Where did father go?";
  741. mes "I hope those weird men";
  742. mes "didn't get to him. With";
  743. mes "any luck, he's hidden in";
  744. mes "the panic room, but still...";
  745. set ROG_SK,1;
  746. close;
  747. }
  748. else if (ROG_SK == 1) {
  749. mes "[Thor Greg]";
  750. mes "Hm... My father might";
  751. mes "be hiding in the panic";
  752. mes "room. I've never been able";
  753. mes "to find it, but Markie says";
  754. mes "that the entrance is cleverly";
  755. mes "hidden to her left. Hmmm...";
  756. close;
  757. }
  758. else if (ROG_SK == 2) {
  759. mes "[Thor Greg]";
  760. mes "Are you looking for";
  761. mes "my little brother, ^FF0000Louis^000000?";
  762. mes "Oh, he's always hanging";
  763. mes "around that ^FF0000Hollgrehenn Jr.^000000";
  764. mes "here in the Rogue Guild.";
  765. mes "What did you need him for?";
  766. close;
  767. }
  768. else if (ROG_SK == 3) {
  769. mes "[Thor Greg]";
  770. mes "What's this you're";
  771. mes "giving me? A letter";
  772. mes "from Louis? Let's see...";
  773. set ROG_SK,4;
  774. next;
  775. mes "[Thor Greg]";
  776. mes "Oh God, father's in";
  777. mes "serious trouble! I better";
  778. mes "tell my older brother, Jay,";
  779. mes "right away! Quick, find ^FF0000Jay^000000";
  780. mes "next to ^FF0000Antonio Jr.^000000 here in";
  781. mes "the guild! P-please hurry!";
  782. close;
  783. }
  784. else if (ROG_SK == 4) {
  785. mes "[Thor Greg]";
  786. mes "You can find Jay hanging";
  787. mes "out with Antonio Jr. here";
  788. mes "inside the Rogue Guild. ";
  789. mes "Please bring him the letter";
  790. mes "I've written as soon as possible! ^FFFFFF ^000000";
  791. close;
  792. }
  793. else if (ROG_SK == 5) {
  794. mes "[Thor Greg]";
  795. mes "Hopefully, father hasn't";
  796. mes "gone outside of the Rogue";
  797. mes "Guild's panic room. That";
  798. mes "may be the only place";
  799. mes "where he's safe...";
  800. close;
  801. }
  802. else if (ROG_SK == 6) {
  803. mes "[Thor Greg]";
  804. mes "What's that? Father";
  805. mes "wanted me to teach you";
  806. mes "the secret Rogue skill?";
  807. mes "Alright, I'll train you in the";
  808. mes "same way father did. Would";
  809. mes "you like an explanation first?";
  810. next;
  811. mes "[Thor Greg]";
  812. mes "If you don't want an";
  813. mes "explanation, I'll just";
  814. mes "send you to the training";
  815. mes "ground right away so that";
  816. mes "you can learn ^FF0000Close Confine^000000.";
  817. next;
  818. if (select("Listen to Explanation:Go to Training Ground") == 1) {
  819. mes "[Thor Greg]";
  820. mes "Alright, the very first step";
  821. mes "to learning ^FF0000Close Confine^000000";
  822. mes "is to master blocking your";
  823. mes "enemy's movement. I'll send";
  824. mes "you to a special training";
  825. mes "ground so you can practice.";
  826. next;
  827. mes "[Thor Greg]";
  828. mes "There, you'll encounter our";
  829. mes "training partner. Approach her";
  830. mes "closely and make sure that you";
  831. mes "predict and block her movements";
  832. mes "to the left, right or backward.^FFFFFF ^000000 Get ready, I'm sending you now...";
  833. close2;
  834. warp "in_rogue",89,114;
  835. end;
  836. }
  837. warp "in_rogue",89,114;
  838. end;
  839. }
  840. else if (ROG_SK == 7) {
  841. mes "[Thor Greg]";
  842. mes "Alright, I'm going to break";
  843. mes "the fourth wall here and assume";
  844. mes "you were disconnected from the";
  845. mes "game. Would you like to return";
  846. mes "to the training ground in order";
  847. mes "to learn ^FF0000Close Confine^000000?";
  848. next;
  849. if (select("Yes, please.:No, thanks.") == 1) {
  850. mes "[Thor Greg]";
  851. mes "Alright, the very first step";
  852. mes "to learning ^FF0000Close Confine^000000";
  853. mes "is to master blocking your";
  854. mes "enemy's movement. I'll send";
  855. mes "you to a special training";
  856. mes "ground so you can practice.";
  857. next;
  858. mes "[Thor Greg]";
  859. mes "There, you'll encounter our";
  860. mes "training partner. Approach her";
  861. mes "closely and make sure that you";
  862. mes "predict and block her movements";
  863. mes "to the left, right or backward.^FFFFFF ^000000 Get ready, I'm sending you now...";
  864. set ROG_SK,6;
  865. close2;
  866. warp "in_rogue",89,114;
  867. end;
  868. }
  869. mes "[Thor Greg]";
  870. mes "Alright, alright.";
  871. mes "When you feel ready";
  872. mes "to resume training,";
  873. mes "just let me know.";
  874. close;
  875. }
  876. else if (ROG_SK == 8) {
  877. mes "[Thor Greg]";
  878. mes "Ah, I hear from Kienna";
  879. mes "that you've completed your";
  880. mes "training. Congratulations!";
  881. mes "Now, please speak to my";
  882. mes "father so that he can explain^FFFFFF ^000000 the Close Confine skill in detail.";
  883. set ROG_SK,9;
  884. close;
  885. }
  886. else if (ROG_SK == 9) {
  887. mes "[Thor Greg]";
  888. mes "Please talk to my father";
  889. mes "so that he can explain the";
  890. mes "nuances of the Close Confine";
  891. mes "skill to you. He should still be^FFFFFF ^000000 in the Rogue Guild's panic room.";
  892. close;
  893. }
  894. else if (ROG_SK == 11) {
  895. mes "[Thor Greg]";
  896. mes "You know, Chae Takbae";
  897. mes "would say, ''I'm Chae";
  898. mes "Takbae. And you are...?''";
  899. mes "to opponents, and right";
  900. mes "before they could answer,";
  901. mes "he'd beat them to a pulp.";
  902. next;
  903. mes "[Thor Greg]";
  904. mes "He really is";
  905. mes "a legendary hero";
  906. mes "amongst Rogues...!";
  907. close;
  908. }
  909. mes "[Thor Greg]";
  910. mes "Hm...?";
  911. mes "It seems that";
  912. mes "you're much stronger";
  913. mes "than even me. There's";
  914. mes "probably not too many";
  915. mes "people who'd mess with you...";
  916. close;
  917. }
  918. mes "[Thor Greg]";
  919. mes "Hmm, gank this, gank";
  920. mes "that. *Sigh* It's my most";
  921. mes "shameful fault: I spend zeny";
  922. mes "almost as quickly as I can";
  923. mes "steal it. It's irresponsible...";
  924. close;
  925. }
  926. in_rogue,181,114,3 script Jay Greg#rogueguild 85,{
  927. if (BaseJob == Job_Rogue || Class == Job_Thief_High) {
  928. if (ROG_SK < 1) {
  929. mes "[Jay Greg]";
  930. mes "My father must be hidden";
  931. mes "in the Rogue Guild's panic";
  932. mes "room. Strangely, my brothers";
  933. mes "and I can never find it and";
  934. mes "figure out whether he's safe...";
  935. set ROG_SK,1;
  936. next;
  937. mes "[Jay Greg]";
  938. mes "Recently, he's been pursued";
  939. mes "by these strange men who've";
  940. mes "been threatening our family.";
  941. mes "Well, he did just teach us";
  942. mes "a new skill, so he can use";
  943. mes "that to protect himself...";
  944. close;
  945. }
  946. else if (ROG_SK == 1) {
  947. mes "[Jay Greg]";
  948. mes "I'm guessing my father";
  949. mes "hid himself in the Rogue";
  950. mes "Guild's panic room. We can";
  951. mes "never find it, but supposedly";
  952. mes "the entrance is hidden close";
  953. mes "to Markie somewhere.";
  954. close;
  955. }
  956. else if (ROG_SK == 2) {
  957. mes "[Jay Greg]";
  958. mes "You're looking for";
  959. mes "Louis, my little brother?";
  960. mes "He's here in the Rouge Guild,";
  961. mes "so it shouldn't be too hard to";
  962. mes "find him. He's probably just";
  963. mes "standing near Hollgrehen Jr.";
  964. close;
  965. }
  966. else if (ROG_SK == 3) {
  967. mes "[Jay Greg]";
  968. mes "Thor? He should be";
  969. mes "around the Rogue Guild";
  970. mes "somewhere. Have you tried";
  971. mes "looking around Hermathorn Jr.?";
  972. close;
  973. }
  974. else if (ROG_SK == 4) {
  975. mes "[Jay Greg]";
  976. mes "A letter for me...?";
  977. mes "Ah, it's from Thor, so";
  978. mes "I guess I better read";
  979. mes "it right away. Hmmm...";
  980. set ROG_SK,5;
  981. next;
  982. mes "[Jay Greg]";
  983. mes "I see... I must report";
  984. mes "this to the Rogue Guild";
  985. mes "right away, and send a reply";
  986. mes "to my father. Hmm. Let me";
  987. mes "write him a letter right now.";
  988. mes "Please give me a moment...";
  989. next;
  990. mes "[Jay Greg]";
  991. mes "There, it's done. Please";
  992. mes "give this to my father with";
  993. mes "all the haste you can muster.";
  994. mes "I know it's much to ask, but";
  995. mes "I cannot find the way to the";
  996. mes "hidden panic room myself...";
  997. close;
  998. }
  999. else if (ROG_SK == 5) {
  1000. mes "[Jay Greg]";
  1001. mes "Please give my reply";
  1002. mes "to my father as soon as";
  1003. mes "you can. He's still hidden";
  1004. mes "in the Rogue Guild's panic";
  1005. mes "room. That is, if our enemies";
  1006. mes "still haven't found him yet.";
  1007. close;
  1008. }
  1009. else if (ROG_SK == 6) {
  1010. mes "[Jay Greg]";
  1011. mes "You need to train for";
  1012. mes "the Close Confine skill?";
  1013. mes "I think Thor is the only";
  1014. mes "one with access to the";
  1015. mes "training ground, so";
  1016. mes "talk to him first.";
  1017. close;
  1018. }
  1019. else if (ROG_SK == 7) {
  1020. mes "[Jay Greg]";
  1021. mes "You need to train for";
  1022. mes "the Close Confine skill?";
  1023. mes "I think Thor is the only";
  1024. mes "one with access to the";
  1025. mes "training ground, so";
  1026. mes "talk to him first.";
  1027. close;
  1028. }
  1029. else if (ROG_SK == 8) {
  1030. mes "[Jay Greg]";
  1031. mes "Ah, you finished the";
  1032. mes "training for Close Confine,";
  1033. mes "did you? Great, now go and";
  1034. mes "tell my brother, Thor.";
  1035. close;
  1036. }
  1037. else if (ROG_SK == 9) {
  1038. mes "[Jay Greg]";
  1039. mes "Hm. You should probably";
  1040. mes "talk to my father to learn";
  1041. mes "more of the nuances about";
  1042. mes "the Close Confine skill.";
  1043. mes "Have you seen him in the";
  1044. mes "Rogue Guild's panic room?";
  1045. close;
  1046. }
  1047. else if (ROG_SK == 12) {
  1048. mes "[Jay Greg]";
  1049. mes "Chae Takbae sure";
  1050. mes "seemed like a stubborn,";
  1051. mes "thuggish guy. But he must";
  1052. mes "have been pretty smart to";
  1053. mes "invent some of his own skills.";
  1054. close;
  1055. }
  1056. mes "[Jay Greg]";
  1057. mes "I get the feeling";
  1058. mes "that you're going to";
  1059. mes "be one of the best Rogues";
  1060. mes "around, if you already aren't.";
  1061. close;
  1062. }
  1063. mes "[Jay Greg]";
  1064. mes "Ever since I learned";
  1065. mes "Intimdate, I've gotten";
  1066. mes "real punchy, maybe even";
  1067. mes "masochistic. I mean, if they";
  1068. mes "hit you with a skill, you can";
  1069. mes "hit them back with it!";
  1070. close;
  1071. }
  1072. prt_are01,150,150,0 script #1strecog -1,10,10,{
  1073. OnTouch:
  1074. donpcevent "#1st5min::OnEnable";
  1075. donpcevent "#1stmove::OnEnable";
  1076. disablenpc "#1strecog";
  1077. end;
  1078. }
  1079. prt_are01,135,135,0 script #1st5min -1,{
  1080. OnInit:
  1081. disablenpc "#1st5min";
  1082. end;
  1083. OnEnable:
  1084. enablenpc "#1st5min";
  1085. initnpctimer;
  1086. end;
  1087. OnDisable:
  1088. stopnpctimer;
  1089. disablenpc "#1st5min";
  1090. end;
  1091. OnTimer1000:
  1092. mapannounce "prt_are01","Welcome to the Close Confine Training Ground. You will be automatically teleported outside in 5 minutes.",bc_map,"0x00ff00";
  1093. end;
  1094. OnTimer290000:
  1095. mapannounce "prt_are01","You will be teleported outside in 20 seconds.",bc_map,"0x00ff00";
  1096. end;
  1097. OnTimer310000:
  1098. mapannounce "prt_are01","You will be teleported outside in 5 seconds.",bc_map,"0x00ff00";
  1099. end;
  1100. OnTimer315000:
  1101. mapannounce "prt_are01","You are now being teleported outside.",bc_map,"0x00ff00";
  1102. disablenpc "Kienna#1st";
  1103. disablenpc "Kienna#2nd";
  1104. disablenpc "Kienna#3rd";
  1105. disablenpc "Kienna#4th";
  1106. disablenpc "Kienna#5th";
  1107. disablenpc "Kienna#6th";
  1108. disablenpc "Kienna#7th";
  1109. disablenpc "Kienna#8th";
  1110. donpcevent "#1stmove::OnDisable";
  1111. enablenpc "#1strecog";
  1112. donpcevent "Waiting Room#rogue10::OnEnable";
  1113. stopnpctimer;
  1114. mapwarp "prt_are01","in_rogue",264,124;
  1115. end;
  1116. }
  1117. prt_are01,135,135,0 script #1stmove -1,{
  1118. OnInit:
  1119. disablenpc "#1stmove";
  1120. end;
  1121. OnEnable:
  1122. enablenpc "#1stmove";
  1123. initnpctimer;
  1124. end;
  1125. OnTimer3000:
  1126. mapannounce "prt_are01","Kienna will appear in 1 second. Please approach her as closely as possible.",bc_map,"0x00ff00";
  1127. end;
  1128. OnTimer5000:
  1129. switch(rand(1,8)) {
  1130. case 1:
  1131. enablenpc "Kienna#1st";
  1132. break;
  1133. case 2:
  1134. enablenpc "Kienna#2nd";
  1135. break;
  1136. case 3:
  1137. enablenpc "Kienna#3rd";
  1138. break;
  1139. case 4:
  1140. enablenpc "Kienna#4th";
  1141. break;
  1142. case 5:
  1143. enablenpc "Kienna#5th";
  1144. break;
  1145. case 6:
  1146. enablenpc "Kienna#6th";
  1147. break;
  1148. case 7:
  1149. enablenpc "Kienna#7th";
  1150. break;
  1151. case 8:
  1152. enablenpc "Kienna#8th";
  1153. }
  1154. end;
  1155. OnTimer8000:
  1156. disablenpc "Kienna#1st";
  1157. disablenpc "Kienna#2nd";
  1158. disablenpc "Kienna#3rd";
  1159. disablenpc "Kienna#4th";
  1160. disablenpc "Kienna#5th";
  1161. disablenpc "Kienna#6th";
  1162. disablenpc "Kienna#7th";
  1163. disablenpc "Kienna#8th";
  1164. end;
  1165. OnTimer9000:
  1166. stopnpctimer;
  1167. donpcevent "#1stmove::OnEnable";
  1168. mapwarp "prt_are01","prt_are01",150,150;
  1169. end;
  1170. OnDisable:
  1171. stopnpctimer;
  1172. disablenpc "#1stmove";
  1173. end;
  1174. }
  1175. prt_are01,149,162,0 script Kienna#1st 700,1,1,{
  1176. end;
  1177. OnTouch:
  1178. callfunc "F_Kienna","1st";
  1179. end;
  1180. }
  1181. prt_are01,136,150,0 script Kienna#2nd 700,1,1,{
  1182. end;
  1183. OnTouch:
  1184. callfunc "F_Kienna","2nd";
  1185. end;
  1186. }
  1187. prt_are01,150,138,0 script Kienna#3rd 700,1,1,{
  1188. end;
  1189. OnTouch:
  1190. callfunc "F_Kienna","3rd";
  1191. end;
  1192. }
  1193. prt_are01,163,147,0 script Kienna#4th 700,1,1,{
  1194. end;
  1195. OnTouch:
  1196. callfunc "F_Kienna","4th";
  1197. end;
  1198. }
  1199. prt_are01,134,140,0 script Kienna#5th 700,1,1,{
  1200. end;
  1201. OnTouch:
  1202. callfunc "F_Kienna","5th";
  1203. end;
  1204. }
  1205. prt_are01,161,140,0 script Kienna#6th 700,1,1,{
  1206. end;
  1207. OnTouch:
  1208. callfunc "F_Kienna","6th";
  1209. end;
  1210. }
  1211. prt_are01,161,160,0 script Kienna#7th 700,1,1,{
  1212. end;
  1213. OnTouch:
  1214. callfunc "F_Kienna","7th";
  1215. end;
  1216. }
  1217. prt_are01,138,159,0 script Kienna#8th 700,1,1,{
  1218. end;
  1219. OnTouch:
  1220. callfunc "F_Kienna","8th";
  1221. end;
  1222. }
  1223. function script F_Kienna {
  1224. if (ROG_SK == 6) {
  1225. donpcevent "#1stmove::OnDisable";
  1226. mes "[Kienna]";
  1227. mes "Alright, in this";
  1228. mes "exercise, you'll need";
  1229. mes "to predict which way I'm";
  1230. mes "going to move and block";
  1231. mes "me from moving, essentially";
  1232. mes "immobilizing me. Get ready~";
  1233. set ROG_SK,7;
  1234. next;
  1235. while(1) {
  1236. if (.@lim_1 == 10) {
  1237. break;
  1238. }
  1239. else {
  1240. set .@lim_1,.@lim_1 + 1;
  1241. set .@move_1,rand(1,3);
  1242. if (.@move_1 == 1) {
  1243. if (select("Block her to the Left:Block her to the Right:Block her retreat") == 1) {
  1244. mes "[Kienna]";
  1245. mes "Huh...?";
  1246. mes "You blocked me!";
  1247. mes "Very nice work~";
  1248. specialeffect 204; //EF_POTION1
  1249. specialeffect2 210; // EF_POTION7
  1250. set .@suc_1,.@suc_1 + 1;
  1251. next;
  1252. }
  1253. else {
  1254. mes "[Kienna]";
  1255. mes "Sorry, but I wasn't";
  1256. mes "moving in that direction.";
  1257. mes "Your block attempt failed...";
  1258. next;
  1259. }
  1260. }
  1261. else if (.@move_1 == 2) {
  1262. if (select("Block her to the Left:Block her to the Right:Block her retreat") == 2) {
  1263. mes "[Kienna]";
  1264. mes "Huh...?";
  1265. mes "You blocked me!";
  1266. mes "Very nice work~";
  1267. specialeffect 204; //EF_POTION1
  1268. specialeffect2 210; // EF_POTION7
  1269. set .@suc_1,.@suc_1 + 1;
  1270. next;
  1271. }
  1272. else {
  1273. mes "[Kienna]";
  1274. mes "Sorry, but I wasn't";
  1275. mes "moving in that direction.";
  1276. mes "Your block attempt failed...";
  1277. next;
  1278. }
  1279. }
  1280. else if (.@move_1 == 3) {
  1281. if (select("Block her to the Left:Block her to the Right:Block her retreat") == 3) {
  1282. mes "[Kienna]";
  1283. mes "Huh...?";
  1284. mes "You blocked me!";
  1285. mes "Very nice work~";
  1286. specialeffect 204; //EF_POTION1
  1287. specialeffect2 210; // EF_POTION7
  1288. set .@suc_1,.@suc_1 + 1;
  1289. next;
  1290. }
  1291. else {
  1292. mes "[Kienna]";
  1293. mes "Sorry, but I wasn't";
  1294. mes "moving in that direction.";
  1295. mes "Your block attempt failed...";
  1296. next;
  1297. }
  1298. }
  1299. }
  1300. }
  1301. mes "[Kienna]";
  1302. mes "Alright, we're done";
  1303. mes "here. You earned a";
  1304. switch(.@suc_1) {
  1305. case 10:
  1306. mes "training grade of ''^0000FFS^000000.''";
  1307. mes "That's a perfect score!";
  1308. break;
  1309. case 9:
  1310. mes "training grade of ''^0000FFA^000000.''";
  1311. mes "You're really good at this!";
  1312. break;
  1313. case 8:
  1314. mes "training grade of ''^0000FFB +^000000.''";
  1315. mes "That's very commendable!";
  1316. break;
  1317. case 7:
  1318. mes "training grade of ''^0000FFB^000000.''";
  1319. mes "That's very nice work~";
  1320. break;
  1321. case 6:
  1322. mes "training grade of ''^0000FFC +^000000.''";
  1323. mes "Not too bad, but you";
  1324. mes "just barely passed!";
  1325. break;
  1326. case 5:
  1327. mes "training grade of ''^FF0000C^000000.''";
  1328. break;
  1329. case 4:
  1330. mes "training grade of ''^FF0000D+^000000.''";
  1331. break;
  1332. case 3:
  1333. mes "training grade of ''^FF0000D^000000.''";
  1334. break;
  1335. case 2:
  1336. mes "training grade of ''^FF0000F^000000.''";
  1337. break;
  1338. case 1:
  1339. mes "training grade of ''^FF0000F -^000000.''";
  1340. break;
  1341. case 0:
  1342. mes "training grade of...";
  1343. mes "Actually, I'm not able";
  1344. mes "to calculate it. What";
  1345. mes "could have happened?!";
  1346. }
  1347. next;
  1348. if (.@suc_1 > 5) {
  1349. mes "[Kienna]";
  1350. mes "I'm happy to say that";
  1351. mes "you've completed your";
  1352. mes "training! Let me send";
  1353. mes "you back to Thor Greg";
  1354. mes "now so that you can finish";
  1355. mes "learning ^FF0000Close Confine^000000.";
  1356. set ROG_SK,8;
  1357. disablenpc "Kienna#"+getarg(0);
  1358. donpcevent "#1st5min::OnDisable";
  1359. enablenpc "#1strecog";
  1360. close2;
  1361. donpcevent "Waiting Room#rogue10::OnEnable";
  1362. warp "in_rogue",264,124;
  1363. end;
  1364. }
  1365. else {
  1366. mes "[Kienna]";
  1367. mes "Hm. With this grade,";
  1368. mes "I don't think you're";
  1369. mes "quite ready to finish";
  1370. mes "learning Close Confine.";
  1371. mes "Would you like to try the";
  1372. mes "training exercise again?";
  1373. next;
  1374. if (select("Yes!:No, thanks.") == 1) {
  1375. disablenpc "Kienna#"+getarg(0);
  1376. donpcevent "#1stmove::OnEnable";
  1377. set ROG_SK,6;
  1378. warp "prt_are01",150,150;
  1379. end;
  1380. }
  1381. disablenpc "Kienna#"+getarg(0);
  1382. donpcevent "#1st5min::OnDisable";
  1383. enablenpc "a";
  1384. set ROG_SK,6;
  1385. donpcevent "Waiting Room#rogue10::OnEnable";
  1386. warp "in_rogue",264,124;
  1387. end;
  1388. }
  1389. }
  1390. else if (ROG_SK == 7) {
  1391. mes "[Kienna]";
  1392. mes "You must have canceled";
  1393. mes "your training in the middle";
  1394. mes "of the exercise. I'm sorry,";
  1395. mes "but you'll have to start";
  1396. mes "from the very beginning";
  1397. mes "of this training.";
  1398. set ROG_SK,6;
  1399. close2;
  1400. disablenpc "Kienna#8th";
  1401. donpcevent "#1stmove::OnEnable";
  1402. warp "prt_are01",150,150;
  1403. end;
  1404. }
  1405. else if (ROG_SK == 8) {
  1406. mes "[Kienna]";
  1407. mes "You've already completed";
  1408. mes "the training exercise for";
  1409. mes "the Close Confine skill.";
  1410. mes "You no longer have need";
  1411. mes "for my assistance.";
  1412. close2;
  1413. donpcevent "Waiting Room#rogue10::OnEnable";
  1414. warp "in_rogue",264,124;
  1415. end;
  1416. }
  1417. else {
  1418. mes "[Kienna]";
  1419. mes "I'm sorry, but I don't";
  1420. mes "think you belong here.";
  1421. mes "Let me send you to the";
  1422. mes "Rogue Guild if you're lost...";
  1423. close2;
  1424. donpcevent "Waiting Room#rogue10::OnEnable";
  1425. warp "in_rogue",264,124;
  1426. end;
  1427. }
  1428. OnInit:
  1429. disablenpc "Kienna#1st";
  1430. disablenpc "Kienna#2nd";
  1431. disablenpc "Kienna#3rd";
  1432. disablenpc "Kienna#4th";
  1433. disablenpc "Kienna#5th";
  1434. disablenpc "Kienna#6th";
  1435. disablenpc "Kienna#7th";
  1436. disablenpc "Kienna#8th";
  1437. end;
  1438. }
  1439. in_rogue,88,119,3 script Waiting Room#rogue10 828,{
  1440. OnEnable:
  1441. enablenpc "Waiting Room#rogue10";
  1442. enablewaitingroomevent "Waiting Room#rogue10";
  1443. end;
  1444. OnInit:
  1445. waitingroom "Training Ground",10,"Waiting Room#rogue10::OnStartArena",1;
  1446. enablewaitingroomevent "Waiting Room#rogue10";
  1447. end;
  1448. OnStartArena:
  1449. warpwaitingpc "prt_are01",150,150;
  1450. disablewaitingroomevent "Waiting Room#rogue10";
  1451. end;
  1452. }
  1453. //============================================================
  1454. // Old changelog
  1455. //============================================================
  1456. //= 1.0 for fully working skills only [Lupus]
  1457. //= 1.1 Added more new skill quests for more classes [Lupus]
  1458. //= Somehow eA engine doesn't let you keep learn't skill V_V'
  1459. //= 1.2 Added to correct locations, correct NPC's, fixed
  1460. //= some of the items required and made them into real
  1461. //= quests. [Reddozen]
  1462. //= 1.3 Fixed bugs and minor typos. Optimized [Lupus]
  1463. //= 1.3a fixed an item ID typo, thx 2Spiritual Kid
  1464. //= 1.3b Splitted into different files [DracoRPG]
  1465. //============================================================