summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-21 04:57:02 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-21 04:57:02 +0000
commitca715304f24e1177ab2fd17a761d5f9581ac08e5 (patch)
treed95a8a720fe1655191f67dfe510a434e8273bbc5
parent5e64e79baaf6de6e7f776898c4987e15f4404054 (diff)
downloadhercules-ca715304f24e1177ab2fd17a761d5f9581ac08e5.tar.gz
hercules-ca715304f24e1177ab2fd17a761d5f9581ac08e5.tar.bz2
hercules-ca715304f24e1177ab2fd17a761d5f9581ac08e5.tar.xz
hercules-ca715304f24e1177ab2fd17a761d5f9581ac08e5.zip
Bugfix
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6675 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--npc/custom/jobs/jobmaster.txt28
1 files changed, 27 insertions, 1 deletions
diff --git a/npc/custom/jobs/jobmaster.txt b/npc/custom/jobs/jobmaster.txt
index 10952f55c..7b6902d0e 100644
--- a/npc/custom/jobs/jobmaster.txt
+++ b/npc/custom/jobs/jobmaster.txt
@@ -33,7 +33,33 @@ prontera.gat,153,193,6 script Job Master 123,{
skill 143,1,0;
mes "Welcome, please select the job you wish to change into";
if(lastJob != 0 && Class == Job_Novice_High){
- set @target_job, BaseClass + 4001;
+ switch(lastJob){
+ case Job_Knight:
+ case Job_Crusader:
+ set @target_job, Job_Swordman_High;
+ break;
+ case Job_Monk:
+ case Job_Priest:
+ set @target_job, Job_Acolyte_High;
+ break;
+ case Job_Alchem:
+ case Job_Blacksmith:
+ set @target_job, Job_Merchant_High;
+ break;
+ case Job_Rogue:
+ case Job_Assassin:
+ set @target_job, Job_Thief_High;
+ break;
+ case Job_Wizard:
+ case Job_Sage:
+ set @target_job, Job_Mage_High;
+ break;
+ case Job_Hunter:
+ case Job_Bard:
+ case Job_Dancer:
+ set @target_job, Job_Archer_High;
+ break;
+ }
} else {
switch(select("Swordsman","Mage","Archer","Acolyte","Merchant","Thief",
"Super Novice","Taekwon","Gunslinger","Ninja")){