swordman_skills.txt 15 KB

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