blacksmith_skills.txt 3.9 KB

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