summaryrefslogtreecommitdiff
path: root/npc/quests/skills/mage_skills.txt
blob: 99b5e2696fa895518a27c8fd6d657b6c4fb15734 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
//================= Hercules Script =======================================
//=       _   _                     _
//=      | | | |                   | |
//=      | |_| | ___ _ __ ___ _   _| | ___  ___
//=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
//=      | | | |  __/ | | (__| |_| | |  __/\__ \
//=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2012-2015  Hercules Dev Team
//= Copyright (C)  Euphy
//= Copyright (C)  Masao
//= Copyright (C)  L0ne_W0lf
//= Copyright (C)  IVBela
//= Copyright (C)  Silentdragon
//= Copyright (C)  Lupus
//= Copyright (C)  kobra_k88
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program.  If not, see <http://www.gnu.org/licenses/>.
//=========================================================================
//= Mage Skill Quest
//================= Description ===========================================
//= Quest for skills: Energy Coat
//================= Current Version =======================================
//= 1.8
//=========================================================================

geffen_in,151,119,4	script	Great Wizard	1_M_WIZARD,{
	mes "[BLIZZARDRISS]";
	mes "Hey ! My friend !";
	mes "I see that you are a mage.";
	mes "Look into yourself to discover";
	mes "your hidden abilities !";
	next;
	switch (select("About mage's hidden ability :About skill ^3355FF' Energy Coat '^000000 :End conversation")) {
	case 1:
		mes "[BLIZZARDRISS]";
		mes "For many years";
		mes "I have studied the ancient";
		mes "magic's of Geffen.";
		mes "Recently, I discovered";
		mes "a very good forgotten skill! ! !";
		mes "Isn't that fortunate?";
		next;
		mes "[BLIZZARDRISS]";
		mes "The skill uses your mental";
		mes "energy to block attacks against you.";
		mes "It is like a magical shield, or armor.";
		mes "Only the most special of persons can";
		mes "use this amazing skills.";
		next;
		mes "[BLIZZARDRISS]";
		mes "But the most amazing part is that I";
		mes "can use the skill! ! !";
		mes "I can use this to protect myself !";
		mes "Pu hah hah hah !!";
		next;
		mes "[BLIZZARDRISS]";
		mes "Ok Ok, don't get too excited.";
		mes "Listen carefully to what I can tell you.";
		mes "Those who use this spell must tap";
		mes "the hidden energies and abilities";
		mes "locked within themselves !";
		next;
		mes "[BLIZZARDRISS]";
		mes "If you wish to learn this skill, you";
		mes "must first have a few items to";
		mes "be used during the process.";
		next;
		mes "[BLIZZARDRISS]";
		mes "three ^3355FFGlass Bead^000000 ";
		mes "one ^3355FF1 carat Diamond^000000 ";
		mes "five ^3355FFShell^000000 ";
		mes "one ^3355FFSolid Shell^000000 ";
		mes "Bring me these items.";
		next;
		mes "[BLIZZARDRISS]";
		mes "Also, one more thing. . .";
		mes "You must be sufficiently experienced";
		mes "in the magical arts. This means you must";
		mes "either be a wizard or mage job level 35+.";
		next;
		mes "[BLIZZARDRISS]";
		mes "Wizards already have already";
		mes "experienced the role of a mage";
		mes "and so do not require a job level.";
		mes "In any case, one who wishes to";
		mes "be trained in this art must be in a";
		mes "healthy and strong mental state.";
		next;
		mes "[BLIZZARDRISS]";
		mes "Okay . .";
		mes "There is nothing more to say, are you interested?";
		close;
	case 2:
		if (getskilllv("MG_ENERGYCOAT") == 1) {
			mes "[BLIZZARDRISS]";
			mes "It seems that you have ";
			mes "already mastered this skill.";
			mes "Your skill in 'Energy Coat' ";
			mes "is evident.";
			mes "I am sorry, ";
			mes "I have nothing more to teach you ...";
			close;
		}
		if ((countitem(746) > 2) && (countitem(730) > 0) && (countitem(935) > 4) && (countitem(943) > 0) && (JobLevel > 34 || (BaseJob == Job_Wizard || BaseJob == Job_Sage)) && (BaseClass == Job_Mage)) {
			mes "[BLIZZARDRISS]";
			mes "Okay, I have received your request.";
			mes "I will now awaken your hidden energies . .";
			mes ". . . . . .";
			mes ". . . . . . . . . . . . .";
			mes ". . . . . . . . . . . . . . . . . . . . . . . . . .";
			next;
			mes "[BLIZZARDRISS]";
			mes "Ancient powers of";
			mes "Geffen! I seek the enlightenment";
			mes "and honor of your presence. ";
			mes "I am humbled in your presence!";
			mes " ...";
			next;
			mes "[BLIZZARDRISS]";
			mes "Grant me your power!";
			mes "Release your spirit";
			mes "Mana Shield! Metal Armor!";
			mes ". . . . . . . . . . . .";
			mes "ENERGY COAT! ! !";
			next;
			delitem 746,3; //Glass_Bead
			delitem 730,1; //Crystal_Jewel
			delitem 935,5; //Shell
			delitem 943,1; //Solid_Shell
			skill "MG_ENERGYCOAT",1,0;
			mes "[BLIZZARDRISS]";
			mes ". . . . .";
			mes "It is done. . .";
			mes "You know have the ";
			mes "elite skill of ^3355FF' Energy Coat '^000000 .";
			mes "Use it well.";
			next;
			mes "[BLIZZARDRISS]";
			mes "Do not shame our";
			mes "class with disgraceful";
			mes "use of this or any skill.";
			mes "Your new power calls for new responsibility.";
			close;
		}
		mes "[BLIZZARDRISS]";
		mes "Look!!";
		mes "Didn't you listen to my explanation ? !";
		mes "You have not prepared fully";
		mes "for me to assist you.";
		mes "Check that you have all the requirements.";
		next;
		mes "[BLIZZARDRISS]";
		mes "If you need me to explain";
		mes "all this again, then ask me.";
		mes "I would be happy to explain again";
		mes "if only you would listen. . .";
		close;
	case 3:
		mes "[BLIZZARDRISS]";
		mes "The wise man must have patience !";
		mes "Prepare yourself again,";
		mes "and return when you are ready.";
		close;
	}
}