From 0372d7ab9b94561be98663927e431eacf5ed97fe Mon Sep 17 00:00:00 2001 From: zephyrus Date: Fri, 2 Jan 2009 23:48:36 +0000 Subject: - Novice quest fix - 2 missing headgears git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13430 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/jobs/novice/novice.txt | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'npc/jobs/novice/novice.txt') 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"; -- cgit v1.2.3-70-g09d2