mage_skills.txt 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. //===== rAthena Script =======================================
  2. //= Mage Skill Quest
  3. //===== By: ==================================================
  4. //= kobra_k88
  5. //===== Current Version: =====================================
  6. //= 1.8
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= Quest for skills: Energy Coat
  11. //===== Additional Comments: =================================
  12. //= 1.5 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf]
  13. //= 1.6 Fixed a typo in job check. (Bugreport:1531) [L0ne_W0lf]
  14. //= 1.7 Updated to latest available official file. [Masao]
  15. //= 1.8 Fixed JobLevel requirements. [Euphy]
  16. //============================================================
  17. geffen_in,151,119,4 script Great Wizard 64,{
  18. mes "[BLIZZARDRISS]";
  19. mes "Hey ! My friend !";
  20. mes "I see that you are a mage.";
  21. mes "Look into yourself to discover";
  22. mes "your hidden abilities !";
  23. next;
  24. switch (select("About mage's hidden ability :About skill ^3355FF' Energy Coat '^000000 :End conversation")) {
  25. case 1:
  26. mes "[BLIZZARDRISS]";
  27. mes "For many years";
  28. mes "I have studied the ancient";
  29. mes "magic's of Geffen.";
  30. mes "Recently, I discovered";
  31. mes "a very good forgotten skill! ! !";
  32. mes "Isn't that fortunate?";
  33. next;
  34. mes "[BLIZZARDRISS]";
  35. mes "The skill uses your mental";
  36. mes "energy to block attacks against you.";
  37. mes "It is like a magical shield, or armor.";
  38. mes "Only the most special of persons can";
  39. mes "use this amazing skills.";
  40. next;
  41. mes "[BLIZZARDRISS]";
  42. mes "But the most amazing part is that I";
  43. mes "can use the skill! ! !";
  44. mes "I can use this to protect myself !";
  45. mes "Pu hah hah hah !!";
  46. next;
  47. mes "[BLIZZARDRISS]";
  48. mes "Ok Ok, don't get too excited.";
  49. mes "Listen carefully to what I can tell you.";
  50. mes "Those who use this spell must tap";
  51. mes "the hidden energies and abilities";
  52. mes "locked within themselves !";
  53. next;
  54. mes "[BLIZZARDRISS]";
  55. mes "If you wish to learn this skill, you";
  56. mes "must first have a few items to";
  57. mes "be used during the process.";
  58. next;
  59. mes "[BLIZZARDRISS]";
  60. mes "three ^3355FFGlass Bead^000000 ";
  61. mes "one ^3355FF1 carat Diamond^000000 ";
  62. mes "five ^3355FFShell^000000 ";
  63. mes "one ^3355FFSolid Shell^000000 ";
  64. mes "Bring me these items.";
  65. next;
  66. mes "[BLIZZARDRISS]";
  67. mes "Also, one more thing. . .";
  68. mes "You must be sufficiently experienced";
  69. mes "in the magical arts. This means you must";
  70. mes "either be a wizard or mage job level 35+.";
  71. next;
  72. mes "[BLIZZARDRISS]";
  73. mes "Wizards already have already";
  74. mes "experienced the role of a mage";
  75. mes "and so do not require a job level.";
  76. mes "In any case, one who wishes to";
  77. mes "be trained in this art must be in a";
  78. mes "healthy and strong mental state.";
  79. next;
  80. mes "[BLIZZARDRISS]";
  81. mes "Okay . .";
  82. mes "There is nothing more to say, are you interested?";
  83. close;
  84. case 2:
  85. if (getskilllv("MG_ENERGYCOAT") == 1) {
  86. mes "[BLIZZARDRISS]";
  87. mes "It seems that you have ";
  88. mes "already mastered this skill.";
  89. mes "Your skill in 'Energy Coat' ";
  90. mes "is evident.";
  91. mes "I am sorry, ";
  92. mes "I have nothing more to teach you ...";
  93. close;
  94. }
  95. if ((countitem(746) > 2) && (countitem(730) > 0) && (countitem(935) > 4) && (countitem(943) > 0) && (JobLevel > 34 || (BaseJob == Job_Wizard || BaseJob == Job_Sage)) && (BaseClass == Job_Mage)) {
  96. mes "[BLIZZARDRISS]";
  97. mes "Okay, I have received your request.";
  98. mes "I will now awaken your hidden energies . .";
  99. mes ". . . . . .";
  100. mes ". . . . . . . . . . . . .";
  101. mes ". . . . . . . . . . . . . . . . . . . . . . . . . .";
  102. next;
  103. mes "[BLIZZARDRISS]";
  104. mes "Ancient powers of";
  105. mes "Geffen! I seek the enlightenment";
  106. mes "and honor of your presence. ";
  107. mes "I am humbled in your presence!";
  108. mes " ...";
  109. next;
  110. mes "[BLIZZARDRISS]";
  111. mes "Grant me your power!";
  112. mes "Release your spirit";
  113. mes "Mana Shield! Metal Armor!";
  114. mes ". . . . . . . . . . . .";
  115. mes "ENERGY COAT! ! !";
  116. next;
  117. delitem 746,3; //Glass_Bead
  118. delitem 730,1; //Crystal_Jewel
  119. delitem 935,5; //Shell
  120. delitem 943,1; //Solid_Shell
  121. skill "MG_ENERGYCOAT",1,SKILL_PERM;
  122. mes "[BLIZZARDRISS]";
  123. mes ". . . . .";
  124. mes "It is done. . .";
  125. mes "You know have the ";
  126. mes "elite skill of ^3355FF' Energy Coat '^000000 .";
  127. mes "Use it well.";
  128. next;
  129. mes "[BLIZZARDRISS]";
  130. mes "Do not shame our";
  131. mes "class with disgraceful";
  132. mes "use of this or any skill.";
  133. mes "Your new power calls for new responsibility.";
  134. close;
  135. }
  136. mes "[BLIZZARDRISS]";
  137. mes "Look!!";
  138. mes "Didn't you listen to my explanation ? !";
  139. mes "You have not prepared fully";
  140. mes "for me to assist you.";
  141. mes "Check that you have all the requirements.";
  142. next;
  143. mes "[BLIZZARDRISS]";
  144. mes "If you need me to explain";
  145. mes "all this again, then ask me.";
  146. mes "I would be happy to explain again";
  147. mes "if only you would listen. . .";
  148. close;
  149. case 3:
  150. mes "[BLIZZARDRISS]";
  151. mes "The wise man must have patience !";
  152. mes "Prepare yourself again,";
  153. mes "and return when you are ready.";
  154. close;
  155. }
  156. }
  157. //============================================================
  158. // Old changelog
  159. //============================================================
  160. //= 1.0a Now using functions found in "Global_Functions.txt"
  161. //= for class checks.[kobra_k88]
  162. //= 1.2 Added Baby Class Support [Lupus]
  163. //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
  164. //= 1.4 Fixed exploit [Lupus]
  165. //= 1.4a Fixed some typos [IVBela]
  166. //= 1.4b changed perm. variables to temp ones [Lupus]
  167. //============================================================