sage_skills.txt 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. //===== eAthena Script =======================================
  2. //= Sage Skills Quests
  3. //===== By: ==================================================
  4. //= Lupus, Reddozen
  5. //===== Current Version: =====================================
  6. //= 1.3c
  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. // SAGE SKILL - CREATE CONVERTER + ELEMENTAL CHANGE
  25. //============================================================
  26. yuno_in03,176,24,3 script Mischna 755,{
  27. mes "[Mischna]";
  28. if(BaseJob!=Job_Sage) goto L_sageno;
  29. if(getskilllv(1007)) goto L_elemental;
  30. mes "I can teach you a new skill";
  31. mes "that I discovered, but you";
  32. mes "will need to bring me a few";
  33. mes "things to complete the";
  34. mes "process.";
  35. next;
  36. mes "[Mischna]";
  37. mes "We will need:";
  38. mes "10 Scorpion Tails";
  39. mes "7 Horns";
  40. mes "12 Rainbow Shells";
  41. mes "10 Snail Shells";
  42. mes "4 Blank Scrolls";
  43. next;
  44. mes "[Mischna]";
  45. mes "Let me check your items.";
  46. next;
  47. if(countitem(904)<10 || countitem(947)<7 || countitem(1013)<12 || countitem(946)<10 || countitem(7433)<4) goto L_noitems;//Items: Scorpion_Tail, Horn, Rainbow_Shell, Snail's_Shell, Blank_Scroll,
  48. delitem 904, 10;//Items: Scorpion_Tail,
  49. delitem 947, 7;//Items: Horn,
  50. delitem 1013, 12;//Items: Rainbow_Shell,
  51. delitem 946, 10;//Items: Snail's_Shell,
  52. delitem 7433, 4;//Items: Blank_Scroll,
  53. mes "[Mischna]";
  54. mes "I see you have what we need,";
  55. mes "so I'll teach you this new";
  56. mes "talent of mine!";
  57. skill 1007,1,0;
  58. next;
  59. mes "[Mischna]";
  60. mes "Do you feel more in tune";
  61. mes "with nature?";
  62. close;
  63. L_noitems:
  64. mes "[Mischna]";
  65. mes "You don't have enough items.";
  66. mes "Come back when you have all";
  67. mes "the required items for me.";
  68. close;
  69. L_sageno:
  70. mes "Hi I'm Mischna. How are you?";
  71. mes "Please enjoy your stay here";
  72. mes "within the walls of the great";
  73. mes "Sage's guild.";
  74. close;
  75. L_sagefail:
  76. mes "[Mischna]";
  77. mes "You don't have enough items.";
  78. mes "Come back when you have all";
  79. mes "the required items for me";
  80. mes "to give you this power over";
  81. mes "the elements.";
  82. close;
  83. L_alreadyhave:
  84. mes "You are such a wonderful";
  85. mes "student. It's too bad I have";
  86. mes "nothing more to teach you.";
  87. close;
  88. L_elemental:
  89. if(getskilllv(1008) || getskilllv(1017) || getskilllv(1018) || getskilllv(1019)) goto L_alreadyhave;
  90. mes "I have one more skill that";
  91. mes "I can teach you, but you";
  92. mes "will need to bring me one of";
  93. mes "these sets in return...";
  94. next;
  95. mes "[Mischna]";
  96. mes "I can only accept one set.";
  97. mes "20 Red blood (fire)";
  98. mes "20 Crystal Blue (water)";
  99. mes "20 Wind of Verdure (Wind)";
  100. mes "20 Green Live (Earth)";
  101. next;
  102. mes "[Mischna]";
  103. mes "Remember that I can only teach";
  104. mes "you one, so choose carefully!";
  105. next;
  106. menu "Elemental Change Water",sage_1, "Elemental Change Earth",sage_2, "Elemental Change Fire",sage_3, "Elemental Change Wind",sage_4;
  107. sage_1:
  108. if(countitem(991)<20)goto L_sagefail;//Items: Crystal_Blue,
  109. delitem 991, 20; //Items: Crystal_Blue,
  110. skill 1008,1,0;
  111. goto L_alreadyhave;
  112. sage_2:
  113. if(countitem(993)<20)goto L_sagefail;//Items: Green_Live,
  114. delitem 993, 20;//Items: Green_Live,
  115. skill 1017,1,0;
  116. goto L_alreadyhave;
  117. sage_3:
  118. if(countitem(990)<20)goto L_sagefail;//Items: Red_Blood,
  119. delitem 990, 20;//Items: Red_Blood,
  120. skill 1018,1,0;
  121. goto L_alreadyhave;
  122. sage_4:
  123. if(countitem(992)<20)goto L_sagefail;//Items: Wind_of_Verdure,
  124. delitem 992, 20;//Items: Wind_of_Verdure,
  125. skill 1019,1,0;
  126. goto L_alreadyhave;
  127. }