diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-01-02 23:48:36 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-01-02 23:48:36 +0000 |
commit | 0372d7ab9b94561be98663927e431eacf5ed97fe (patch) | |
tree | fdfdb04fc4bb7e9f5295cda3a7f56ad9a283d56d /npc/jobs/novice | |
parent | 66dc17cca754b9be1b2662fc7a0e983b698b8702 (diff) | |
download | hercules-0372d7ab9b94561be98663927e431eacf5ed97fe.tar.gz hercules-0372d7ab9b94561be98663927e431eacf5ed97fe.tar.bz2 hercules-0372d7ab9b94561be98663927e431eacf5ed97fe.tar.xz hercules-0372d7ab9b94561be98663927e431eacf5ed97fe.zip |
- Novice quest fix
- 2 missing headgears
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13430 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/jobs/novice')
-rw-r--r-- | npc/jobs/novice/novice.txt | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/npc/jobs/novice/novice.txt b/npc/jobs/novice/novice.txt index 9d81f2ef3..dcd6bcd0b 100644 --- a/npc/jobs/novice/novice.txt +++ b/npc/jobs/novice/novice.txt @@ -3840,20 +3840,10 @@ S_UserJobchoice: mes "I see. It's your choice."; mes "There is no obligation to change to the job we recommend. Please choose the job you wish to become."; next; - setarray .@JOBS$[0],"Swordsman","Mage","Merchant","Thief","Archer","Acolyte"; - - for( set .@i,0; .@i < getarraysize(.@JOBS$); set .@i,.@i+1 ) - { - if(.@JOBS$[.@i] == getarg(0)) set .@menu$,.@menu$+":"; - else set .@menu$,.@menu$+.@JOBS$[.@i]+":"; - } - set .@menu, select(.@menu$) -1; - if( .@JOBS$[.@menu] == "Swordsman" ) set @menu,1; - else if( .@JOBS$[.@menu] == "Mage" ) set @menu,2; - else if( .@JOBS$[.@menu] == "Merchant" ) set @menu,3; - else if( .@JOBS$[.@menu] == "Thief" ) set @menu,4; - else if( .@JOBS$[.@menu] == "Archer" ) set @menu,5; - else if( .@JOBS$[.@menu] == "Acolyte" ) set @menu,6; + select( "Swordsman:Mage:Merchant:Thief:Archer:Acolyte" ); + // @menu is already set by Core. + setarray .@Jobs$[1],"Swordsman","Mage","Merchant","Thief","Archer","Acolyte"; + mes "[Hanson]"; mes "You have chosen"; if (@menu == 1) { @@ -3929,7 +3919,7 @@ S_UserJobchoice: mes "Free tickets for Kafra storage and transportation can be used for Kafra storage and teleport services."; next; mes "[Hanson]"; - mes "'Zeny' is the currency of Rune-Midgard. The 'Adventurer's Suit' will come in handy once you become a "+@menu+"."; + mes "'Zeny' is the currency of Rune-Midgard. The 'Adventurer's Suit' will come in handy once you become a " + .@Jobs$[@menu] + "."; next; mes "[Hanson]"; mes "You will now"; |