diff options
author | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-22 16:31:56 +0000 |
---|---|---|
committer | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-22 16:31:56 +0000 |
commit | b5735b90f5ec847a89acd80509e8ba2ce23a3905 (patch) | |
tree | c784ba41982fe5370eee9245d9fe65063b389328 /src/map/pc.c | |
parent | e52e5e17df12881d87065106a96ed48a9d302555 (diff) | |
download | hercules-b5735b90f5ec847a89acd80509e8ba2ce23a3905.tar.gz hercules-b5735b90f5ec847a89acd80509e8ba2ce23a3905.tar.bz2 hercules-b5735b90f5ec847a89acd80509e8ba2ce23a3905.tar.xz hercules-b5735b90f5ec847a89acd80509e8ba2ce23a3905.zip |
Check changelog ^^
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1267 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 9e607f560..07e712dbe 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -978,13 +978,11 @@ int pc_calc_skilltree(struct map_session_data *sd) if(i==331) continue; sd->status.skill[i].id=i; } - if(battle_config.enable_upper_class){ //confで無?でなければ?み?む - for(i=355;i<411;i++) - sd->status.skill[i].id=i; - for(i=475;i<480;i++) - sd->status.skill[i].id=i; - } - }else{ + for(i=355;i<411;i++) + sd->status.skill[i].id=i; + for(i=475;i<480;i++) + sd->status.skill[i].id=i; + } else { do { flag=0; for(i=0;(id=skill_tree[s][c][i].id)>0;i++){ @@ -3611,10 +3609,6 @@ struct pc_base_job pc_calc_base_job(int b_class) bj.upper = 2; } - if(battle_config.enable_upper_class==0){ //confで無?になっていたらupper=0 - bj.upper = 0; - } - if(bj.job == 0){ bj.type = 0; }else if(bj.job < 7){ @@ -4355,12 +4349,10 @@ int pc_allskillup(struct map_session_data *sd) if(i==331) continue; sd->status.skill[i].lv=skill_get_max(i); } - if(battle_config.enable_upper_class){ //confで無?でなければ?み?む - for(i=355;i<411;i++) - sd->status.skill[i].lv=skill_get_max(i); - for(i=475;i<480;i++) - sd->status.skill[i].lv=skill_get_max(i); - } + for(i=355;i<411;i++) + sd->status.skill[i].lv=skill_get_max(i); + for(i=475;i<480;i++) + sd->status.skill[i].lv=skill_get_max(i); } else { for(i=0;(id=skill_tree[s][c][i].id)>0;i++){ |