summaryrefslogtreecommitdiff
path: root/npc/quests/skills/acolyte_skills.txt
blob: 05fec66ffa70917b577c96545b10029d332f93e9 (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
//================= Hercules Script =======================================
//=       _   _                     _
//=      | | | |                   | |
//=      | |_| | ___ _ __ ___ _   _| | ___  ___
//=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
//=      | | | |  __/ | | (__| |_| | |  __/\__ \
//=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2012-2020 Hercules Dev Team
//= Copyright (C) Euphy
//= Copyright (C) Masao
//= Copyright (C) L0ne_W0lf
//= 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/>.
//=========================================================================
//= Acolyte Skill Quest
//================= Description ===========================================
//= Quest for skills: Holy Light
//================= Current Version =======================================
//= 1.8
//=========================================================================

prt_church,173,23,4	script	Cleric	1_F_PRIEST,{
	mes "[Acolyte Klift]";
	mes "Ahh . Brothers ! Does the task of";
	mes "caring for out lost sheep burden";
	mes "and tire you ?";
	mes "I am here to assist you.";
	next;
	switch (select("^3355FF' About acolyte's hidden ability '^000000 ..", "^3355FF' Holy light '^000000 training", "End conversation")) {
	case 1:
		mes "[Acolyte Klift]";
		mes "Our members of the clergy";
		mes "naturally learn a skill as";
		mes "as they mature. As they approach ";
		mes "their senior years as an acolyte";
		mes "this special skill.";
		next;
		mes "[Acolyte Klift]";
		mes "Faced with great danger and";
		mes "an endless struggle with evil,";
		mes "our brethren are much in need of assistance.";
		mes "^3355FF' Holy Light '^000000 is that skill.";
		mes "To gain this ability for yourself,";
		mes "takes some work.";
		next;
		mes "[Acolyte Klift]";
		mes "To gain the skill, you must find these items.";
		mes "^FF33551 Opal^000000";
		mes "^FF33551 Crystal Blue^000000";
		mes "^FF33551 Rosary^000000 ";
		next;
		mes "[Acolyte Klift]";
		mes "In order to be able to even use this skill,";
		mes "one must be have sufficient experience.";
		mes "^FF3355 Job Level 30^000000";
		mes "is required to learn this skill.";
		next;
		mes "[Acolyte Klift]";
		mes "As for a priest, because of their";
		mes "already vast amount of experience,";
		mes "they are able to gain this skill at any";
		mes "job level.";
		close;
	case 2:
		if (getskilllv("AL_HOLYLIGHT") == 1) {
			mes "[Acolyte Klift]";
			mes "Brother, you already possess";
			mes "the skill of ` Holy Light '.";
			mes "You cannot gain a skill you";
			mes "already possess ..";
			mes "I pray that you are using";
			mes "this skill for the work of good . .";
			close;
		}
		if ((countitem(White_Jewel) > 0) && (countitem(Crystal_Blue) > 0) && (countitem(Rosary) > 0) && (JobLevel > 29 || (BaseJob == Job_Priest || BaseJob == Job_Monk)) && (BaseClass == Job_Acolyte)) {
			mes "[Acolyte Klift]";
			mes "Your faith has proven worthy";
			mes "for you to gain the ' Holy Light ' skill.";
			mes "Your skill is adequate";
			mes "to use this skill.";
			mes "Use it wisely. . .";
			next;
			delitem White_Jewel,1;
			delitem Crystal_Blue,1;
			delitem Rosary,1;
			skill "AL_HOLYLIGHT",1,0;
			mes "[Acolyte Klift]";
			mes "You now know ' Holy Light '";
			mes "May you use this skill only in the";
			mes "best conduct . . . . .";
			close;
		}
		mes "[Acolyte Klift]";
		mes "Oh, it is clear. . .";
		mes "You are not yet ready to";
		mes "receive the ' Holy Light ' skill.";
		next;
		mes "[Acolyte Klift]";
		mes "You should listen carefully to what";
		mes "is necessary for this skill.";
		mes "If you listen closely,";
		mes "you may learn what you lack.";
		mes "So that you may improve upon yourself.";
		close;
	case 3:
		mes "[Acolyte Klift]";
		mes ". . . . .";
		mes "I understand your zeal.";
		mes "You have much time yet to";
		mes "practice and gain experience.";
		mes "Blessings upon you . . . . .";
		close;
	}
}