hunter_skills.txt 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  1. //===== rAthena Script =======================================
  2. //= Hunter Skills Quests
  3. //===== By: ==================================================
  4. //= Lupus, Reddozen, Kisuka
  5. //===== Current Version: =====================================
  6. //= 1.4
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Quests for skills: Phantasmic Arrow
  12. //===== Additional Comments: =================================
  13. //= 1.0 for fully working skills only [Lupus]
  14. //= 1.1 Added more new skill quests for more classes [Lupus]
  15. //= Somehow eA engine doesn't let you keep learn't skill V_V'
  16. //= 1.2 Added to correct locations, correct NPC's, fixed
  17. //= some of the items required and made them into real
  18. //= quests. [Reddozen]
  19. //= 1.3 Fixed bugs and minor typos. Optimized [Lupus]
  20. //= 1.3a fixed an item ID typo, thx 2Spiritual Kid
  21. //= 1.3b Splitted into different files [DracoRPG]
  22. //= 1.3c Fixed some typos [IVBela]
  23. //= 1.3d Changed NPC Name to the official [Lupus]
  24. //= 1.4 Moved Arpesto from tu_archer and added his script. [Kisuka]
  25. //============================================================
  26. pay_arche,109,169,3 script Arpesto 712,{
  27. if (BaseJob == Job_Hunter) {
  28. if (qskill_hunter == 100) {
  29. if (getskilllv("HT_PHANTASMIC")) {
  30. mes "[Arpesto]";
  31. mes "Hm, I'm sorry if I made";
  32. mes "a big scene when you grazed";
  33. mes "me with that attack accidentally. It's just that I was training so";
  34. mes "diligently and blood sugar was incredibly low and the fatigue...";
  35. next;
  36. mes "[Reidin Corse]";
  37. mes "Hah! Admit it,";
  38. mes "old man! You were";
  39. mes "just scared! Me, on";
  40. mes "the other hand...";
  41. emotion ET_KIK, getnpcid(0, "Reidin Corse#tu");
  42. next;
  43. mes "[Arpesto]";
  44. mes "You little";
  45. mes "whippersnapper!";
  46. mes "I don't know what";
  47. mes "you're talking about!";
  48. close;
  49. } else {
  50. mes "[Arpesto]";
  51. mes "I recognize you";
  52. mes "from somewhere,";
  53. mes "I think. Reidin, do you";
  54. mes "remember this guy?";
  55. next;
  56. mes "[Reidin Corse]";
  57. mes "Oh come on, we see";
  58. mes "hundreds of Archers and";
  59. mes "Hunters and Snipers and...";
  60. mes "I can't remember them all.";
  61. mes "But I guess this guy's up";
  62. mes "to snuff. Trust me on this!";
  63. next;
  64. mes "[Arpesto]";
  65. mes "Alright, alright.";
  66. mes "If Reidin thinks you're";
  67. mes "worthy, then you're probably";
  68. mes "are. In that case, I'd like to";
  69. mes "offer to teach you my secret";
  70. mes "skill, ''Phantasmic Arrow.''";
  71. next;
  72. mes "[Reidin Corse]";
  73. mes "Wait, wait. This guy";
  74. mes "only needs a refresher.";
  75. mes "Yeah, I'm pretty sure you";
  76. mes "were here to learn this";
  77. mes "skill before. Yeah, I've";
  78. mes "got a gut feeling about it.";
  79. next;
  80. mes "[Arpesto]";
  81. mes "Damn. Only a refresher?";
  82. mes "That means you'll learn";
  83. mes "this free of charge. Alright...";
  84. mes "You should be able to use the";
  85. mes "Phantasmic Arrow skill now.";
  86. mes "Travel safely now, you hear?";
  87. skill "HT_PHANTASMIC",1,SKILL_PERM;
  88. close;
  89. }
  90. }
  91. else if (qskill_hunter == 1) {
  92. if (countitem(724) > 4 && countitem(7115) > 4 && countitem(537) > 29) {
  93. mes "[Arpesto]";
  94. mes "Hm? You're back?";
  95. mes "Oh, did you bring";
  96. mes "everything? Ah, you did.";
  97. mes "Good! Now I shall reveal";
  98. mes "my super secret skill...";
  99. mes "The 1st Arpesto Form!";
  100. next;
  101. mes "[Reidin Corse]";
  102. mes "Wait! Wait...";
  103. mes "Didn't you call it";
  104. mes "Arpesto's 3rd Form";
  105. mes "or something at first?";
  106. emotion ET_SWEAT, getnpcid(0, "Reidin Corse#tu");
  107. next;
  108. mes "[Arpesto]";
  109. mes "Er, yes, Arpesto's";
  110. mes "3rd Form, that's right.";
  111. mes "It's just there's just so";
  112. mes "many of them, that... ";
  113. mes "Anyway, let me teach you";
  114. mes "the ''Emergency Arrow'' skill.";
  115. next;
  116. mes "[Reidin Corse]";
  117. mes "Whoa, hold on!";
  118. mes "''Emergency Arrow?!''";
  119. mes "That's the old name you";
  120. mes "gave that skill, right?";
  121. mes "Didn't you change it?";
  122. emotion ET_HUK;
  123. next;
  124. emotion ET_HUK;
  125. mes "[Arpesto]";
  126. mes "What the hell";
  127. mes "are you talkin--";
  128. next;
  129. mes "[Arpesto]";
  130. mes "Oh, you're right.";
  131. mes "We agreed that name";
  132. mes "was too cheesy. What";
  133. mes "did we call it now? Um...";
  134. mes "''Phantasmic Arrow?''";
  135. emotion ET_THINK;
  136. next;
  137. mes "[Arpesto]";
  138. mes "...";
  139. mes "......";
  140. emotion ET_CRY;
  141. next;
  142. mes "[Reidin Corse]";
  143. mes "Umm....";
  144. mes "Ummm........";
  145. next;
  146. mes "[Reidin Corse]";
  147. mes "Yeah, that was the one!";
  148. mes "''^3131FFPhantasmic Arrow^000000'' sounds";
  149. mes "soooo much cooler than that";
  150. mes "other name you came up with!";
  151. emotion ET_AHA, getnpcid(0, "Reidin Corse#tu");
  152. next;
  153. mes "[Arpesto]";
  154. mes "You can be pretty handy";
  155. mes "sometimes, Reidin. Now,";
  156. mes "back to the matter at hand.";
  157. mes "I shall teach you my awesome";
  158. mes "skill, Phantasmic Arrow. Now...";
  159. mes "Ready your mind and body!";
  160. next;
  161. mes "[Arpesto]";
  162. mes "Phan-!";
  163. mes "Ta-!";
  164. mes "Ssssss-!";
  165. mes "Mic-!";
  166. next;
  167. mes "[Arpesto]";
  168. mes "ARRRRRRRROOOOOOW~!";
  169. specialeffect EF_FLASHER;
  170. specialeffect2 EF_FLASHER;
  171. next;
  172. mes "[Arpesto]";
  173. mes "^333333*Pant Pant*^000000";
  174. mes "Alright, I used a special";
  175. mes "technique to teach you the";
  176. mes "skill-- directly into your brain. You should be able to use it";
  177. mes "now. Why don't give it a try?";
  178. next;
  179. mes "^3355FF*Swwwwwww!*";
  180. mes "*Bang!*^000000";
  181. specialeffect EF_HIT2;
  182. emotion ET_HUK;
  183. emotion ET_HUK, playerattached();
  184. next;
  185. mes "[Arpesto]";
  186. mes "^333333*Pant Pant*";
  187. mes "*Cough Cough*";
  188. mes "*Cough Cough*^000000";
  189. next;
  190. mes "[Arpesto]";
  191. mes "WHHHHHHHY MEEEEE?!";
  192. emotion ET_HUK, getnpcid(0, "Reidin Corse#tu");
  193. next;
  194. mes "^3355FF*Thump*^000000";
  195. next;
  196. mes "[Reidin Corse]";
  197. mes "Ar-Arpesto, no!";
  198. mes "...........................";
  199. mes "Oh. Oh, come on! The arrow";
  200. mes "just glanced you! You'll be";
  201. mes "alright. Quit being a baby.";
  202. next;
  203. mes "[Reidin Corse]";
  204. mes "Eh, don't worry about";
  205. mes "Arpesto. He's just being";
  206. mes "a crazy old man. I'll take";
  207. mes "care of him, so just make";
  208. mes "sure you make good use";
  209. mes "of that new skill. Take care~";
  210. delitem 724,5; //Cardinal_Jewel_
  211. delitem 7115,5; //Harpy's_Feather
  212. delitem 537,30; //Pet_Food
  213. set qskill_hunter,100;
  214. skill "HT_PHANTASMIC",1,SKILL_PERM;
  215. close;
  216. } else {
  217. mes "[Arpesto]";
  218. mes "Hurry up and bring";
  219. mes "^3131FF5 Cursed Rubies^000000,";
  220. mes "^3131FF30 Pet Foods^000000 and";
  221. mes "^3131FF5 Harpy Feathers^000000.";
  222. mes "Then, I can teach you";
  223. mes "the Emergency Arrow skill.";
  224. close;
  225. }
  226. }
  227. else {
  228. if (getskilllv("HT_PHANTASMIC")) {
  229. mes "[Arpesto]";
  230. mes "Ah, very nice.";
  231. mes "Um, as you demonstrated";
  232. mes "earlier, my teaching technique";
  233. mes "was perfect. But next time, use";
  234. mes "the skill on foes that deserve";
  235. mes "to be beaten, alright? Good.";
  236. set qskill_hunter,100;
  237. close;
  238. }
  239. if (BaseJob == Job_Hunter && JobLevel < 40) {
  240. mes "[Arpesto]";
  241. mes "Did the master send you";
  242. mes "to me? Hmm... You're still";
  243. mes "pretty green from the looks";
  244. mes "of it. Yeah, I don't think there's anything I can teach quite yet.";
  245. next;
  246. mes "[Arpesto]";
  247. mes "Train a little more and get";
  248. mes "some more experience in";
  249. mes "your job. When you become";
  250. mes "more adept at hunting, you'll";
  251. mes "be able to grasp what I've been";
  252. mes "teaching Hunters and Snipers.";
  253. close;
  254. } else {
  255. mes "[Arpesto]";
  256. mes "Has the master sent you?";
  257. mes "Ah, you definitely have the";
  258. mes "keen, vulture like eyes of a";
  259. mes "true Hunter. You should be";
  260. mes "capable of learning my secret";
  261. mes "skill, the 3rd Arpesto Form...";
  262. next;
  263. mes "[Arpesto]";
  264. mes "It's a handy skill that";
  265. mes "I developed while battling";
  266. mes "Medusas and running out";
  267. mes "of arrows. I simply call it,";
  268. mes "''^3131FFEmergency Arrow^000000.'' Would you";
  269. mes "be interested in learning it?";
  270. next;
  271. switch(select("Yes, please!:Ummm...")) {
  272. case 1:
  273. mes "[Arpesto]";
  274. mes "Great, great. Of course,";
  275. mes "you can't resist this offer";
  276. mes "if you recognize this skill's";
  277. mes "value. However, I'd like to";
  278. mes "ask for a little tuition in return for me teaching this to you.";
  279. next;
  280. mes "[Arpesto]";
  281. mes "Although I feel guilt at";
  282. mes "asking for payment from";
  283. mes "a fellow Hunter, creating";
  284. mes "this skill required much";
  285. mes "sacrifice and unimaginable";
  286. mes "bloodshed on my part...";
  287. next;
  288. mes "[Reidin Corse]";
  289. mes "Hey! You liar!";
  290. mes "I was there when you";
  291. mes "accidently made up that";
  292. mes "skill when you were bored";
  293. mes "and just messing around";
  294. mes "with one of the Bows!";
  295. emotion ET_KIK, getnpcid(0, "Reidin Corse#tu");
  296. next;
  297. emotion ET_HUK;
  298. mes "[Arpesto]";
  299. mes "^333333*Ahem*^000000 Please Reidin,";
  300. mes "don't entertain unfounded";
  301. mes "rumors. It was only after";
  302. mes "countless battles with Eddga";
  303. mes "that I managed to invent and";
  304. mes "perfect Emergency Arrow.";
  305. next;
  306. mes "[Reidin Corse]";
  307. mes "^333333*Tsk tsk*^000000 Huh.";
  308. mes "I thought you said";
  309. mes "you developed it while";
  310. mes "you were fighting Medusas.";
  311. next;
  312. mes "[Arpesto]";
  313. mes "A-anyway, please bring";
  314. mes "me the following items";
  315. mes "as tuition in exchange for";
  316. mes "me teaching you this skill.";
  317. next;
  318. mes "[Arpesto]";
  319. mes "Please bring me";
  320. mes "^3131FF5 Cursed Rubies^000000,";
  321. mes "^3131FF30 Pet Foods^000000 and";
  322. mes "^3131FF5 Harpy Feathers^000000.";
  323. mes "Then I can teach";
  324. mes "you this skill.";
  325. next;
  326. mes "[Reidin Corse]";
  327. mes "30 Pet Foods?";
  328. mes "What the heck do";
  329. mes "you need all that for?";
  330. next;
  331. mes "[Arpesto]";
  332. mes "I...";
  333. mes "I'm going to";
  334. mes "use it to feed";
  335. mes "my pet Falcon.";
  336. next;
  337. mes "[Reidin Corse]";
  338. mes "...";
  339. mes "......";
  340. mes ".........";
  341. mes "......Riiiight.";
  342. emotion ET_THINK, getnpcid(0, "Reidin Corse#tu");
  343. set qskill_hunter,1;
  344. close;
  345. case 2:
  346. mes "[Arpesto]";
  347. mes "Alright, it's your";
  348. mes "decision. However, I'm";
  349. mes "sure that you may have";
  350. mes "great need of my skill";
  351. mes "sooner or later, so return";
  352. mes "to me if you change your mind.";
  353. close;
  354. }
  355. }
  356. }
  357. } else {
  358. mes "[Arpesto]";
  359. mes "The sky still looks clear, but recently the winds that have been blowing through the land seem to carry with them an air of misfortune.";
  360. next;
  361. emotion ET_HNG, getnpcid(0, "Reidin Corse#tu");
  362. mes "[Reidin Corse]";
  363. mes "So...";
  364. mes "Danger's coming?";
  365. mes "Heh! Chill, gramps~";
  366. mes "I got it covered!";
  367. next;
  368. emotion ET_PROFUSELY_SWEAT;
  369. mes "[Arpesto]";
  370. mes "Ho ho...";
  371. mes "Energetic, but";
  372. mes "cocky. Kids nowadays...";
  373. close;
  374. }
  375. }