taekwon.txt 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  1. //===== eAthena Script =======================================
  2. //= Taekwon Job Quest
  3. //===== By: ==================================================
  4. //= Tsuyuki & Samuray22
  5. //===== Current Version: =====================================
  6. //= 1.4
  7. //===== Compatible With: =====================================
  8. //= eAthena/Freya
  9. //===== Description: =========================================
  10. //= Official iRO TaeKwon Job Change Quest
  11. //===== Additional Comments: =================================
  12. //= 1.0 Replaced previous TK Job Quest with this one [Tsuyuki]
  13. //= 1.1 Rewrote to the Aegis Standars. [Samuray22]
  14. //= 1.2 Fixed position the npc is facing. [Kisuka]
  15. //= 1.3 Added Quest Log commands. [Kisuka]
  16. //= 1.4 Removed use of 'goto', and fixed some indentation. [L0ne_W0lf]
  17. //============================================================
  18. payon,157,141,5 script Phoenix#TKJobChange 753,{
  19. if(Upper == 2) {
  20. mes "[Phoenix]";
  21. mes "Hello, child.";
  22. close;
  23. } else if(Class == Job_Taekwon) {
  24. mes "[Phoenix]";
  25. mes "How is your training";
  26. mes "coming along? As your";
  27. mes "techniques become more";
  28. mes "refined or spectacular,";
  29. mes "never forget that you can";
  30. mes "always rely on the basics.";
  31. close;
  32. } else if(Class > Job_Novice) || (Class == Job_Novice && TK_Q == 0) {
  33. mes "[Phoenix]";
  34. mes "This land. Our once";
  35. mes "beautiful world has been";
  36. mes "stained by evil: there are";
  37. mes "too many men corrupted by";
  38. mes "darkness, too many monsters";
  39. mes "threatening the innocent...";
  40. next;
  41. mes "[Phoenix]";
  42. mes "The havoc that reigns in this";
  43. mes "world is too much for normal";
  44. mes "humans, which cannot stand";
  45. mes "up for themselves against such";
  46. mes "overwhelming odds. Still, one";
  47. mes "must aspire to fight the odds.";
  48. next;
  49. mes "[Phoenix]";
  50. mes "And so, I've dedicated";
  51. mes "myself to becoming stronger.";
  52. mes "I have been training to achieve";
  53. mes "enlightenment, developing an art to hone the mind and body that";
  54. mes "I wish to share with the world.";
  55. next;
  56. mes "[Phoenix]";
  57. mes "I may not be able to change";
  58. mes "the world on my own, but I'll";
  59. mes "never stop training myself";
  60. mes "spiritually and physically.";
  61. mes "I know that the answer";
  62. mes "will come in time...";
  63. next;
  64. if (Class != Job_Novice && TK_Q != 0) {
  65. mes "[Phoenix]";
  66. mes "Noble adventurer:";
  67. mes "if you know anyone who";
  68. mes "has not chosen his path";
  69. mes "in life, please recommend";
  70. mes "him to me. If interested,";
  71. mes "I may teach him my art...";
  72. close;
  73. }
  74. mes "[Phoenix]";
  75. mes "If you have not decided on";
  76. mes "the path you wish to take in";
  77. mes "life, I'd like you to consider";
  78. mes "becoming a practitioner of my";
  79. mes "art. It won't be easy, but it will lead you to great strength...";
  80. next;
  81. if(select("Okay, I will join you.","No, thank you.") == 1) {
  82. if(getskilllv("NV_BASIC") < 9) {
  83. mes "[Phoenix]";
  84. mes "How unfortunate!";
  85. mes "You're not yet ready to";
  86. mes "begin training under my";
  87. mes "tutelege with your current";
  88. mes "Job Level. Please return when you reach Job Level 9 or higher.";
  89. close;
  90. }
  91. mes "[Phoenix]";
  92. mes "Very well... I accept you";
  93. mes "as my student. In beginning";
  94. mes "training, your physical body";
  95. mes "must first be conditioned in";
  96. mes "order to perform the skills";
  97. mes "that you will be learning.";
  98. next;
  99. if(BaseLevel > 19) {
  100. mes "[Phoenix]";
  101. mes "Hm. I see that you have";
  102. mes "undergone sufficient physical";
  103. mes "training as a Novice. Very good. Then let us prepare for your";
  104. mes "spiritual training. Take a deep";
  105. mes "breath, speak to me when ready.";
  106. set TK_Q, 2;
  107. setquest 6001;
  108. close;
  109. }
  110. mes "[Phoenix]";
  111. mes "The mind is not necessarily";
  112. mes "bound to the limits of the body, but you will never fulfill your";
  113. mes "true potential without integrating mind and body. Go, gain ^FF00001 more";
  114. mes "Base Level^000000, and then return.";
  115. next;
  116. set TAEK_Q, BaseLevel;
  117. set TK_Q, 1;
  118. setquest 6000;
  119. mes "[Phoenix]";
  120. mes "I understand this is not an";
  121. mes "easy task for Novices, but you";
  122. mes "must ready yourself for the";
  123. mes "hardship for this job. I shall";
  124. mes "expect you to be stronger";
  125. mes "the next time we meet.";
  126. close;
  127. }
  128. mes "[Phoenix]";
  129. mes "I understand. One's life can";
  130. mes "take many paths, but you can";
  131. mes "only choose to travel on one";
  132. mes "at a time. I hope that you work";
  133. mes "towards enlightenment in your";
  134. mes "very own way, adventurer.";
  135. close;
  136. }
  137. switch(TK_Q) {
  138. case 1:
  139. if(BaseLevel > TAEK_Q) {
  140. set TK_Q, 2;
  141. changequest 6000,6001;
  142. mes "[Phoenix]";
  143. mes "Good. I sense that you";
  144. mes "are more in tune with your";
  145. mes "inner strength. That is the";
  146. mes "natural result of leveling up.";
  147. mes "We're ready to proceed with";
  148. mes "the next portion of training.";
  149. close;
  150. }
  151. mes "[Phoenix]";
  152. mes "You must gain ^FF00001 more";
  153. mes "Base Level^000000 to prove that";
  154. mes "you can endure the hardship";
  155. mes "that entails this job. Never";
  156. mes "neglect your training.";
  157. close;
  158. case 2:
  159. mes "[Phoenix]";
  160. mes "For your spiritual training,";
  161. mes "I will ask you a series of";
  162. mes "questions to test your spirit.";
  163. mes "Relax. Answer as honestly";
  164. mes "as you can. Your will and";
  165. mes "convictions will be tested.";
  166. next;
  167. mes "[Phoenix]";
  168. mes "As a practitioner of my";
  169. mes "art, the ability to quickly";
  170. mes "make the best decision will";
  171. mes "be necessary in battle. Now,";
  172. mes "we will begin the questioning.";
  173. next;
  174. mes "[Phoenix]";
  175. mes "When you encounter";
  176. mes "great difficulty, how do";
  177. mes "you generally respond?";
  178. next;
  179. switch(select( "I face it head on.:Avoid it somehow.:Regroup and analyze the problem.")) {
  180. case 1:
  181. mes "[Phoenix]";
  182. mes "Yes, that is the answer";
  183. mes "I wanted. Even if you cannot";
  184. mes "handle a problem at first, we";
  185. mes "can only benefit from such";
  186. mes "strong determination. Don't";
  187. mes "let any obstacle stop you.";
  188. next;
  189. mes "[Phoenix]";
  190. mes "Even if you fail, you";
  191. mes "can only learn from the";
  192. mes "experience when you give";
  193. mes "your all. Half-hearted";
  194. mes "attempts rarely yield";
  195. mes "fruitful results.";
  196. next;
  197. mes "[Phoenix]";
  198. mes "Seeing as you already";
  199. mes "understand the importance";
  200. mes "of one's will, we'll proceed";
  201. mes "to the next question.";
  202. next;
  203. break;
  204. case 2:
  205. mes "[Phoenix]";
  206. mes "Fool! How do you expect";
  207. mes "to mature if you run away";
  208. mes "from challenges? Fear can";
  209. mes "be a healthy reaction that";
  210. mes "can save your life, but true";
  211. mes "cowardice is despicable.";
  212. next;
  213. mes "[Phoenix]";
  214. mes "It disappoints me to";
  215. mes "hear you say that. Never";
  216. mes "say such a thing to me again.";
  217. mes "Hm. Contemplate the meanings";
  218. mes "of courage and cowardice, and";
  219. mes "then speak to me once again.";
  220. close;
  221. case 3:
  222. mes "[Phoenix]";
  223. mes "Regroup? It is good to do that";
  224. mes "after you have been defeated.";
  225. mes "But it is best to face problems";
  226. mes "once you encounter them.";
  227. mes "You will not always have";
  228. mes "the luxury of regrouping.";
  229. next;
  230. mes "[Phoenix]";
  231. mes "Problems can be predicted";
  232. mes "and analyzed, but I think";
  233. mes "immediate retreat is unwise.";
  234. mes "Contemplate on your fears,";
  235. mes "as well as what you define as";
  236. mes "failure. Then, return to me.";
  237. close;
  238. }
  239. mes "[Phoenix]";
  240. mes "On your travels, you will";
  241. mes "encounter many people with";
  242. mes "differing backgrounds and";
  243. mes "viewpoints. Inevitably, you";
  244. mes "will encounter someone whose";
  245. mes "way of life you cannot fathom.";
  246. next;
  247. mes "[Phoenix]";
  248. mes "Likewise, this person will";
  249. mes "not understand your way of";
  250. mes "life. When your two viewpoints";
  251. mes "clash, causing heated conflict,";
  252. mes "how would you respond?";
  253. next;
  254. switch( select("Insist that I'm right, regardless:Disregard conflicting viewpoint:Accept differences and learn from them")) {
  255. case 1:
  256. mes "[Phoenix]";
  257. mes "It's important to have your";
  258. mes "own opinion. However, you";
  259. mes "must recognize that you may";
  260. mes "be wrong, and an opposing";
  261. mes "view may have some merit.";
  262. next;
  263. mes "[Phoenix]";
  264. mes "There is no one right";
  265. mes "answer and the light of";
  266. mes "truth can take many shades.";
  267. mes "Such is the way of nature.";
  268. mes "To force ideas on others is";
  269. mes "an oppressive practice.";
  270. next;
  271. mes "[Phoenix]";
  272. mes "Do not limit yourself";
  273. mes "to a single view, and do";
  274. mes "not stifle your growth by";
  275. mes "adhering to a single truth.";
  276. mes "Contemplate on this, and";
  277. mes "then speak with me again.";
  278. close;
  279. case 2:
  280. mes "[Phoenix]";
  281. mes "It is important to get";
  282. mes "along with others, but";
  283. mes "you will bring no value";
  284. mes "to this world without your";
  285. mes "own unique contributions,";
  286. mes "thoughts and opinions.";
  287. next;
  288. mes "[Phoenix]";
  289. mes "A conflict of ideals, when";
  290. mes "conducted with respect for";
  291. mes "yourself and others, is a";
  292. mes "great opportunity to broaden";
  293. mes "your understanding of the";
  294. mes "world as it is to others.";
  295. next;
  296. mes "[Phoenix]";
  297. mes "Reflect on this idea of";
  298. mes "establishing harmony with";
  299. mes "the self, and harmony with";
  300. mes "others. Then, return to me.";
  301. close;
  302. case 3:
  303. mes "[Phoenix]";
  304. mes "Good. You must see";
  305. mes "differences for what they";
  306. mes "truly are. You must also";
  307. mes "take criticism to your own";
  308. mes "views with grace and ";
  309. mes "sincere consideration.";
  310. next;
  311. mes "[Phoenix]";
  312. mes "It is impossible to know";
  313. mes "everything in this world.";
  314. mes "It is impossible to understand";
  315. mes "every view. But that does not";
  316. mes "mean that views you do not";
  317. mes "understand are meritless.";
  318. next;
  319. mes "[Phoenix]";
  320. mes "The one with whom you";
  321. mes "disagree may have the";
  322. mes "answer you do not know.";
  323. mes "In your time of weakness,";
  324. mes "this person may be your";
  325. mes "greatest help. Remember that.";
  326. next;
  327. }
  328. mes "[Phoenix]";
  329. mes "I am satisfied by the";
  330. mes "answers you have given";
  331. mes "me. Please reflect on what";
  332. mes "we have discussed for a little";
  333. mes "while. When your mind is calm,";
  334. mes "come and speak to me.";
  335. set TK_Q, 3;
  336. changequest 6001,6002;
  337. close;
  338. case 3:
  339. mes "[Phoenix]";
  340. mes "Are you feeling calm";
  341. mes "and at peace? I will ask";
  342. mes "you a very important question.";
  343. mes "Give me your honest answer.";
  344. next;
  345. mes "[Phoenix]";
  346. mes "^FF0000Are you ready to dedicate";
  347. mes "yourself to the special art";
  348. mes "I will teach you, and uphold";
  349. mes "the dignity of its philosophy?";
  350. next;
  351. if( select( "Yes.","No.") == 1) {
  352. mes "[Phoenix]";
  353. mes "Very well. You are no";
  354. mes "longer just a student.";
  355. mes "You are now entrusted with";
  356. mes "the powers and responsibilites";
  357. mes "of a disciple of ^FF0000Taekwon Do^000000.";
  358. next;
  359. mes "[Phoenix]";
  360. mes "''Taekwon'' has the meaning";
  361. mes "of ''punching and kicking,''";
  362. mes "and ''Do'' has the meaning";
  363. mes "of ''art.'' This martial art is";
  364. mes "focused on skills using";
  365. mes "the fists and the feet.";
  366. next;
  367. mes "[Phoenix]";
  368. mes "Please use this discipline";
  369. mes "to hone your body and mind";
  370. mes "and learn the skills that are";
  371. mes "best suited to you. Never";
  372. mes "shirk your training, or bring";
  373. mes "shame to Taekwon Do.";
  374. next;
  375. completequest 6002;
  376. callfunc "Job_Change",Job_Taekwon;
  377. callfunc "F_ClearJobVar";
  378. getitem 2101,1; // Guard[0]
  379. mes "[Phoenix]";
  380. mes "You are still young, so";
  381. mes "I assume you'll want a job";
  382. mes "title. Mm. In that case, you";
  383. if(Sex == 0) {
  384. mes "are now a ^FF0000Taekwon Girl^000000.";
  385. } else {
  386. mes "are now a ^FF0000Taekwon Boy^000000.";
  387. }
  388. mes "Yes, that sounds good. ";
  389. next;
  390. mes "[Phoenix]";
  391. mes "Please, take this training";
  392. mes "uniform and guard set: make";
  393. mes "good use of these gifts. As";
  394. mes "you travel and train, enlighten";
  395. mes "others about our art and learn^FFFFFF ^000000 what you can from them in return.";
  396. next;
  397. mes "[Phoenix]";
  398. mes "It is now time for you to";
  399. mes "embark on your own journey";
  400. mes "to find new challenges to";
  401. mes "develop your strength.";
  402. mes "Carry yourself with pride";
  403. mes "as a Taekwon Do practitioner...";
  404. next;
  405. mes "[Phoenix]";
  406. mes "Very well. I wish you luck.";
  407. mes "I hope to see you again";
  408. mes "sometime, "+strcharinfo(0)+".";
  409. close;
  410. }
  411. mes "[Phoenix]";
  412. mes "Hm, perhaps you are not";
  413. mes "quite ready to progress from";
  414. mes "your status as a student to";
  415. mes "a full fledged disciple.";
  416. mes "When you feel prepared,";
  417. mes "come and speak to me.";
  418. close;
  419. }
  420. }