blacksmith_skills.txt 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. //===== eAthena Script =======================================
  2. //= Blacksmith 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 Inverted the weight check for Greed [DracoRPG]
  22. //============================================================
  23. //============================================================
  24. // BLACKSMITH SKILL - GREED + UNFAIR TRICK
  25. //============================================================
  26. //== GOODDAY - GREED SKILL ===================================
  27. geffen,172,53,7 script Goodday 826,{
  28. mes "[Goodday]";
  29. if(BaseJob!=Job_Blacksmith) goto L_nosmith;
  30. if(getskilllv(1013)) goto L_alreadyhave;
  31. if(Weight < MaxWeight-5000) goto L_notstrong; // You must carry so much that you cannot add 500 more (weight is x10!)
  32. mes "You look pretty strong, so I'll";
  33. mes "teach you a little trick I found";
  34. mes "while watching some wizards move";
  35. mes "things around without lifting a";
  36. mes "finger!";
  37. skill 1013,1,0;
  38. close;
  39. L_notstrong:
  40. mes "Come back when you're strong";
  41. mes "enough to handle the weight";
  42. mes "of my ability. You will need";
  43. mes "to carry so much that you won't";
  44. mes "be able to add 500 more weight.";
  45. close;
  46. L_nosmith:
  47. mes "Geffen is such a great town.";
  48. mes "Don't you think so too?";
  49. next;
  50. emotion e_omg;
  51. mes "[Goodday]";
  52. mes "WHAT...";
  53. mes "You don't!";
  54. close;
  55. L_alreadyhave:
  56. mes "I've already taught you";
  57. mes "everything I know, so I";
  58. mes "need to get back to my";
  59. mes "work.";
  60. close;
  61. }
  62. //== AKI - UNFAIR TRICK SKILL ==================================
  63. geffen,178,72,7 script Aki 726,{
  64. mes "[Aki]";
  65. if(BaseJob!=Job_Blacksmith) goto L_nosmith;
  66. if(getskilllv(1012)) goto L_alreadyhave;
  67. if(getskilllv(1013)<1) goto L_nogreed;
  68. if(JobLevel<30) goto L_nojob;
  69. mes "We're going to need a few things";
  70. mes "for this lesson. Bring me:";
  71. mes "2 Steel";
  72. mes "8 Coal";
  73. mes "2 Iron Hammers";
  74. mes "1 Detrimindexta";
  75. mes "500 Zeny";
  76. next;
  77. mes "[Aki]";
  78. mes "Let me check your items.";
  79. next;
  80. if(countitem(999)<2 || countitem(1003)<8 || countitem(613)<2 || countitem(971)<1 || zeny<500) goto L_noitems;//Items: Steel, Coal, Iron_Hammer, Detrimindexta,
  81. delitem 999, 2;//Items: Steel,
  82. delitem 1003, 8;//Items: Coal,
  83. delitem 613, 2;//Items: Iron_Hammer,
  84. delitem 971, 1;//Items: Detrimindexta,
  85. set zeny, zeny-500;
  86. mes "[Aki]";
  87. mes "Good, You brought everything";
  88. mes "with you already! We'll start";
  89. mes "the process now.";
  90. skill 1012,1,0;
  91. next;
  92. specialeffect 183;
  93. mes "Wow, you're a fast learner.";
  94. mes "Enjoy your new talents!";
  95. close;
  96. L_noitems:
  97. mes "[Aki]";
  98. mes "You don't have enough items.";
  99. mes "Come back when you have all";
  100. mes "the required items for me.";
  101. close;
  102. L_nosmith:
  103. mes "Don't mind Goodday over there.";
  104. mes "He thinks everyone should like";
  105. mes "this boring place!";
  106. emotion e_laugh;
  107. close;
  108. L_nogreed:
  109. mes "If you're looking for more";
  110. mes "to learn, then you should";
  111. mes "talk to Goodday over there";
  112. close;
  113. L_alreadyhave:
  114. mes "WOW, I guess you've learned";
  115. mes "all that the Blacksmiths of";
  116. mes "Geffen can teach. Good luck";
  117. mes "with your travels.";
  118. close;
  119. L_nojob:
  120. mes "Come back when you've learned";
  121. mes "more about being a Blacksmith.";
  122. mes "You will need a Job level of at";
  123. mes "least lv 30 to learn what I";
  124. mes "know.";
  125. close;
  126. }