OSDN Git Service

First version
[st-ro/stro.git] / npc / quests / skills / mage_skills.txt
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
18 geffen_in,151,119,4     script  Great Wizard    64,{
19         mes "[BLIZZARDRISS]";
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 !";
24         next;
25         switch (select("About mage's hidden ability :About skill ^3355FF' Energy Coat '^000000 :End conversation")) {
26         case 1:
27                 mes "[BLIZZARDRISS]";
28                 mes "For many years";
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?";
34                 next;
35                 mes "[BLIZZARDRISS]";
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.";
41                 next;
42                 mes "[BLIZZARDRISS]";
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 !!";
47                 next;
48                 mes "[BLIZZARDRISS]";
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 !";
54                 next;
55                 mes "[BLIZZARDRISS]";
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.";
59                 next;
60                 mes "[BLIZZARDRISS]";
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.";
66                 next;
67                 mes "[BLIZZARDRISS]";
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+.";
72                 next;
73                 mes "[BLIZZARDRISS]";
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.";
80                 next;
81                 mes "[BLIZZARDRISS]";
82                 mes "Okay . .";
83                 mes "There is nothing more to say, are you interested?";
84                 close;
85         case 2:
86                 if (getskilllv("MG_ENERGYCOAT") == 1) {
87                         mes "[BLIZZARDRISS]";
88                         mes "It seems that you have ";
89                         mes "already mastered this skill.";
90                         mes "Your skill in 'Energy Coat' ";
91                         mes "is evident.";
92                         mes "I am sorry, ";
93                         mes "I have nothing more to teach you ...";
94                         close;
95                 }
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)) {
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,SKILL_PERM;
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                 mes "[BLIZZARDRISS]";
138                 mes "Look!!";
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.";
143                 next;
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. . .";
149                 close;
150         case 3:
151                 mes "[BLIZZARDRISS]";
152                 mes "The wise man must have patience !";
153                 mes "Prepare yourself again,";
154                 mes "and return when you are ready.";
155                 close;
156         }
157 }
158
159 //============================================================ 
160 // Old changelog
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 //============================================================