swordman_skills.txt 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. //===== eAthena Script =======================================
  2. //= Swordsman Skills Quests
  3. //===== By: ==================================================
  4. //= kobra_k88
  5. //===== Current Version: =====================================
  6. //= 1.6
  7. //===== Compatible With: =====================================
  8. //= eAthena SVN
  9. //===== Description: =========================================
  10. //= [Aegis Conversion]
  11. //= Quests for skills: Fatal Blow, Mobile HP Recovery,
  12. // Auto-Berserk
  13. //===== Additional Comments: =================================
  14. //= 1.6 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf]
  15. //============================================================
  16. izlude_in,175,130,2 script Knight De Thomas#qsk_sm 98,{
  17. if (BaseClass == Job_Swordman) {
  18. if (SWORD_SK < 1 && getskilllv(144) == 0) {
  19. mes "[De Thomas]";
  20. mes "Oh, no! You must have been hurt! Are you ok?";
  21. mes "You must have fought hard to get such serious injuries..";
  22. mes "Being a swordsman must come with a lot of responsibility and sacrifice.";
  23. next;
  24. mes "[De Thomas]";
  25. if (Sex == 0)
  26. mes "For these swordsmen and knights, there is a wonderful skill.";
  27. else
  28. mes "For these swordswomen and knights, there is a wonderful skill young lady.";
  29. mes "I present to you - HP Recovery While Moving!";
  30. mes "Body moving is a splendid skill";
  31. mes "that allows you to regain strength(HP)";
  32. mes "while you are moving!";
  33. next;
  34. mes "[De Thomas]";
  35. mes "It is currently under development";
  36. mes "so it may not recover that much,";
  37. mes "but it will help a little.";
  38. mes "What do you think? Would you like to learn this skill?";
  39. next;
  40. if (select("What a nice skill! I want to learn it!:No, thank you.") == 1) {
  41. mes "[De Thomas]";
  42. mes "Very well. I will tell you what you need to learn this skill.";
  43. mes "First, your job level must be higher than ^00880035^000000.";
  44. mes "You will also need ^008800200 empty bottles^000000.";
  45. mes "Why? Because it is proof that you fought fiercely to have used that many potions.";
  46. next;
  47. mes "[De Thomas]";
  48. mes "Also, the armor you used in battle.";
  49. mes "This is also proof of an experienced fighter.";
  50. mes "For the armor... your armor is perfect!";
  51. mes "Bring your armor!";
  52. mes "Last but not least... bring me one ^008800Moth Wing^000000.";
  53. next;
  54. select("Eh? You need that, too?");
  55. mes "[De Thomas]";
  56. mes "Not really.. I don't really NEED it.";
  57. mes "It's just that my niece has gotten a bug hunting as a holiday task during the summer vacation.";
  58. mes "Of course! It would be much easier for me to get it myself.";
  59. mes "but I must work here all the time so I don't exactly have the time to go out and get it.";
  60. next;
  61. mes "[De Thomas]";
  62. mes "Don't you think it is pitiful that I have to stay in once place everyday, not being able to go outside?";
  63. mes "Please, find me one...*sniffsniff*";
  64. mes "If you don't...";
  65. set SWORD_SK,1;
  66. mes "You won't get anything! Muahahaha.";
  67. close;
  68. }
  69. mes "[De Thomas]";
  70. mes "...";
  71. close;
  72. }
  73. else if (SWORD_SK == 1 && getskilllv(144) == 0) {
  74. mes "[De Thomas]";
  75. mes "Welcome back...";
  76. mes "are you ready to learn Body Movin'?";
  77. next;
  78. switch(select("Yes.:No, I'm not ready yet.")) {
  79. case 1:
  80. if (JobLevel > 34 && countitem(713) > 199 && countitem(1058) > 0) {
  81. mes "[De Thomas]";
  82. mes "Let's see.....";
  83. next;
  84. mes "[De Thomas]";
  85. mes "Ok! I shall now teach you...";
  86. mes "..The Body Movin' skill!";
  87. next;
  88. delitem 713,200; //Empty_Bottle
  89. delitem 1058,1; //Wing_Of_Moth
  90. skill 144,1,0;
  91. set SWORD_SK,0;
  92. mes "[De Thomas]";
  93. mes "There you go!";
  94. mes "Try it yourself.";
  95. mes "But don't overdo it.";
  96. next;
  97. mes "[De Thomas]";
  98. mes "Oh yeah, I won't be needing your";
  99. mes "armor so you can keep it.";
  100. mes "..Good luck now!";
  101. close;
  102. }
  103. else if (JobLevel < 35) {
  104. mes "[De Thomas]";
  105. mes "Wait a second your Job level isn't above ^00880035^000000!";
  106. mes "Come back when it is.";
  107. close;
  108. }
  109. else if (countitem(713) < 200 || countitem(1058) < 1) {
  110. mes "[De Thomas]";
  111. mes "You do not have all the items I asked for.";
  112. next;
  113. mes "[De Thomas]";
  114. mes "Remember I need, ^008800200 empty bottles^000000, your armor, and a ^008800Moth Wing^000000. Come back when you have it all.";
  115. close;
  116. }
  117. else {
  118. mes "[De Thomas]";
  119. mes "You do not have all the items I asked for.";
  120. next;
  121. mes "[De Thomas]";
  122. mes "Remember I need, ^008800200 empty bottles^000000, your armor, and a ^008800Moth Wing^000000. Come back when you have it all.";
  123. close;
  124. }
  125. case 2:
  126. mes "[De Thomas]";
  127. mes "Is that so?";
  128. mes "Then come when you are prepared.";
  129. close;
  130. }
  131. }
  132. else {
  133. mes "[De Thomas]";
  134. mes "Oh, it's you?";
  135. mes "Long time no see!";
  136. mes "You seem healthier than before.";
  137. mes "Hahahaha!";
  138. mes "Take care! See you again!";
  139. close;
  140. }
  141. }
  142. else {
  143. mes "[De Thomas]";
  144. mes "My name is De Thomas Carlos.";
  145. mes "Knight of Prontera's 3rd Calvary.";
  146. mes "I have a certain duty these days.";
  147. mes "Ehem! Need I say more.";
  148. close;
  149. }
  150. }
  151. prt_in,75,88,5 script Leon Von Frich#qsk_sm 85,3,3,{
  152. if ((BaseJob == Job_Swordman && JobLevel >= 25) || BaseJob == Job_Knight || BaseJob == Job_Crusader) {
  153. if (getskilllv(145) == 1) {
  154. mes "[Leon]";
  155. mes "Eh?";
  156. mes "I was wondering who that was!";
  157. mes "Why it's you from before!";
  158. mes "Nice to see you again! How are you?";
  159. mes "Be careful! Hahaha!";
  160. close;
  161. }
  162. else if (countitem(1752) > 9 && countitem(1751) > 9 && countitem(532) > 0 && countitem(962) > 29 && countitem(526) > 4) {
  163. mes "[Leon]";
  164. mes "Ooh! You are more than ready";
  165. mes "to learn Fatal Blow!";
  166. mes "So how about it? Would you like to learn?";
  167. next;
  168. switch(select("Yes!:No, I don't want to.:But, what is Fatal Blow?")) {
  169. case 1:
  170. mes "[Leon]";
  171. mes "OK, lets begin!";
  172. next;
  173. delitem 1752,10; //Fire_Arrow
  174. delitem 1751,10; //Silver_Arrow
  175. delitem 532,1; //Banana_Juice
  176. delitem 962,30; //Tentacle
  177. delitem 526,5; //Royal_Jelly
  178. skill 145,1,0;
  179. mes "[Leon]";
  180. mes "Success!";
  181. mes "Go use your new skill to its full potential.";
  182. mes "Hahahahahahahaha!";
  183. close;
  184. case 2:
  185. mes "[Leon]";
  186. mes "I don't like you!!!";
  187. close;
  188. case 3:
  189. mes "[Leon]";
  190. mes "I developed this skill recently.";
  191. mes "When you use bash, depending ";
  192. mes "on your level, you can stun ";
  193. mes "your opponent. .";
  194. mes "You have learned bash, haven't you?";
  195. next;
  196. mes "[Leon]";
  197. mes "What do you think. Stun is";
  198. mes "a very useful technique. Don't you find this skill attractive?";
  199. mes "When you think you do, just come right back to me!";
  200. close;
  201. }
  202. }
  203. else {
  204. mes "[Leon]";
  205. mes "Ooh! A young and strong swordsman!";
  206. next;
  207. mes "[Leon]";
  208. mes "Wow, seeing your arm, you must enjoy using bash?";
  209. next;
  210. select("Eh, I.. just...");
  211. mes "[Leon]";
  212. if (Sex == 0) {
  213. mes "No need to be surprised.";
  214. mes "If you use a sword, of course you ought to have a good arm!";
  215. }
  216. else {
  217. mes "Nothing to be embarrassed about.";
  218. mes "Even if you are a female you need a strong arm to use a sword!";
  219. }
  220. mes "In times of only useless and lazy youngsters,";
  221. mes "I'm glad I met someone strong like you.";
  222. next;
  223. mes "[Leon]";
  224. mes "Yes, I would like to give a present to an awesome swordsman like you.";
  225. next;
  226. switch(select("What present?:It's ok.")) {
  227. case 1:
  228. mes "[Leon]";
  229. mes "Haha nothing special, but a skill to attack the vital point!";
  230. next;
  231. break;
  232. case 2:
  233. mes "[Leon]";
  234. mes "...Haha nothing special, just a skill that aims at the vital spot!";
  235. next;
  236. break;
  237. }
  238. mes "[Leon]";
  239. mes "It's a skill I developed recently.";
  240. mes "When you use bash, depending on";
  241. mes "your level, your opponent can";
  242. mes "become stunned.";
  243. mes "You have learned bash, haven¡¯t you?";
  244. next;
  245. mes "[Leon]";
  246. mes "When I was a swordsman like you,";
  247. mes "I used to enjoy using Bash. Every time, I thought";
  248. mes "- maybe the attack would be more powerful";
  249. mes "if I use stun at the same time.";
  250. next;
  251. mes "[Leon]";
  252. mes "I drew back from the battlefield to do research";
  253. mes "and finally, I developed this wonderful new skill!";
  254. mes "Would you like to learn this skill?";
  255. next;
  256. switch(select("Yes.:No.:Do you have any advice on how to eat sushi?")) {
  257. case 1:
  258. mes "[Leon]";
  259. mes "Ok. I'll tell you the requirements.";
  260. mes "First you need to have level 5 Bash.";
  261. mes "You will also need to prepare 10 Fire Arrows, 10 Silver Arrows, 1 bottle of Banana Juice, 30 Tentacles, and 5 bottles of Royal Jelly.";
  262. mes "They are.. somewhat like ingredients.";
  263. next;
  264. mes "[Leon]";
  265. mes "come to me again once you have all the materials.";
  266. mes "We shall talk then.";
  267. close;
  268. case 2:
  269. mes "[Leon]";
  270. mes "Hahahahahahahahahaha!";
  271. mes "... ";
  272. mes " ... ";
  273. mes " ...";
  274. mes "I'm at a loss of words!?";
  275. close;
  276. case 3:
  277. mes "[Sushi King Leon]";
  278. mes "The best way to eat sushi is";
  279. mes "with your hands.";
  280. mes "That is the basic.";
  281. mes "And dip the fish, not the rice,";
  282. mes "in the soy sauce.";
  283. next;
  284. mes "[Sushi King Leon]";
  285. mes "That way you get a richer flavor.";
  286. mes "Also, always eat the kind that is in season.";
  287. mes "Eating in the order of white fish then";
  288. mes "blue fish will make it taste better!";
  289. mes "Mmm! I like sushi~~!";
  290. close;
  291. }
  292. }
  293. close;
  294. }
  295. else {
  296. mes "[Leon]";
  297. mes "Oh, no! I have nothing to offer you!";
  298. mes "I can't say nice and fun things to anyone";
  299. mes "other than swordsmen!";
  300. mes "See you in a better world!";
  301. close;
  302. }
  303. OnTouch:
  304. mes "[Leon]";
  305. mes "Hahahahahahaha!";
  306. mes "Hahahahahahaha!";
  307. close;
  308. }
  309. prt_in,94,57,3 script Juan#qsk_sm 85,{
  310. if (BaseClass == Job_Swordman) {
  311. if (getskilllv(146) == 1) {
  312. mes "[Juan]";
  313. mes "Mmm? Long time no see!";
  314. mes "How are you?";
  315. mes "You got stronger than before.";
  316. mes "Many expect great things from you.";
  317. mes "You can do it.";
  318. close;
  319. }
  320. else if (BaseJob == Job_Swordman && JobLevel < 10) {
  321. mes "[?]";
  322. mes "What are you?";
  323. mes "Eh, still a beginner.";
  324. mes "I'm busy, so go train a little more";
  325. mes "before coming back.";
  326. close;
  327. }
  328. else if (BaseJob == Job_Swordman && JobLevel > 10 && JobLevel < 30) {
  329. mes "[Juan]";
  330. mes "Oh, nice to meet you.";
  331. mes "You can be on your way. (smiley~)";
  332. close;
  333. }
  334. else if (countitem(924) > 34 && countitem(958) > 9 && countitem(957) > 9 && countitem(518) > 9) {
  335. if ((BaseJob == Job_Swordman && JobLevel >= 30) || BaseJob == Job_Knight || BaseJob == Job_Crusader) {
  336. mes "[Juan]";
  337. mes "Ooh. Young swordsman!";
  338. mes "You are ready to learn the";
  339. mes "newest skill, Auto Berserk?!";
  340. next;
  341. switch(select("Hoho, I would like to learn it now.:What is that?")) {
  342. case 1:
  343. mes "[Juan]";
  344. mes "Ok. Then..";
  345. next;
  346. delitem 924,35; //Powder_Of_Butterfly
  347. delitem 958,10; //Horrendous_Mouth
  348. delitem 957,10; //Decayed_Nail
  349. delitem 518,10; //Honey
  350. skill 146,1,0;
  351. mes "[Juan]";
  352. mes "You have just become a swordsman";
  353. mes "that can use Auto Berserk.";
  354. mes "You can go about ";
  355. mes "and achieve great things!";
  356. next;
  357. mes "[Juan]";
  358. mes "Good luck!";
  359. next;
  360. mes "[Juan]";
  361. mes "....................................oh yeah.";
  362. mes "I forgot to say something.";
  363. mes "There are some things you must keep in mind.";
  364. next;
  365. mes "[Juan]";
  366. mes "Once you regain health,";
  367. mes "this skill will subside.";
  368. mes "Also, there isn't really a time limit";
  369. mes "but it can still disappear when";
  370. mes "it is attacked with a skill that can";
  371. mes "nullify provoke.";
  372. next;
  373. mes "[Juan]";
  374. mes "If you don't remember these characteristics,";
  375. mes "you may run into some problems on the battlefield";
  376. mes "when the skill disappears all of a sudden.";
  377. next;
  378. mes "[Juan]";
  379. mes "Then... bye for real~";
  380. close;
  381. case 2:
  382. mes "[Juan]";
  383. mes "Auto Berserk?";
  384. mes "It's a skill crucial on the battlefield.";
  385. mes "When your health is in red,";
  386. mes "your hidden potential provokes yourself";
  387. mes "to help you in battle.";
  388. next;
  389. mes "[Juan]";
  390. mes "It is perfect for those that";
  391. mes "fight on the battlefield like fire!";
  392. mes "With your ability, you can learn";
  393. mes "this skill right now.";
  394. mes "Then, I shall tell you the necessary materials.";
  395. next;
  396. mes "[Juan]";
  397. mes "You need 35 Powder of Butterfly.";
  398. mes "The energy from the magnificent";
  399. mes "wings of a butterfly will";
  400. mes "help you gather your strength!";
  401. mes "And 10 Horrendous Mouth.";
  402. mes "10 Decayed Nail.";
  403. mes "and last but not least...";
  404. mes "10 Honey!";
  405. next;
  406. mes "[Juan]";
  407. mes "Did you get all that down?";
  408. mes "As always, please come back";
  409. mes "when you are ready.";
  410. mes "I look forward to seeing you again.";
  411. close;
  412. }
  413. }
  414. }
  415. mes "[Juan]";
  416. mes "Oh no, you have more injuries";
  417. mes "since the last time I saw you.";
  418. mes "You went into battle like this?";
  419. mes "Seems like you are straining yourself.";
  420. next;
  421. mes "[Juan]";
  422. mes "Even though you may have a lot of strength";
  423. mes "you can't do much when you reach your limits so";
  424. mes "don't overestimate your powers.";
  425. mes "Of course you could always use the";
  426. mes "skill we developed to overcome these limits.";
  427. next;
  428. switch(select("Eh! What are you talking about?:Haha, there can't be such a thing.:Keuuuuuuuh!")) {
  429. case 1:
  430. mes "[Juan]";
  431. mes "The skill is called Berserk.";
  432. mes "It is deemed the flower of a battlefield.";
  433. mes "When your health is red,";
  434. mes "your hidden potential is provokes yourself";
  435. mes "to help you in battle.";
  436. next;
  437. mes "[Juan]";
  438. mes "It is perfect for those that";
  439. mes "fight on the battlefield like fire!";
  440. mes "With your ability, you can learn";
  441. mes "this skill right now.";
  442. mes "Then, I shall tell you the necessary materials.";
  443. next;
  444. mes "[Juan]";
  445. mes "You need 35 Powder of Butterfly.";
  446. mes "The energy from the magnificent";
  447. mes "wings of a butterfly will";
  448. mes "help you gather your strength!";
  449. mes "And 10 Horrendous Mouth.";
  450. mes "10 Decayed Nail.";
  451. mes "and last but not least...";
  452. mes "10 Honeys!";
  453. next;
  454. mes "[Juan]";
  455. mes "Did you get all that down?";
  456. mes "As always, please come back";
  457. mes "when you are ready.";
  458. mes "I look forward to seeing you again.";
  459. close;
  460. case 2:
  461. mes "[Juan]";
  462. mes "Bleh, were you fooled all your life.";
  463. mes "I don't know. Don't talk to me.";
  464. close;
  465. case 3:
  466. mes "[Juan]";
  467. mes "Keuuuuuuuuuuuuuh!";
  468. mes "Ooowwwwwuuuuuuuuuuuuuhhh!";
  469. mes "Keuaaaaaaaaaaah!";
  470. close;
  471. }
  472. }
  473. else {
  474. mes "[Juan]";
  475. mes "Are you enjoying your trip?";
  476. mes "I hope you have nice days ahead of you.";
  477. mes "Ah, I am just a kind knight Juan.";
  478. mes "Don't worry about me too much. Hahaha...";
  479. close;
  480. }
  481. }
  482. //============================================================
  483. // Old changelog
  484. //============================================================
  485. //= Fully working
  486. //= 1.0a Now using functions found in "Global_Functions.txt"
  487. //= for class checks.
  488. //= 1.1 Added missing delitem [Lupus]
  489. //= 1.2 Added Baby Class Support [Lupus]
  490. //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
  491. //= 1.4 Updated the NPC to allow subclasses of swordsman to learn the skills, [MasterOfMuppets]
  492. //= 1.5 Fixed exploits [Lupus]
  493. //= 1.5a Fixed some typos [IVBela]
  494. //============================================================