1 //===== rAthena Script =======================================
3 //===== By: ==================================================
4 //= kobra_k88; L0ne_W0lf
5 //===== Current Version: =====================================
7 //===== Compatible With: =====================================
9 //===== Description: =========================================
10 //= [Official Conversion]
11 //= Job quest for Acolyte classes
12 //===== Additional Comments: =================================
13 //= 1.0 Fully working.
14 //= 1.1 Added function calls for Priest Quest.
15 //= 1.2 Fixed Marthilda, Yosuke bugs. [Lupus]
16 //= 1.2a Added instant job change for High Novice [Lupus]
17 //= 1.3 Added Baby Class support [Lupus]
18 //= 1.4 Optimised and moved first checker to Jfunc1-1 [massdriller]
19 //= 1.5 Now saves/restores all quest skills [Lupus]
20 //= 1.6 Merged back JFunc [Lupus]
21 //= 1.7 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf]
22 //= No longer uses function "F_ToHigh"
23 //= Proper dialog for Priest job quest is unused (for now.)
24 //= 1.7a Functions now make use of proper priest quest dialog [L0ne_W0lf]
25 //= 1.8 Removed an Unnecessary "set job_acolyte_q,0;" [Samuray22]
26 //= 1.8a More bug fixes care of Crashy. [L0ne_W0lf]
27 //= 1.9 Changed Marthilda to Mathilda. [L0ne_W0llf]
28 //= 2.0 Fixed High Acolytesnot being given holy light. [L0ne_W0lf]
29 //= 2.1 Added Quest Log commands. [L0ne_W0lf]
30 //= 2.2 Fixed an issue with completequest by adding checkquest. [Kisuka]
31 //============================================================
33 prt_church,184,41,4 script Cleric#aco 60,{
35 if (ADVJOB == Job_High_Priest || ADVJOB == Job_Champion) {
36 if (Class == Job_Novice_High) {
37 mes "[Father Mareusis]";
38 mes "Ah, I sense you have endured";
39 mes "a past life experience. You must have learned many things before entering Valhalla.";
41 if (!callfunc("F_CanChangeJob")) {
42 mes "[Father Mareusis]";
43 mes "Unfortunately, I don't think you're ready to become an Acolyte yet. Please finish learning all of the Basic Skills first.";
45 mes "[Father Mareusis]";
46 mes "In the meantime,";
47 mes "I will wait until";
53 mes "[Father Mareusis]";
54 mes "Well, I welcome you";
55 mes "back from Valhalla and";
56 mes "wish you luck on your";
57 mes "new life's journey.";
59 skill "NV_TRICKDEAD",0,SKILL_PERM;
60 jobchange Job_Acolyte_High;
61 skill "AL_HOLYLIGHT",1,SKILL_PERM;
62 mes "[Father Mareusis]";
63 mes "Now, venture forth and seek those who need your help. May God light your path.";
67 mes "[Father Mareusis]";
68 mes "Now, venture forth to seek people who need your help. May God enlighten your way.";
73 mes "[Father Mareusis]";
74 mes "I sense that you have endured a past life experience. You must have learned many things before entering Valhalla.";
76 mes "[Father Mareusis]";
77 mes "However, I can tell that you are not suited to be an Acolyte. Please remember who you were in your past life and find your path.";
81 mes "[Father Mareusis]";
82 mes "What is it that you seek?";
84 switch(select("Father, I want to be a Acolyte.:Acolyte Requirements.:Just looking around.")) {
86 mes "[Father Mareusis]";
87 if (BaseJob == Job_Acolyte) {
88 mes "Are you feeling okay today? I can tell by your attire that you are already an Acolyte. You're not joking around, are you?";
91 else if (BaseJob != Job_Novice) {
92 mes "I'm sorry, but we can only accept Novices as applicants for the job change to Acolyte.";
95 if (job_acolyte_q == 0) {
98 mes "a servant of God?";
100 if (select("Yes Father, I do.:Nope, I lied.") == 1) {
101 mes "[Father Mareusis]";
102 mes "Good. I accept " + strcharinfo(0) + "'s will to become an Acolyte. You understand that you must do penance before you can become a servant of God, right?";
104 mes "[Father Mareusis]";
106 mes "give you a mission...";
110 mes "Please visit ^000077Father Rubalkabara^000000, a member of the Prontera Parish, and return here. He has been practicing asceticism in the ^000077Relics NorthEast of Prontera City^000000.";
115 mes "Please visit ^000077Mother Mathilda^000000 and then return to me. She has been practicing asceticism near ^000077Morroc Town, SouthWest of Prontera City^000000.";
120 mes "Please visit ^000077Father Yosuke^000000 and return here. He has been practicing asceticism around ^000077a bridge somewhere NorthWest of Prontera^000000.";
125 mes "[Father Mareusis]";
126 mes "May the grace of God light your path and guide you during your journey of penance.";
129 mes "[Father Mareusis]";
131 mes "It is good that you";
132 mes "have confessed your";
133 mes "wrongdoing. Go in";
134 mes "peace, my son.";
137 mes "Oh, you've come back. Let me check and see if you are ready to serve God. Let's see...";
139 mes "[Father Mareusis]";
140 if (!callfunc("F_CanChangeJob")) {
141 mes "Good Lord! Haven't you accomplished the Basic Training yet?! It's important that you finish that!";
143 mes "[Father Mareusis]";
144 mes "You should have trained more! Go back and make sure you reach Novice Job Level 9 and learn all of the Basic Skills!";
147 if (job_acolyte_q < 5) {
148 mes "Oh? I can't find your name on the Registration List.";
150 switch(job_acolyte_q) {
152 mes "[Father Mareusis]";
153 mes "Please visit ^000077Father Rubalkabara^000000, a member of the Prontera Parish, and return here.";
155 mes "[Father Mareusis]";
156 mes "He has been practicing asceticism in the ^000077Relics at the NorthEast of Prontera City^000000.";
159 mes "[Father Mareusis]";
160 mes "Please Visit ^000077Mother Mathilda^000000 and return here to me.";
162 mes "[Father Mareusis]";
163 mes "She has been practicing asceticism near ^000077Morroc Town, located SouthWest of Prontera City^000000.";
166 mes "[Father Mareusis]";
167 mes "Please visit ^000077 Father Yosuke ^000000 and return here to me.";
169 mes "[Father Mareusis]";
170 mes "He has been practicing asceticism near a ^000077bridge somewhere to the NorthWest of Prontera^000000.";
174 mes "[Father Mareusis]";
175 mes "May the grace of God brighten your path and guide you on your journey of penance.";
179 mes "Your name is on the list and you've proven your qualification.";
181 mes "[Father Mareusis]";
182 mes "I am proud to say that you are now ready to become an Acolyte!";
184 skill "NV_TRICKDEAD",0,SKILL_PERM;
185 callfunc "Job_Change",Job_Acolyte;
186 callfunc "F_ClearJobVar";
187 if(checkquest(1001) != -1) {
190 else if(checkquest(1002) != -1) {
196 mes "[Father Mareusis]";
197 mes "Always remember to be thankful to God, who is taking care of us all the time.";
199 mes "[Father Mareusis]";
200 mes "Always use your gifts to serve Him by helping others. In chaos and times of difficulty, face your hardships with unwavering faith.";
202 mes "[Father Mareusis]";
203 mes "Lastly, I want to sincerely congratulate you on persevering through your trial of penance.";
206 mes "[Father Mareusis]";
207 mes "Do you wish to become an Acolyte? You must fulfill two requirements.";
209 mes "[Father Mareusis]";
210 mes "First, you have to reach at least Novice Job Level 9 and learn all of the Basic Skills. Second, you will be given a trial of penance to overcome.";
212 mes "[Father Mareusis]";
213 if (job_acolyte_q != 0) {
214 switch(job_acolyte_q) {
216 mes "For your trial, please visit ^000077Father Rubalkabara ^000000 and then return here to me.";
218 mes "[Father Mareusis]";
219 mes "He is practicing asceticism in the ^000077Relics at the NorthEast of Prontera City^000000.";
222 mes "For your trial, please visit ^000077Mother Mathilda^000000 and return here to me.";
224 mes "[Father Mareusis]";
225 mes "She has been practicing asceticism near ^000077Morroc, located to the SouthWest of Prontera City^000000.";
228 mes "For your trial, please visit ^000077Father Yosuke^000000 and return here to me.";
230 mes "[Father Mareusis]";
231 mes "He has been practicing asceticism around a bridge somewhere ^000077NorthWest of Prontera^000000.";
235 mes "[Father Mareusis]";
236 mes "May the grace of God light your path and guide you on your journey of penance.";
239 mes "The destination for this trial will be decided once you fill the application form.";
242 mes "[Father Mareusis]";
243 mes "Please come back after fulfilling the two requirements I've asked of you. As long as your desire to serve God and others is sincere, you will be able to make it.";
250 prt_fild03,365,255,2 script Ascetic#aco 89,{
251 mes "[Father Rubalkabara]";
252 if (BaseJob == Job_Novice) {
253 if (job_acolyte_q == 6) {
254 mes "Please take care. They should know that you've met me by the time you arrive at the Prontera Sanctuary.";
256 mes "[Father Rubalkabara]";
257 mes "I've sent a carrier pigeon with a message. I hope it will arrive there safely...";
260 if (job_acolyte_q != 0) {
261 if (job_acolyte_q == 2) {
262 mes "Oh...? You must be the one who aspires to become an Acolyte. I've already received news from the Sanctuary that you might be coming.";
264 mes "[Father Rubalkabara]";
265 mes "Now, your name was " + strcharinfo(0) + ", right? Excellent, thank you for visiting me.";
267 mes "[Father Rubalkabara]";
268 mes "I believe you've been told much about Acolytes from Friar Mareusis. Plus, there's plenty of helpful people in the Prontera Sanctuary.";
270 mes "[Father Rubalkabara]";
271 mes "I guess there's really no need for me to teach you much. Besides, I'm sure your someone from your generation may have trouble listening to an old man like me. Hahaha~";
273 mes "[Father Rubalkabara]";
274 mes "Still, lessons may come from the places you'd least expect. God loves to teach his children in strange ways. You'll see.";
276 mes "[Father Rubalkabara]";
277 mes "Well, I'll send the message telling them that you've come to visit me. So, you may now return to the Prontera Sanctuary.";
279 mes "[Father Rubalkabara]";
282 savepoint "prt_fild03",361,255,1,1;
288 mes "Are you one of the";
289 mes "Acolyte applicants...?";
292 mes "[Father Rubalkabara]";
293 mes "Your name is " + strcharinfo(0) + "?";
294 mes "I don't think your name";
295 mes "is on my list. Hmmm...";
297 mes "[Father Rubalkabara]";
298 mes "Why don't you go back to the Prontera Sanctuary and check again?";
303 mes "Huh? What brings you here? This is a very dangerous place for a Novice like yourself!";
307 else if (BaseJob == Job_Acolyte) callfunc "F_FatherRub";
309 if (BaseJob == Job_Priest) {
312 mes "[Father Rubalkabara]";
313 mes "Welcome to the Deep. Feel free to sit and contemplate God's message with me. This place is beautiful, even if danger accompanies its sense of serenity...";
318 mes "Have you come into the Deep here for training? Or are you just a Wanderer?";
320 mes "[Father Rubalkabara]";
321 mes "Whoever you are, please take care of yourself. The monsters in here are shockingly strong, contrary to their cute appearance.";
327 moc_fild07,41,355,4 script Ascetic#2aco 95,{
328 mes "[Mother Mathilda]";
329 if (BaseJob == Job_Novice) {
330 if (job_acolyte_q == 7) {
331 mes "I will send a carrier pigeon to the Prontera Sanctuary. When you return, the Priest there should already have received my message.";
333 mes "[Mother Mathilda]";
334 mes "I will pray to God, and hope that you become an Acolyte soon.";
337 if (job_acolyte_q != 0) {
338 if (job_acolyte_q == 3) {
339 mes "Ah, you must be one of the Acolyte applicants. I sincerely welcome you.";
341 mes "[Mother Mathilda]";
342 mes "What is your name? " + strcharinfo(0) + "? Let's see... Ah, you're on my list.";
344 mes "[Mother Mathilda]";
345 mes "I will send a message to the Sanctuary confirming that you, " + strcharinfo(0) + " visited me and completed your penance.";
347 mes "[Mother Mathilda]";
348 mes "Please return to the Prontera Sanctuary and speak to the Priest in charge.";
350 savepoint "moc_fild07",35,355,1,1;
356 mes "You must be one";
357 mes "of the Acolyte applicants.";
358 mes "I sincerely welcome you.";
360 mes "[Mother Mathilda]";
361 mes "Now, what is your name?";
362 mes "" + strcharinfo(0) + "? Let's see...";
364 mes "[Mother Mathilda]";
366 mes "It seems your name";
367 mes "is not on my list...";
369 mes "[Mother Mathilda]";
370 mes "Perhaps you should return to the Prontera Sanctuary and check the destination for your penance trial once again.";
379 else if (BaseJob == Job_Acolyte) callfunc "F_MotherMart";
381 if (BaseJob == Job_Priest) {
384 mes "[Mother Mathilda]";
385 mes "How is your practice coming along? I certainly hope you're enjoying living in the grace of God.";
390 mes "be with you...";
396 prt_fild00,208,218,6 script Ascetic#3aco 98,{
397 mes "[Father Yosuke]";
398 if (BaseJob == Job_Novice) {
399 if (job_acolyte_q == 8) {
402 mes "[Father Yosuke]";
403 mes "Have you any more business with me?! You don't! Go back to the Sanctuary now!";
406 if (job_acolyte_q != 0) {
407 if (job_acolyte_q == 4) {
409 mes "Whatever you are,";
410 mes "you look like an";
411 mes "Acolyte applicant.";
414 mes "[Father Yosuke]";
415 mes "Not bad, not bad. You withstood the penance trial pretty well.";
416 mes "So what's your name?";
418 mes "[Father Yosuke]";
419 mes "" + strcharinfo(0) + ", huh?";
421 mes "[Father Yosuke]";
422 mes "Okay. I'll send a message to the Sanctuary that you, " + strcharinfo(0) + ", came to visit me.";
424 mes "[Father Yosuke]";
425 mes "Now go back to the Santuary and finish becoming an Acolyte, kid.";
427 savepoint "prt_fild00",206,230,1,1;
433 mes "You look like an Acolyte Applicant. Am I right?";
435 mes "[Father Yosuke]";
436 mes "Not bad at all, you've made it all the way here from Prontera. So what's your name, kid?";
438 mes "[Father Yosuke]";
439 mes "" + strcharinfo(0) + ", huh? Why isn't your name on my list?";
441 mes "[Father Yosuke]";
442 mes "You probably made a mistake. Go back to the Santuary, and check with the Bishop.";
449 mes "There something";
450 mes "you wanna tell me?";
454 else if (BaseJob == Job_Acolyte) callfunc "F_FatherYos";
456 if (BaseJob == Job_Priest) {
459 mes "[Father Yosuke]";
460 mes "If you like, come sit here with me and meditate the great truths. God's majesty is truly inspiring...";
464 mes "Do you have anything to say? Because unfortunately for you,";
465 mes "I don't any replies.";