root/npc/quests/skills/mage_skills.txt

Revision 1, 5.8 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Mage Skill Quest
3//===== By: ==================================================
4//= kobra_k88
5//===== Current Version: =====================================
6//= 1.6
7//===== Compatible With: =====================================
8//= eAthena 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
17geffen_in,151,119,4     script  Great Wizard#qsk_mg     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                else {
96                        if (countitem(746) > 2 && countitem(730) > 0 && countitem(935) > 4 && countitem(943) > 0) {
97                                if ((JobLevel > 34 && BaseJob == Job_Mage) || BaseJob == Job_Wizard || BaseJob == Job_Sage) {
98                                        mes "[BLIZZARDRISS]";
99                                        mes "Okay, I have received your request.";
100                                        mes "I will now awaken your hidden energies . .";
101                                        mes ". . . . . .";
102                                        mes ". . . . . . . . . . . . .";
103                                        mes ". . . . . . . . . . . . . . . . . . . . . . . . . .";
104                                        next;
105                                        mes "[BLIZZARDRISS]";
106                                        mes "Ancient powers of";
107                                        mes "Geffen! I seek the enlightenment";
108                                        mes "and honor of your presence. ";
109                                        mes "I am humbled in your presence!";
110                                        mes " ...";
111                                        next;
112                                        mes "[BLIZZARDRISS]";
113                                        mes "Grant me your power!";
114                                        mes "Release your spirit";
115                                        mes "Mana Shield! Metal Armor!";
116                                        mes ". . . . . . . . . . . .";
117                                        mes "ENERGY COAT! ! !";
118                                        next;
119                                        delitem 746,3; //Glass_Bead
120                                        delitem 730,1; //Crystal_Jewel
121                                        delitem 935,5; //Shell
122                                        delitem 943,1; //Solid_Shell
123                                        skill "MG_ENERGYCOAT",1,0;
124                                        mes "[BLIZZARDRISS]";
125                                        mes ". . . . .";
126                                        mes "It is done. . .";
127                                        mes "You know have the ";
128                                        mes "elite skill of ^3355FF' Energy Coat '^000000 .";
129                                        mes "Use it well.";
130                                        next;
131                                        mes "[BLIZZARDRISS]";
132                                        mes "Do not shame our";
133                                        mes "class with disgraceful";
134                                        mes "use of this or any skill.";
135                                        mes "Your new power calls for new responsibility.";
136                                        close;
137                                }
138                        }
139                        mes "[BLIZZARDRISS]";
140                        mes "Look!!";
141                        mes "Didn't you listen to my explanation ? !";
142                        mes "You have not prepared fully";
143                        mes "for me to assist you.";
144                        mes "Check that you have me all the requirements";
145                        next;
146                        mes "[BLIZZARDRISS]";
147                        mes "If you need me to explain";
148                        mes "all this again, then ask me.";
149                        mes "I would be happy to explain again";
150                        mes "if only you would listen. . .";
151                        close;
152                }
153        case 3:
154                mes "[BLIZZARDRISS]";
155                mes "The wise man must have patience !";
156                mes "Prepare yourself again,";
157                mes "and return when you are ready.";
158                close;
159        }
160}
161
162//============================================================
163// Old changelog
164//============================================================
165//= v1.0a Now using functions found in "Global_Functions.txt"
166//= for class checks.[kobra_k88]
167//= 1.2 Added Baby Class Support [Lupus]
168//= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
169//= 1.4 Fixed exploit [Lupus]
170//= 1.4a Fixed some typos [IVBela]
171//= 1.4b changed perm. variables to temp ones [Lupus]
172//============================================================
Note: See TracBrowser for help on using the browser.