archer_skills.txt 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. //===== eAthena Script =======================================
  2. //= Archer Skill Quest
  3. //===== By: ==================================================
  4. //= eAthena dev team
  5. //===== Current Version: =====================================
  6. //= 1.5
  7. //===== Compatible With: =====================================
  8. //= eAthena SVN
  9. //===== Description: =========================================
  10. //= [Aegis Conversion]
  11. //= Quest for skills: Arrow Crafting, Arrow Repel
  12. //===== Additional Comments: =================================
  13. //= 1.5 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf]
  14. //============================================================
  15. moc_ruins,118,99,5 script Roberto#qsk_ac 88,{
  16. if (BaseClass == Job_Archer) {
  17. if (getskilllv("AC_MAKINGARROW") == 1) {
  18. mes "[Roberto]";
  19. mes "Ooh, you're from my home town!";
  20. mes "Nice to see you!";
  21. mes "How are you?";
  22. mes "Ah! That arrow!";
  23. mes "You made it, didn't you!";
  24. next;
  25. mes "[Roberto]";
  26. mes "Haha...!";
  27. mes "Do you think it's a lot better?";
  28. mes "Haha... anyways, I am glad.";
  29. mes "Come back with once in a while";
  30. mes "with news from home.";
  31. mes "Then byebye~";
  32. close;
  33. }
  34. else if ((Basejob == Job_Archer && JobLevel >= 30) || BaseJob == Job_Hunter || BaseJob == Job_Dancer || BaseJob == Job_Bard) {
  35. mes "[Roberto]";
  36. mes "Eh!";
  37. mes " ";
  38. mes "You are...";
  39. next;
  40. if (countitem(907) > 19 && countitem(921) > 6 && countitem(7012) > 40 && countitem(1019) > 12 && countitem(501) > 0) {
  41. mes "[Roberto]";
  42. mes "You brought them!";
  43. mes "Thank you very much.";
  44. mes "Then, as I promised, I will teach you the skill.";
  45. next;
  46. delitem 907,20; //Resin
  47. delitem 921,7; //Mushroom_Spore
  48. delitem 7012,41; //Tough_Scalelike_Stem
  49. delitem 1019,13; //Wooden_Block
  50. delitem 501,1; //Red_Potion
  51. skill 147,1,0;
  52. mes "[Roberto]";
  53. mes "No need to worry about arrows now.";
  54. mes "Oh, and did you happen to see";
  55. mes "someone called Jason in Payon?";
  56. mes "Be careful. He is a";
  57. mes "ferocious one.";
  58. next;
  59. mes "[Roberto]";
  60. mes "You just have to be careful of Jason in Payon.";
  61. mes "Remember.";
  62. mes "Then bubye~ Thank you for the presents~";
  63. close;
  64. }
  65. else {
  66. mes "[Roberto]";
  67. mes "An archer in Morroc!?";
  68. mes "Nice to see you! Meeting a fellow";
  69. mes "archer in a place like this! *sniffsniff*!";
  70. mes "I came alone to Morroc..";
  71. mes "but I was a newcomer, and the pressure... waaah~";
  72. mes "I was very lonely~";
  73. next;
  74. if (select("It must be hard. It's ok have faith.:Keep suffering.") == 1) {
  75. mes "[Roberto]";
  76. mes "Yes. Thank you...";
  77. mes "You must be having a hard";
  78. mes "time in a place like this.";
  79. mes "Isn't it hard to find arrows?";
  80. mes "That's why I make my own.";
  81. next;
  82. select("Eh, really?!");
  83. mes "[Roberto]";
  84. mes "Yeah! I gather different items";
  85. mes "and make arrows using them.";
  86. mes "It is a useful skill to help me";
  87. mes "survive alone in this tough world.";
  88. mes "If you'd like, I can teach you.";
  89. next;
  90. select("That would be wonderful.");
  91. mes "[Roberto]";
  92. mes "But.. I can't do it for free.";
  93. mes "Nothing is free in this world~";
  94. mes "Mmm... How about this?";
  95. mes "You bring me what I ask for.";
  96. mes "Then I will teach you the skill.";
  97. next;
  98. mes "[Roberto]";
  99. mes "I've been very lonely since I left my hometown.";
  100. mes "I would like to treat my homesick-ness";
  101. mes "with things from there.";
  102. mes "Bring me 20 Resins from the trees in the ";
  103. mes "Payon forest, and 1 Red Potion";
  104. mes "sold in the store.";
  105. next;
  106. mes "[Roberto]";
  107. mes "Also, 13 Trunks from the Willows that";
  108. mes "lives near the Payon Forest,";
  109. mes "41 Tough Scalelike Stem,";
  110. mes "7 Mushroom Spores.";
  111. mes "If you bring me all of these.";
  112. next;
  113. mes "[Roberto]";
  114. mes "I will teach you the skill.";
  115. mes "Then.. I'll be waiting.";
  116. mes "For news from our home.";
  117. close;
  118. }
  119. mes "[Roberto]";
  120. if (Sex)
  121. mes "...hey miss.";
  122. else
  123. mes "...hey mister.";
  124. mes "...be careful at night.";
  125. close;
  126. }
  127. }
  128. else {
  129. mes "[Roberto]";
  130. mes "Hmm... Do you?";
  131. mes "Have something to say?";
  132. mes "I,";
  133. mes "have nothing.";
  134. mes "Difference in levels";
  135. mes "cuts off conversations.";
  136. close;
  137. }
  138. }
  139. else {
  140. mes "[?]";
  141. mes "Eh... First time seeing an archer or something?";
  142. mes "Just go where you were going.";
  143. mes "I only talk to high level archers.";
  144. mes "Won't open my mouth otherwise!";
  145. close;
  146. }
  147. }
  148. payon,103,63,3 script Jason#qsk_ac 88,3,3,{
  149. if (BaseClass == Job_Archer) {
  150. if (getskilllv("AC_CHARGEARROW") == 1) {
  151. mes "[Jason]";
  152. mes "Eh, we meet again.";
  153. mes "Ehhhh so weird.";
  154. mes "Whenever I see someone again";
  155. mes "I start eh-ing a lot.";
  156. mes "Ehhh... anyways nice to see you again.";
  157. mes "Ehhhh... don't come any more ehh...";
  158. close;
  159. }
  160. else if ((Basejob == Job_Archer && JobLevel >= 35) || BaseJob == Job_Hunter || BaseJob == Job_Dancer || BaseJob == Job_Bard) {
  161. mes "[Jason]";
  162. mes "Darn... my wound isn't healing.";
  163. mes "Bleh.. I was too careless... ";
  164. mes "to become like this.. err...";
  165. mes "But still, hurting me like this";
  166. mes "giving me so many injuries...";
  167. next;
  168. mes "What should I do about Roberto.";
  169. mes "Mmmm... Ah!";
  170. mes "You? How long have you been there?";
  171. mes "Mmm... very high level.";
  172. mes "Someone like you would definitely be";
  173. mes "able to know how to use Arrow Repel.";
  174. next;
  175. switch(select("What is that?:Teach me.")) {
  176. case 1:
  177. mes "[Jason]";
  178. mes "...you're kidding, right?";
  179. mes "Oh my, you don't even know";
  180. mes "Arrow Repel at that level?";
  181. mes "You're a strange person.";
  182. next;
  183. mes "[Jason]";
  184. mes "(Jason was in the lala land.)";
  185. next;
  186. mes "[Jason]";
  187. mes "Well, ok. I'll teach you what";
  188. mes "Arrow Repel is.";
  189. next;
  190. mes "[Jason]";
  191. mes "Arrow Repel is a skill that allows you to";
  192. mes "push the opponent away as soon as you attack.";
  193. mes "You can only use it when you aim exactly";
  194. mes "at the target. But unlike magic, ";
  195. mes "it doesn't de-spell.";
  196. next;
  197. mes "[Jason]";
  198. mes "It is very useful for an archer";
  199. mes "that is weak in close ranges.";
  200. mes "If you would like to learn,";
  201. mes "come find me again.";
  202. mes "There are some necessary materials.";
  203. next;
  204. mes "[Jason]";
  205. mes "First, because you must modify a bow";
  206. mes "bring a crossbow you do not use.";
  207. mes "10 Tentacles, 10 Bill of Birds,";
  208. mes "3 Yoyo Tails.. these are very elastic.";
  209. mes "Also, 2 Emeralds. And last but not least...";
  210. mes "36 bottles of Banana Juice that I love!";
  211. next;
  212. mes "[Jason]";
  213. mes "......Ehem!";
  214. mes "If you bring all of these,";
  215. mes "I shall teach you Arrow Repel.";
  216. mes "Then, see you again.";
  217. mes "(I'm going to be mad if you don't bring the Banana Juice.)";
  218. close;
  219. case 2:
  220. if (countitem(721) > 1 && countitem(942) > 2 && countitem(962) > 9 && countitem(925) > 9 && countitem(532) > 35) {
  221. mes "[Jason]";
  222. mes "Ok! Perfect!";
  223. mes "I shall teach you the nationally";
  224. mes "renowned skill, Arrow Repel!";
  225. next;
  226. delitem 721,2; //Azure_Jewel
  227. delitem 942,3; //Yoyo_Tail
  228. delitem 962,10; //Tentacle
  229. delitem 925,10; //Bill_Of_Birds
  230. delitem 532,36; //Banana_Juice
  231. skill 148,1,0;
  232. mes "[Jason]";
  233. mes "Oh, works better than I expected!";
  234. mes "Won't be needing to modify the bow!";
  235. mes "You can take this back~";
  236. mes "And enjoy using your newly inherited";
  237. mes "skill in fields and dungeons!";
  238. mes "He~heh~!";
  239. close;
  240. }
  241. else {
  242. mes "[Jason]";
  243. mes "Mmm... too bad.";
  244. mes "You are missing some things.";
  245. mes "Once again, you need 2 Emeralds,";
  246. mes "3 Yoyo Tails, 10 Tentacles,";
  247. mes "10 Bill of Birds, and last but";
  248. mes "not least 36 bottles of Banana juice!";
  249. next;
  250. mes "[Jason]";
  251. mes "Make sure you have all of them and come again!";
  252. close;
  253. }
  254. }
  255. }
  256. else {
  257. mes "[Jason]";
  258. mes "Ooh... you are an archer.";
  259. mes "If you try a little more";
  260. mes "you will have a great";
  261. mes "reputation as an archer!";
  262. mes "Exert yourself!";
  263. close;
  264. }
  265. }
  266. else {
  267. mes "[?]";
  268. mes "What does life need from";
  269. mes "a lonely lad like me?";
  270. close;
  271. }
  272. OnTouch:
  273. mes "[???]";
  274. mes "Errrrrrr...";
  275. close;
  276. }
  277. //============================================================
  278. // Old changelog
  279. //============================================================
  280. //= v1.0 Roberto message text is based off RO npc. Jason message
  281. //= text is custom from old version.
  282. //= All items are from official quests though.[kobra_k88]
  283. //= v1.0a Now using functions found in "Global_Functions.txt"
  284. //= for class checks.[kobra_k88]
  285. //= 1.2 Added Baby Class Support [Lupus]
  286. //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
  287. //= 1.4 Fixed exploits [Lupus]
  288. //= 1.4a Fixed some typos [IVBela]
  289. //= 1.4b changed perm. variables to temp ones [Lupus]
  290. //============================================================