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