hunter_skills.txt 2.7 KB

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