1 //===== rAthena Script =======================================
3 //===== By: ==================================================
5 //===== Current Version: =====================================
7 //===== Compatible With: =====================================
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 //============================================================
18 geffen_in,151,119,4 script Great Wizard 64,{
20 mes "Hey ! My friend !";
21 mes "I see that you are a mage.";
22 mes "Look into yourself to discover";
23 mes "your hidden abilities !";
25 switch (select("About mage's hidden ability :About skill ^3355FF' Energy Coat '^000000 :End conversation")) {
29 mes "I have studied the ancient";
30 mes "magic's of Geffen.";
31 mes "Recently, I discovered";
32 mes "a very good forgotten skill! ! !";
33 mes "Isn't that fortunate?";
36 mes "The skill uses your mental";
37 mes "energy to block attacks against you.";
38 mes "It is like a magical shield, or armor.";
39 mes "Only the most special of persons can";
40 mes "use this amazing skills.";
43 mes "But the most amazing part is that I";
44 mes "can use the skill! ! !";
45 mes "I can use this to protect myself !";
46 mes "Pu hah hah hah !!";
49 mes "Ok Ok, don't get too excited.";
50 mes "Listen carefully to what I can tell you.";
51 mes "Those who use this spell must tap";
52 mes "the hidden energies and abilities";
53 mes "locked within themselves !";
56 mes "If you wish to learn this skill, you";
57 mes "must first have a few items to";
58 mes "be used during the process.";
61 mes "three ^3355FFGlass Bead^000000 ";
62 mes "one ^3355FF1 carat Diamond^000000 ";
63 mes "five ^3355FFShell^000000 ";
64 mes "one ^3355FFSolid Shell^000000 ";
65 mes "Bring me these items.";
68 mes "Also, one more thing. . .";
69 mes "You must be sufficiently experienced";
70 mes "in the magical arts. This means you must";
71 mes "either be a wizard or mage job level 35+.";
74 mes "Wizards already have already";
75 mes "experienced the role of a mage";
76 mes "and so do not require a job level.";
77 mes "In any case, one who wishes to";
78 mes "be trained in this art must be in a";
79 mes "healthy and strong mental state.";
83 mes "There is nothing more to say, are you interested?";
86 if (getskilllv("MG_ENERGYCOAT") == 1) {
88 mes "It seems that you have ";
89 mes "already mastered this skill.";
90 mes "Your skill in 'Energy Coat' ";
93 mes "I have nothing more to teach you ...";
96 if ((countitem(746) > 2) && (countitem(730) > 0) && (countitem(935) > 4) && (countitem(943) > 0) && (JobLevel > 34 || (BaseJob == Job_Wizard || BaseJob == Job_Sage)) && (BaseClass == Job_Mage)) {
98 mes "Okay, I have received your request.";
99 mes "I will now awaken your hidden energies . .";
101 mes ". . . . . . . . . . . . .";
102 mes ". . . . . . . . . . . . . . . . . . . . . . . . . .";
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!";
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! ! !";
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,SKILL_PERM;
123 mes "[BLIZZARDRISS]";
125 mes "It is done. . .";
126 mes "You know have the ";
127 mes "elite skill of ^3355FF' Energy Coat '^000000 .";
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.";
137 mes "[BLIZZARDRISS]";
139 mes "Didn't you listen to my explanation ? !";
140 mes "You have not prepared fully";
141 mes "for me to assist you.";
142 mes "Check that you have all the requirements.";
144 mes "[BLIZZARDRISS]";
145 mes "If you need me to explain";
146 mes "all this again, then ask me.";
147 mes "I would be happy to explain again";
148 mes "if only you would listen. . .";
151 mes "[BLIZZARDRISS]";
152 mes "The wise man must have patience !";
153 mes "Prepare yourself again,";
154 mes "and return when you are ready.";
159 //============================================================
161 //============================================================
162 //= 1.0a Now using functions found in "Global_Functions.txt"
163 //= for class checks.[kobra_k88]
164 //= 1.2 Added Baby Class Support [Lupus]
165 //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
166 //= 1.4 Fixed exploit [Lupus]
167 //= 1.4a Fixed some typos [IVBela]
168 //= 1.4b changed perm. variables to temp ones [Lupus]
169 //============================================================