diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-06-21 15:25:44 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-06-21 15:25:44 +0000 |
commit | 0f6c399c236ac332eb6a44ebc1b0ea77ec75d878 (patch) | |
tree | c59c5a024d8d0a1107bc32131ce172f2ad783b77 /npc/jobs/2-1/priest.txt | |
parent | dedf21753972f6f743c20aa7df2ff00fbf3f5a3b (diff) | |
download | hercules-0f6c399c236ac332eb6a44ebc1b0ea77ec75d878.tar.gz hercules-0f6c399c236ac332eb6a44ebc1b0ea77ec75d878.tar.bz2 hercules-0f6c399c236ac332eb6a44ebc1b0ea77ec75d878.tar.xz hercules-0f6c399c236ac332eb6a44ebc1b0ea77ec75d878.zip |
* Removed usage of the 'goto' command from job quests.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14351 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/jobs/2-1/priest.txt')
-rw-r--r-- | npc/jobs/2-1/priest.txt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/npc/jobs/2-1/priest.txt b/npc/jobs/2-1/priest.txt index d2f90066b..f1f47ae34 100644 --- a/npc/jobs/2-1/priest.txt +++ b/npc/jobs/2-1/priest.txt @@ -5,7 +5,7 @@ //= Converted by: kobra_k88. //= Further bugfixed and tested by Lupus //===== Current Version: ===================================== -//= 2.5 +//= 2.6 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -29,6 +29,7 @@ //= 2.4a Deleted unused variables. [Samuray22] //= 2.4b Corrected a Typo error ";;". [Samuray22] //= 2.5 Added Quest Log commands. [Kisuka] +//= 2.6 Removed the need for use of 'goto.' [L0ne_W0lf] //========================================================== prt_church,16,41,4 script High Bishop#prst 60,{ @@ -706,13 +707,21 @@ prt_church,27,24,1 script Sister Cecilia 79,{ mes "May God give you guidance and protection. When you complete your training, please come back to me."; close; } - else if (PRIEST_Q == 7) { - if(checkquest(8014) == -1) { - changequest 8013,8014; + else if (PRIEST_Q == 7 || PRIEST_Q == 8) { + if (PRIEST_Q == 7) { + if(checkquest(8014) == -1) { + 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."; + } + else if (PRIEST_Q == 8) { + mes "..."; + next; + mes "[Sister Cecilia]"; + mes "Welcome back."; + mes "I hope that you've reflected on what you've said last time, and that you now have the attitude to become a Priest."; } - mes "Welcome! I'm so glad to see you've come back! Now, there is one last trial left for you to complete."; next; -L_AskQuestions: mes "[Sister Cecilia]"; if (sex) mes "Brother "+ strcharinfo(0) +"..."; @@ -842,15 +851,6 @@ L_AskQuestions: mes "to throw this all away...?"; close; } - else if (PRIEST_Q == 8) { - mes "..."; - next; - mes "[Sister Cecilia]"; - mes "Welcome back."; - mes "I hope that you've reflected on what you've said last time, and that you now have the attitude to become a Priest."; - next; - goto L_AskQuestions; - } else if (PRIEST_Q == 9) { mes "Congratulations."; mes "You've completed all three trials required for the Priesthood. Bishop Paul is now waiting for you."; |