rogue_skills.txt 40 KB

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