root/npc/quests/skills/acolyte_skills.txt

Revision 1, 4.3 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Acolyte Skill Quest
3//===== By: ==================================================
4//= kobra_k88
5//===== Current Version: =====================================
6//= 1.5
7//===== Compatible With: =====================================
8//= eAthena SVN
9//===== Description: =========================================
10//= [Aegis Conversion]
11//= Quest for skills: Holy Light
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
17prt_church,173,23,4     script  Cleric#qsk_al   79,{
18        mes "[Acolyte Klift]";
19        mes "Ahh . Brothers ! Does the task of";
20        mes "caring for out lost sheep burden";
21        mes "and tire you ?";
22        mes "I am here to assist you.";
23        next;
24        switch(select("^3355FF' About acolyte's hidden ability '^000000 ..:^3355FF' Holy light '^000000 training:End conversation")) {
25        case 1:
26                mes "[Acolyte Klift]";
27                mes "Our members of the clergy";
28                mes "naturally learn a skill as";
29                mes "as they mature. As they approach ";
30                mes "their senior years as an acolyte";
31                mes "this special skill.";
32                next;
33                mes "[Acolyte Klift]";
34                mes "Faced with great danger and";
35                mes "an endless struggle with evil,";
36                mes "our brethren are much in need of assistance.";
37                mes "^3355FF' Holy Light '^000000 is that skill.";
38                mes "To gain this ability for yourself,";
39                mes "takes some work.";
40                next;
41                mes "[Acolyte Klift]";
42                mes "To gain the skill, you must find these items.";
43                mes "^FF33551 Opal^000000";
44                mes "^FF33551 Crystal Blue^000000";
45                mes "^FF33551 Rosary^000000 ";
46                next;
47                mes "[Acolyte Klift]";
48                mes "In order to be able to even use this skill,";
49                mes "one must be have sufficient experience.";
50                mes "^FF3355 Job Level 30^000000";
51                mes "is required to learn this skill.";
52                next;
53                mes "[Acolyte Klift]";
54                mes "As for a priest, because of their";
55                mes "already vast amount of experience,";
56                mes "they are able to gain this skill at any";
57                mes "job level.";
58                close;
59        case 2:
60                if (getskilllv("AL_HOLYLIGHT") == 1) {
61                        mes "[Acolyte Klift]";
62                        mes "Brother, you already possess";
63                        mes "the skill of ` Holy Light '.";
64                        mes "You cannot gain a skill you";
65                        mes "already possess ..";
66                        mes "I pray that you are using";
67                        mes "this skill for the work of good . .";
68                        close;
69                }
70                else {
71                        if (countitem(727) > 0 && countitem(991) > 0 && countitem(2608) > 0) {
72                                if ((JobLevel > 29 && BaseJob == Job_Acolyte) || BaseJob == Job_Monk || BaseJob == Job_Priest) {
73                                        mes "[Acolyte Klift]";
74                                        mes "Your faith has proven worthy";
75                                        mes "for you to gain the ' Holy Light ' skill.";
76                                        mes "Your skill is adequate";
77                                        mes "to use this skill.";
78                                        mes "Use it wisely. . .";
79                                        next;
80                                        delitem 727,1; //White_Jewel
81                                        delitem 991,1; //Crystal_Blue
82                                        delitem 2608,1; //Rosary
83                                        skill 156,1,0;
84                                        mes "[Acolyte Klift]";
85                                        mes "You now know ' Holy Light '";
86                                        mes "May you use this skill only in the";
87                                        mes "best conduct . . . . .";
88                                        close;
89                                }
90                        }
91                        mes "[Acolyte Klift]";
92                        mes "Oh, it is clear. . .";
93                        mes "You are not yet ready to";
94                        mes "receive the ' Holy Light ' skill.";
95                        next;
96                        mes "[Acolyte Klift]";
97                        mes "You should listen carefully to what";
98                        mes "is necessary for this skill.";
99                        mes "If you listen closely,";
100                        mes "you may learn what you lack.";
101                        mes "So that you may improve upon yourself.";
102                        close;
103                }
104        case 3:
105                mes "[Acolyte Klift]";
106                mes ". . . . .";
107                mes "I understand your zeal.";
108                mes "You have much time yet to";
109                mes "practice and gain experience.";
110                mes "Blessings upon you . . . . .";
111                close;
112        }
113}
114
115//============================================================
116// Old changelog
117//============================================================
118//= v1.0a Now using functions found in "Global_Functions.txt"
119//= for class checks.
120//= 1.2 Added Baby Class Support [Lupus]
121//= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
122//= 1.4 Fixed an exploit [Lupus]
123//= 1.4a changed perm. variables to temp ones [Lupus]
124//============================================================
Note: See TracBrowser for help on using the browser.