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-2/crusader.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-2/crusader.txt')
-rw-r--r-- | npc/jobs/2-2/crusader.txt | 73 |
1 files changed, 37 insertions, 36 deletions
diff --git a/npc/jobs/2-2/crusader.txt b/npc/jobs/2-2/crusader.txt index be9f2b58c..295a79009 100644 --- a/npc/jobs/2-2/crusader.txt +++ b/npc/jobs/2-2/crusader.txt @@ -4,7 +4,7 @@ //= Made by: Black Dragon //= Converted by: Shin //===== Current Version: ===================================== -//= 3.2 +//= 3.3 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -31,6 +31,7 @@ //= 3.0 Updated waiting room. (Removes global var) [L0ne_W0lf] //= 3.1 Adding Hermemton's changes. [L0ne_W0lf] //= 3.2 Added Quest Log commands. [Kisuka] +//= 3.3 Removed the need for use of 'goto.' [L0ne_W0lf] //============================================================ @@ -491,40 +492,40 @@ prt_church,95,127,3 script Crusader 745,{ mes "If you would like to become a Crusader, please speak with our leader in the Prontera Central Palace."; close; } - else if(CRUS_Q == 6) { - mes "Welcome."; - mes "Did you do well"; - mes "on those painful tests?"; - mes "I will be conducting your next test."; - next; - mes "[Gabriel Valentine]"; - mes "My name is Gabriel Valentine. I, too, am preparing for the Holy War. For the time being, I act as guard for this church."; - next; - mes "[Gabriel Valentine]"; - mes "I will test to see if you have acquired the knowledge that is necessary to become a Crusader."; - mes "We can't very well win the Holy War just by swinging a sword."; - next; - mes "[Gabriel Valentine]"; - mes "I will give"; - mes "you 10 questions."; - mes "Answer them correctly."; - next; - goto C_Questions; - } - else if(CRUS_Q == 7) { - mes "Welcome back~"; - mes "Did you prepare"; - mes "well for this test?"; - mes "Let's try again,"; - mes "shall we...?"; - next; - mes "[Gabriel Valentine]"; - mes "Once again, I'm going"; - mes "to give you 10 questions"; - mes "Listen carefully, and"; - mes "choose the correct answer."; - next; -C_Questions: + else if((CRUS_Q == 6) || (CRUS_Q == 7)) { + if(CRUS_Q == 6) { + mes "Welcome."; + mes "Did you do well"; + mes "on those painful tests?"; + mes "I will be conducting your next test."; + next; + mes "[Gabriel Valentine]"; + mes "My name is Gabriel Valentine. I, too, am preparing for the Holy War. For the time being, I act as guard for this church."; + next; + mes "[Gabriel Valentine]"; + mes "I will test to see if you have acquired the knowledge that is necessary to become a Crusader."; + mes "We can't very well win the Holy War just by swinging a sword."; + next; + mes "[Gabriel Valentine]"; + mes "I will give"; + mes "you 10 questions."; + mes "Answer them correctly."; + next; + } + else if(CRUS_Q == 7) { + mes "Welcome back~"; + mes "Did you prepare"; + mes "well for this test?"; + mes "Let's try again,"; + mes "shall we...?"; + next; + mes "[Gabriel Valentine]"; + mes "Once again, I'm going"; + mes "to give you 10 questions"; + mes "Listen carefully, and"; + mes "choose the correct answer."; + next; + } set .@cru_m,rand(1,3); if (.@cru_m == 1) { mes "[Gabriel Valentine]"; @@ -768,7 +769,7 @@ C_Questions: mes "[Gabriel Valentine]"; mes "Don't stress, you need to know a lot in order to pass this test. In any case, I'll be waiting right here. When you think you're ready, come back, alright?"; close; - } + } else if(CRUS_Q == 8 || CRUS_Q == 9) { mes "Like I mentioned before, you should go to Prontera Castle and meet with Bliant Piyord to take your next test. Good luck, and become a Crusder soon, alright?"; close; |