swordsman_skills.txt 13 KB

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