hunter_skills.txt 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. //============================================================
  22. //============================================================
  23. // HUNTER SKILL - PHANTASMIC ARROW
  24. //============================================================
  25. payon_in02.gat,54,13,7 script Master Kabac 55,{
  26. mes "[Master Kabac]";
  27. if(BaseJob!=Job_Hunter) goto L_hunterno;
  28. if(getskilllv(1009)) goto L_alreadyhave;
  29. if(JobLevel<40) goto L_nojob;
  30. mes "I can teach you a secret";
  31. mes "technique pased down through";
  32. mes "my family for generation. My";
  33. mes "family has guarded this secret";
  34. mes "for years, but I could teach";
  35. mes "for a few supplies.";
  36. next;
  37. mes "[Master Kabac]";
  38. mes "I am running low on on a few";
  39. mes "things. Here is my list:";
  40. mes "5 Cursed Rubys";
  41. mes "5 Harpy's Feathers";
  42. mes "30 Pet Food";
  43. next;
  44. mes "[Master Kabac]";
  45. mes "Let me check your items.";
  46. next;
  47. if(countitem(724)<5 || countitem(7115)<5 || countitem(537)<30) goto L_noitems;//Items: Cursed_Ruby, Harpy_Feather, Pet_Food,
  48. delitem 724, 5;//Items: Cursed_Ruby,
  49. delitem 7115, 5;//Items: Harpy_Feather,
  50. delitem 537, 30;//Items: Pet_Food,
  51. mes "[Master Kabac]";
  52. mes "I see you have what you need,";
  53. mes "so I'll teach you my talent.";
  54. skill 1009,1,0;
  55. close;
  56. L_noitems:
  57. mes "[Master Kabac]";
  58. mes "You don't have enough items.";
  59. mes "Come back when you have all";
  60. mes "the required items for me.";
  61. close;
  62. L_nojob:
  63. mes "Come back when you've Learned";
  64. mes "more about being a Hunter.";
  65. mes "You need to have at least 40";
  66. mes "levels as a hunter first.";
  67. close;
  68. L_alreadyhave:
  69. mes "Ahh, my apprentence, you";
  70. mes "came to visit me...";
  71. close;
  72. L_hunterno:
  73. mes "Is there something I can";
  74. mes "help you with? I believe";
  75. mes "you have the wrong old man.";
  76. close;
  77. }