mage_skills.txt 5.6 KB

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