swordsman_skills.txt 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  1. //===== eAthena Script =======================================
  2. //= Swordsman Skills Quests
  3. //===== By: ==================================================
  4. //= kobra_k88
  5. //===== Current Version: =====================================
  6. //= 1.0a
  7. //===== Compatible With: =====================================
  8. //= eAthena 7.15 +
  9. //===== Description: =========================================
  10. //= <Description>
  11. //===== Additional Comments: =================================
  12. //= Fully working
  13. //=1.0a Now using functions found in "Global_Functions.txt" for
  14. //= class checks.
  15. //============================================================
  16. //<-------------------------------------- Fatal Blow------------------------------------>\\
  17. prt_in.gat,75,88,5 script Leon 85,
  18. {
  19. mes "[Leon]";
  20. if(callfunc("Is_Sword_Class")) goto L_Start;
  21. if(Class == Job_Novice) goto L_Novice;
  22. mes "Hello there. I am Leon, a well known and well respected member of the famous Prontera Chivalry.";
  23. next;
  24. mes "[Leon]";
  25. mes "Are you here to learn more about the Chivalry, or are you hear to bask in the glory of us Knights? Hahahaha!";
  26. emotion 18;
  27. close;
  28. L_Novice:
  29. mes "Oh a novice.... I'm afraid I have nothing to offer you.";
  30. mes "I have no fun or nice things to say to anyone other then Swordsmen.";
  31. next;
  32. mes "[Leon]";
  33. mes "See you in a better world!";
  34. close;
  35. L_Start:
  36. if (FATALBLOW == 1) goto L_Check;
  37. if (getskilllv(145)>0) goto L_Done;
  38. if(sex==1)mes "Oooh! I see that you are quite a strong Swordsman.";
  39. if(sex==0)mes "Oooh! I see that you are quite a strong Swordswoman.";
  40. mes "How did I know? Hahaha! Just look at that strong arm of yours!";
  41. next;
  42. mes "[Leon]";
  43. mes "You must enjoy using ^0000ff'Bash'^000000, huh? Hahaha!";
  44. emotion 18;
  45. next;
  46. mes "[Leon]";
  47. if(sex==1)mes "I like a Swordsman who isn't afraid to use a powerfull skill such as that.";
  48. if(sex==0)mes "Now, now, don't be shy. It's ok for girls to like Bash.";
  49. if(sex==0)mes "Afterall, whether your a Swordsman or Swordswoman, there's no denying the power of Bash!";
  50. next;
  51. mes "[Leon]";
  52. mes "As great as Bash is though, I often felt that it could be even better if there was someway to stun an opponent with it.";
  53. mes "I decided to withdraw from the battlefield and research ways of making bash more powerfull.";
  54. next;
  55. mes "[Leon]";
  56. mes "I discovered that if one could strike an enemy's weak point with a precisely placed Bash, an opponent would be left utterly parralyzed!!";
  57. next;
  58. mes "[Leon]";
  59. mes "I then went on to develop the skill, ^ff0000'Fatal Blow'^000000, which allows you to do just that!";
  60. mes "Will rigorous training, one can learn to stun an opponent with a mighty Bash.";
  61. next;
  62. mes "[Leon]";
  63. mes "Since you seem to be so fond of Bash, I'd be willing to teach you the skill.";
  64. mes "However, I must warn you that a lot of hard work will be required.";
  65. next;
  66. mes "[Leon]";
  67. mes "So what do you think? Are you interested?";
  68. next;
  69. menu "You betcha!!",M_0, "Nah.... Not really.",M_1, "Any advice on how to eat sushi?",M_2;
  70. M_0:
  71. set FATALBLOW,1;
  72. mes "[Leon]";
  73. mes "Hahaha! I knew you love Bash as much as I do.";
  74. next;
  75. mes "[Leon]";
  76. mes "In order for me to teach you Fatal Blow, you must have at least ^5555FFlevel 5 Bash^000000. You then need to give me these items:";
  77. mes "- 10 ^FF0000Fire Arrows^000000,";
  78. mes "- 10 ^FF0000Silver Arrows^000000,";
  79. mes "- 1 ^FF0000Banana Juice^000000,";
  80. mes "- 30 ^FF0000Tentacles^000000,";
  81. mes "- and 5 ^FF0000Royal Jelly^000000.";
  82. next;
  83. mes "[Leon]";
  84. mes "When you have gathered all of these items come back and see me.";
  85. close;
  86. M_1:
  87. mes "[Leon]";
  88. mes "I see... I must have misjudged you...";
  89. close;
  90. M_2:
  91. mes "[*Sushi King* Leon]";
  92. mes "The best way to eat sushi is with your hands. That is the basic method. Oh, and dip the FISH, NOT the RICE, into the soy sauce.";
  93. next;
  94. mes "[*Sushi King* Leon]";
  95. mes "That way you get a richer flavor. Also, always eat the kind that is in season.";
  96. mes "Eating in the order of white fish, then blue fish, will make it taste even better!";
  97. next;
  98. mes "[*Sushi King* Leon]";
  99. mes "Mmmmm..... I love sushi!!!";
  100. emotion 33;
  101. close;
  102. L_Check:
  103. mes "So your back. Did you get what I asked for?";
  104. next;
  105. mes "[Leon]";
  106. if(countitem(1752)<10 || countitem(1751)<10 || countitem(532)<1 || countitem(962)<30 || countitem(526)<5) goto L_NoItems;
  107. if(getskilllv(5)<5) goto L_BashLvl;
  108. mes "Great work. You have everything I need for me to teach you Fatal Blow.";
  109. next;
  110. mes "[Leon]";
  111. mes "Ok, lets get started.";
  112. next;
  113. mes "!SMACK!~!CRACK!~!THWACK!~!BASH!.......... !SMACK!~!CRACK!~!THWACK!~!BASH!..........";
  114. next;
  115. mes "(5 hours later)";
  116. next;
  117. mes "[Leon]";
  118. mes "Yes! That's it! You have just mastered Fatal Blow!";
  119. emotion 21;
  120. next;
  121. delitem 1752,10;
  122. delitem 1751,10;
  123. delitem 532,1;
  124. delitem 962,30;
  125. delitem 526,5;
  126. skill 145,1,0;
  127. set FATALBLOW,0;
  128. mes "[Leon]";
  129. mes "Use it wisely young warrior!!";
  130. close;
  131. L_NoItems:
  132. mes "Hmm... you still don't have enough items. Come back when you do.";
  133. close;
  134. L_BashLvl:
  135. mes "Wait a minute... you have to train a little more before learning this skill.";
  136. mes "You need to have at least a ^5555FFlevel 5 Bash^000000.";
  137. close;
  138. L_Done:
  139. mes "So how is Fatal Blow? Isn't it great!! Hahaha! I knew you'd like it.";
  140. next;
  141. mes "[Leon]";
  142. mes "Go on and Bash the heck out of those monsters! Hahaha.";
  143. emotion 18;
  144. close;
  145. }
  146. //<---------------------------------- Moving HP Recovery ---------------------------------->\\
  147. izlude_in.gat,175,130,2 script Knight De Thomas 98,
  148. {
  149. mes "[Knight De Thomas]";
  150. if(callfunc("Is_Sword_Class")) goto L_Start;
  151. L_Other:
  152. mes "I am Thomas De Knight of the Prontera Chivalry. I am very busy now so please leave me alone.";
  153. close;
  154. L_Start:
  155. if (MOVHPREC == 1) goto L_Check;
  156. if (getskilllv(144)>0) goto L_GotSkill;
  157. mes "Oh no! You must have been hurt in battle! Are you ok?";
  158. mes "It must have been a hard fought battle for you to recieve such serious injuries....";
  159. emotion 19;
  160. next;
  161. mes "[Knight De Thomas]";
  162. mes "Being a Swordsman or Knight comes with a lot of responsiblity and requires a great deal of self sacrifice.";
  163. mes "For Swordsmen and Knights there is a wonderfull skill that can aid in the recovery of HP.";
  164. next;
  165. mes "[Knight De Thomas]";
  166. mes "I present to you..... ^5555FF'Moving HP Recovery'^000000!! This skill allows you to recover HP while moving!";
  167. next;
  168. mes "[Knight De Thomas]";
  169. mes "The skill has not been perfected yet so the amount of HP recovered is a little low. Still, it is helpful.";
  170. mes "What do you think? Would you like to learn this skill?";
  171. next;
  172. menu "What a great skill! I would like to learn it!!",M_0, "No thank you.",M_End;
  173. M_0:
  174. mes "[Knight De Thomas]";
  175. mes "Very well. I will tell you what is needed to learn this skill. First you must have a job level of 35 or greater.";
  176. mes "This however doesn't apply to Knights or Crusaders. You will also need:";
  177. mes "^5555FF200 Empty Bottles^000000,";
  178. mes "^5555FF1 Padded Armour^000000,";
  179. mes "and ^5555FF1 Moth Wings^000000.";
  180. next;
  181. mes "[Knight De Thomas]";
  182. mes "The bottles are proof that you have fought feircely and have used many potions. The Padded Armor is proof of an experienced fighter.";
  183. mes "The Moth Wings..... well... really aren't necessary. It's just that my niece recieved a bug hunting assignment for summer vacation.......";
  184. next;
  185. mes "[Knight De Thomas]";
  186. mes "I would get them myself... it's just... I must work here all day long so I don't have any time to go out and get them.......";
  187. next;
  188. mes "[Knight De Thomas]";
  189. mes "Don't you think it's sad that I have to stay in once place everyday without even being able to go outside??";
  190. mes "Please.... find a pair of Moth Wings for my niece?.... (~sniff~sniff~)....";
  191. emotion 28;
  192. next;
  193. mes "[Knight De Thomas]";
  194. mes "If you don't..... I won't teach you anything!! Muahahahaha!!";
  195. emotion 29;
  196. set MOVHPREC, 1;
  197. close;
  198. M_End:
  199. mes "[Knight De Thomas]";
  200. mes "What?? What did you say?.....";
  201. emotion 1;
  202. close;
  203. L_Check:
  204. mes "Ah, you've come back. Let's, see... are you ready for HP Moving Recovery?....";
  205. next;
  206. mes "[Knight De Thomas]";
  207. if ((countitem(713)<200) || (countitem(1058)<1) || (countitem(2312)<1)) goto L_NoItems;
  208. if (Class==Job_Swordman && JobLevel < 35) goto L_LowLvl;
  209. mes "Great! You have everything needed to learn this skill. Take a deep breath.... let us begin.";
  210. next;
  211. mes "(2 hours later)";
  212. next;
  213. mes "[Knight De Thomas]";
  214. mes "Can you feel it? Can you feel the energy flowing in you while you move around?";
  215. mes "Haha! You have just learned HP Moving Recovery!";
  216. delitem 713,200;
  217. delitem 1058,1;
  218. skill 144,1,0;
  219. set MOVHPREC, 0;
  220. next;
  221. mes "[Knight De Thomas]";
  222. mes "Congratulations on learning the new skill and thank you for the Moth Wings! ^_^";
  223. emotion 21;
  224. close;
  225. L_NoItems:
  226. mes "As I said before you need to bring me these items:";
  227. mes "^5555FF200 Empty Bottles^000000,";
  228. mes "^5555FF1 Padded Armour^000000,";
  229. mes "and ^5555FF1 Moth Wings^000000.";
  230. close;
  231. L_LowLvl:
  232. mes "You are not yet experienced enough to learn this skill. Come back when you have a job level of at least 35.";
  233. close;
  234. L_GotSkill:
  235. mes "Ah, you're looking well. That HP Moving Recovery skill must be very helpfull.";
  236. mes "Well, continued success on your adventure!";
  237. close;
  238. }
  239. //<----------------------------------------- Auto-Berserk --------------------------------->\\
  240. prt_in.gat,94,57,3 script Juan 85,
  241. {
  242. mes "[Juan]";
  243. if(callfunc("Is_Sword_Class")) goto L_Start;
  244. L_Other:
  245. mes "So how's your adventure going? I hope there will be good days ahead of you.";
  246. next;
  247. mes "[Juan]";
  248. mes "Who am I? Oh, I'm just a kind knight named Juan. Don't mind me. Hahahaha....";
  249. emotion 18;
  250. close;
  251. L_Start:
  252. if (Class==Job_Swordman && JobLevel<34) goto L_LowLvl;
  253. if (BERSERK == 1) goto L_Check;
  254. if (getskilllv(146)>0) goto L_GotSkill;
  255. mes "Oh no! You have more injuries since the last time I saw you.";
  256. mes "You went into battle like this? It seems like you're straining yourself.";
  257. next;
  258. mes "[Juan]";
  259. mes "Even though you may have a lot of strength, there is only so much you can do when you have reached your limits.";
  260. mes "So don't overestimate your own power.";
  261. next;
  262. mes "[Juan]";
  263. mes "Of course you could always use the ^5555FF'skill'^000000 we developed to overcome these limits.....";
  264. next;
  265. menu "Eh! What are you talking about?",M_0, "Haha! There's no such thing....",M_1, "Keuuuuuhhh!",M_3;
  266. M_0:
  267. mes "[Juan]";
  268. mes "The skill is called ^5555FFBerserk^000000. It has been deemed the flower of the battlefield!";
  269. mes "When your health is low, you can call upon your hidden potential by provoking yourself.";
  270. next;
  271. mes "[Juan]";
  272. mes "A surge of energy will flow through your body giving you a greater attack prowess at the cost of defensive strength.";
  273. mes "With this you will be able to fight on with a FIREY RAGE and an absolute disregard to your own safety!!";
  274. next;
  275. mes "[Juan]";
  276. mes "The enemy will be shocked by your new found strength!!";
  277. mes "This skill is especially great for those who fight with a no-holds-bar mentality.";
  278. next;
  279. mes "[Juan]";
  280. mes "In order to learn this skill you will need to bring me the following items:";
  281. mes "^5555FF35 Powder of Butterfly,";
  282. mes "10 Horrendous Mouth,";
  283. mes "10 Decayed Nail^000000,";
  284. mes "and ^5555FF10 Honeys^000000!";
  285. next;
  286. mes "[Juan]";
  287. mes "Did you get all of that down? Please come back when you are ready. I look forward to seeing you again.";
  288. set BERSERK, 1;
  289. close;
  290. M_1:
  291. mes "[Juan]";
  292. mes "Bleh! Have you been a fool all of your life?? Go away and don't talk to me.";
  293. emotion 32;
  294. close;
  295. M_3:
  296. mes "[Juan]";
  297. mes "Keuuuuuuuuuuuuuuuuuuh!";
  298. mes "Oooowwwwwwwwuuuuuuuuuuhhhhhh!";
  299. mes "Keuaaaaaaaaaaaaaaaaaah!";
  300. close;
  301. L_LowLvl:
  302. mes "Oh, nice to meet you.";
  303. next;
  304. mes "[Juan]";
  305. mes "You can go on your way now.";
  306. emotion 33;
  307. close;
  308. L_Check:
  309. if ((countitem(924)<35) && (countitem(957)<10) && (countitem(958)<10) && (countitem(518)<10)) goto L_NoItems;
  310. mes "Good job my dear friend. You have all 4 of the items I asked for.";
  311. mes "In return I will now teach you the skill: ^FF0000Berserk^000000.";
  312. next;
  313. mes "[Juan]";
  314. mes "Great job you have done well and deserve this skill.";
  315. next;
  316. delitem 924,35;
  317. delitem 958,10;
  318. delitem 957,10;
  319. delitem 518,10;
  320. skill 146,1,0;
  321. set BERSERK, 0;
  322. mes "[Juan]";
  323. mes "Muhahahaha!! Don't hold back young warrior, fight without any fears or regrets!!";
  324. emotion 29;
  325. close;
  326. L_NoItems:
  327. mes "[Juan]";
  328. mes "In order to learn this skill you will need to bring me the following items:";
  329. mes "^5555FF35 Powder of Butterfly,";
  330. mes "^10 Horrendous Mouth,";
  331. mes "^10 Decayed Nail^000000,";
  332. mes "and ^5555FF10 Honeys^000000!";
  333. close;
  334. L_GotSkill:
  335. mes "You have the eyes of a person who has seen death first hand!!";
  336. mes "But, because of Berserk, I'm sure you have been able to escape it many times as well.";
  337. emotion 0;
  338. close;
  339. }