summaryrefslogtreecommitdiff
path: root/npc/jobs/2-1/priest.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/jobs/2-1/priest.txt')
-rw-r--r--npc/jobs/2-1/priest.txt50
1 files changed, 25 insertions, 25 deletions
diff --git a/npc/jobs/2-1/priest.txt b/npc/jobs/2-1/priest.txt
index 57f6a2647..e28106f69 100644
--- a/npc/jobs/2-1/priest.txt
+++ b/npc/jobs/2-1/priest.txt
@@ -35,7 +35,7 @@
prt_church,16,41,4 script High Bishop#prst 1_M_PASTOR,{
// Uncomment the following 'if' statement to allow High Priests to assist Acolytes with the job change quest.
// Officially High Priests are blocked from helping by an indiscriminate check if you are a transcended character.
- //if (Class == Job_High_Priest) set .@AllowHPAssist,1;
+ //if (Class == Job_High_Priest) .@AllowHPAssist = 1;
if (Upper == 1 && .@AllowHPAssist != 1) {
mes "[Bishop Paul]";
mes "Hm...?";
@@ -241,7 +241,7 @@ prt_church,16,41,4 script High Bishop#prst 1_M_PASTOR,{
mes "I strongly recommend that you use all of these skill points before you apply for the Priest job change test.";
close;
}
- set PRIEST_Q,1;
+ PRIEST_Q = 1;
setquest 8009;
mes "[Bishop Paul]";
if (Sex)
@@ -271,7 +271,7 @@ prt_church,16,41,4 script High Bishop#prst 1_M_PASTOR,{
mes "[Bishop Paul]";
mes "I have no doubt that you will do a good job by yourself. However, it will be easier with the aid of a Brother or Sister that has already become a Priest.";
next;
- set PRIEST_Q,5;
+ PRIEST_Q = 5;
changequest 8009,8011;
mes "[Bishop Paul]";
mes "Well, are you ready for the Spiritual Training?";
@@ -392,7 +392,7 @@ prt_church,16,41,4 script High Bishop#prst 1_M_PASTOR,{
close;
}
else if (PRIEST_Q == 4) {
- set PRIEST_Q,5;
+ PRIEST_Q = 5;
changequest 8010,8011;
mes "[Bishop Paul]";
mes "You've accomplished";
@@ -509,7 +509,7 @@ prt_church,16,41,4 script High Bishop#prst 1_M_PASTOR,{
mes "[Bishop Paul]";
mes "Make this servant of yours an instrument of your miraculous works...";
next;
- set .@joblvl,JobLevel;
+ .@joblvl = JobLevel;
completequest 8016;
callfunc "Job_Change",Job_Priest;
callfunc "F_ClearJobVar"; // clears all job variables for the current player
@@ -690,7 +690,7 @@ prt_church,27,24,1 script Sister Cecilia 1_F_PRIEST,{
}
else if (PRIEST_Q == 7 || PRIEST_Q == 8) {
if (PRIEST_Q == 7) {
- if(checkquest(8014) == -1) {
+ if (!questprogress(8014)) {
changequest 8013,8014;
}
mes "Welcome! I'm so glad to see you've come back! Now, there is one last trial left for you to complete.";
@@ -722,7 +722,7 @@ prt_church,27,24,1 script Sister Cecilia 1_F_PRIEST,{
mes "[Sister Cecilia]";
mes "Aw...? How could you give me that kind of answer? I assume you're not ready to be a Priest yet...";
next;
- set PRIEST_Q,8;
+ PRIEST_Q = 8;
mes "[Sister Cecilia]";
mes "You should reflect a little more on the teachings of holiness and come back later. You can't be a Priest if your spirit is weak.";
close;
@@ -734,7 +734,7 @@ prt_church,27,24,1 script Sister Cecilia 1_F_PRIEST,{
mes "[Sister Cecilia]";
mes "Aw...? God won't grant you the power of holiness if your goals aren't just and pure. Meditate on your motivations for a while, and then come back to me.";
next;
- set PRIEST_Q,8;
+ PRIEST_Q = 8;
mes "[Sister Cecilia]";
mes "Think about the qualities that make Priests people of respect. You can't be a Priest if your spirit is not in accordance with God.";
close;
@@ -746,7 +746,7 @@ prt_church,27,24,1 script Sister Cecilia 1_F_PRIEST,{
mes "[Sister Cecilia]";
mes "No, no. You've got the wrong idea. God authorizes us to use his power to support his children. You must help people in danger: it is your obligation.";
next;
- set PRIEST_Q,8;
+ PRIEST_Q = 8;
mes "[Sister Cecilia]";
mes "Go and observe the adventurers that are fighting for peace in this world. They will teach you what you must do in order to help them.";
close;
@@ -758,7 +758,7 @@ prt_church,27,24,1 script Sister Cecilia 1_F_PRIEST,{
mes "[Sister Cecilia]";
mes "How can you say no...? That's one of the basic principles of Priesthood. You must value the welfare of others over your own safety.";
next;
- set PRIEST_Q,8;
+ PRIEST_Q = 8;
mes "[Sister Cecilia]";
mes "Go and think about the value of suffering and the meaning of sacrifice. When you think you understand more about helping those in need, come back to me.";
close;
@@ -770,7 +770,7 @@ prt_church,27,24,1 script Sister Cecilia 1_F_PRIEST,{
mes "[Sister Cecilia]";
mes "No no no... You've got it wrong. Even though your purpose is to spread God's message, no one will eagerly accept what you say when you spam text.";
next;
- set PRIEST_Q,8;
+ PRIEST_Q = 8;
mes "[Sister Cecilia]";
mes "Remember...";
mes "You must be a moral person, and display maturity and respect to other players. This kind of attitude applies for all classes,";
@@ -784,7 +784,7 @@ prt_church,27,24,1 script Sister Cecilia 1_F_PRIEST,{
mes "[Sister Cecilia]";
mes "No, you won't. Luring many monsters does more harm than good. There is no exception. That behavior is totally unacceptable.";
next;
- set PRIEST_Q,8;
+ PRIEST_Q = 8;
mes "[Sister Cecilia]";
mes "Even if it looks like you are aiding your party members, such action results in bad karma. Please reflect on that for a while.";
close;
@@ -796,7 +796,7 @@ prt_church,27,24,1 script Sister Cecilia 1_F_PRIEST,{
mes "[Sister Cecilia]";
mes "With that spirit, you can't be a Priest. If it is God's will to sacrifice yourself for a good purpose, you must carry out God's will as his servant.";
next;
- set PRIEST_Q,8;
+ PRIEST_Q = 8;
mes "[Sister Cecilia]";
mes "Besides, God has also given Priests the resurrection power. Think about the meaning of life and death again, and then come back to me.";
close;
@@ -809,7 +809,7 @@ prt_church,27,24,1 script Sister Cecilia 1_F_PRIEST,{
mes "You have demonstrated your devotion to God. Will you swear to adhere to his teachings for the rest of your days?";
next;
if (select("I do.:No.") == 1) {
- set PRIEST_Q,9;
+ PRIEST_Q = 9;
changequest 8014,8015;
mes "[Sister Cecilia]";
mes "Now, you have completed your oath of Priesthood and accomplished all three trials required to become a Priest.";
@@ -825,7 +825,7 @@ prt_church,27,24,1 script Sister Cecilia 1_F_PRIEST,{
mes "...";
mes "......";
next;
- set PRIEST_Q,8;
+ PRIEST_Q = 8;
mes "[Sister Cecilia]";
mes "You've come so far...";
mes "Why would you want";
@@ -953,14 +953,14 @@ job_prist,24,187,4 script Peter S. Alberto 4_M_MINISTER,{
donpcevent "Peter S. Alberto#2::OnEnable";
end;
case 2:
- set PRIEST_Q,6;
+ PRIEST_Q = 6;
mes "[Father Peter]";
mes "Hm? What is it you need?";
mes "Well, no problem. You can";
mes "afford to take your time.";
close;
case 3:
- set PRIEST_Q,6;
+ PRIEST_Q = 6;
mes "[Father Peter]";
mes "What...?";
mes "You wanna go back??";
@@ -990,7 +990,7 @@ job_prist,24,187,4 script Peter S. Alberto 4_M_MINISTER,{
mes "Kill those";
mes "misbegotten creatures!";
close2;
- if(checkquest(8012) == -1) {
+ if (!questprogress(8012)) {
changequest 8011,8012;
}
warp "job_prist",24,44;
@@ -1102,7 +1102,7 @@ OnEnable:
end;
OnM1:
- set .MyMobs,13;
+ .MyMobs = 13;
monster "job_prist",24,52,"Theft",1015,1,"Z_C#prst::OnMyMobDead";
monster "job_prist",18,52,"Want of Virtue",1015,1,"Z_C#prst::OnMyMobDead";
monster "job_prist",30,52,"Jealousy",1015,1,"Z_C#prst::OnMyMobDead";
@@ -1294,7 +1294,7 @@ OnDisable:
job_prist,24,109,4 script prst1_1 WARPNPC,3,3,{
OnTouch:
- set .@mobs,getvariableofnpc(.MyMobs,"Zombie_Generator#prst");
+ .@mobs = getvariableofnpc(.MyMobs,"Zombie_Generator#prst");
if (BaseJob == Job_Priest) warp "job_prist",168,17;
else if (BaseClass == Job_Acolyte && .@mobs < 1) {
warp "job_prist",168,17;
@@ -1711,8 +1711,8 @@ OnTouch:
end;
}
else if (BaseClass == Job_Acolyte) {
- set PRIEST_Q,7;
- if(checkquest(8012) != -1) {
+ PRIEST_Q = 7;
+ if (questprogress(8012)) {
changequest 8012,8013;
}
warp "prt_church",16,37;
@@ -1738,7 +1738,7 @@ function script F_FatherRub {
mes "Well then, please head to your next destination for your pilgrimage. Be safe in your travels.";
close2;
savepoint "prt_fild03",361,255;
- set PRIEST_Q,2;
+ PRIEST_Q = 2;
end;
}
else if (PRIEST_Q == 2) {
@@ -1786,7 +1786,7 @@ function script F_MotherMart {
mes "on your journey.";
close2;
savepoint "moc_fild07",35,355;
- set PRIEST_Q,3;
+ PRIEST_Q = 3;
end;
}
else if (PRIEST_Q == 3) {
@@ -1846,7 +1846,7 @@ function script F_FatherYos {
mes "completed.";
close2;
savepoint "prt_fild00",206,230;
- set PRIEST_Q,4;
+ PRIEST_Q = 4;
end;
}
else if (PRIEST_Q == 4) {