hunter_skills.txt 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. //===== eAthena Script =======================================
  2. //= Hunter Skills Quests
  3. //===== By: ==================================================
  4. //= Lupus, Reddozen
  5. //===== Current Version: =====================================
  6. //= 1.3a
  7. //===== Compatible With: =====================================
  8. //= eAthena Revision 3800+
  9. //===== Description: =========================================
  10. //= Temp quests for new skills for 2nd classes
  11. //===== Additional Comments: =================================
  12. //= 1.0 for fully working skills only [Lupus]
  13. //= 1.1 Added more new skill quests for more classes [Lupus]
  14. //= Somehow eA engine doesn't let you keep learn't skill V_V'
  15. //= 1.2 Added to correct locations, correct NPC's, fixed
  16. //= some of the items required and made them into real
  17. //= quests. [Reddozen]
  18. //= 1.3 Fixed bugs and minor typos. Optimized [Lupus]
  19. //= 1.3a fixed an item ID typo, thx 2Spiritual Kid
  20. //= 1.3b Splitted into different files [DracoRPG]
  21. //= 1.3c Fixed some typos [IVBela]
  22. //============================================================
  23. //============================================================
  24. // HUNTER SKILL - PHANTASMIC ARROW
  25. //============================================================
  26. payon_in02.gat,54,13,7 script Master Kabac 55,{
  27. mes "[Master Kabac]";
  28. if(BaseJob!=Job_Hunter) goto L_hunterno;
  29. if(getskilllv(1009)) goto L_alreadyhave;
  30. if(JobLevel<40) goto L_nojob;
  31. mes "I can teach you a secret";
  32. mes "technique passed down through";
  33. mes "my family for generations. My";
  34. mes "family has guarded this secret";
  35. mes "for years, but I could teach";
  36. mes "for a few supplies.";
  37. next;
  38. mes "[Master Kabac]";
  39. mes "I am running low on on a few";
  40. mes "things. Here is my list:";
  41. mes "5 Cursed Rubys";
  42. mes "5 Harpy's Feathers";
  43. mes "30 Pet Food";
  44. next;
  45. mes "[Master Kabac]";
  46. mes "Let me check your items.";
  47. next;
  48. if(countitem(724)<5 || countitem(7115)<5 || countitem(537)<30) goto L_noitems;//Items: Cursed_Ruby, Harpy_Feather, Pet_Food,
  49. delitem 724, 5;//Items: Cursed_Ruby,
  50. delitem 7115, 5;//Items: Harpy_Feather,
  51. delitem 537, 30;//Items: Pet_Food,
  52. mes "[Master Kabac]";
  53. mes "I see you have what you need,";
  54. mes "so I'll teach you my talent.";
  55. skill 1009,1,0;
  56. close;
  57. L_noitems:
  58. mes "[Master Kabac]";
  59. mes "You don't have enough items.";
  60. mes "Come back when you have all";
  61. mes "the required items for me.";
  62. close;
  63. L_nojob:
  64. mes "Come back when you've Learned";
  65. mes "more about being a Hunter.";
  66. mes "You need to have at least 40";
  67. mes "levels as a hunter first.";
  68. close;
  69. L_alreadyhave:
  70. mes "Ahh, my apprentice, you";
  71. mes "came to visit me...";
  72. close;
  73. L_hunterno:
  74. mes "Is there something I can";
  75. mes "help you with? I believe";
  76. mes "you have the wrong old man.";
  77. close;
  78. }