summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-23 02:57:13 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-23 02:57:13 +0000
commit728ac69d781cce707b9e699af2d66754edb2cc9d (patch)
tree4dbb2d10d5326631b03c3f88f7503f0886264962 /src
parente17f2ca619eae7c96bdf72f5189bc8be052d03e1 (diff)
downloadhercules-728ac69d781cce707b9e699af2d66754edb2cc9d.tar.gz
hercules-728ac69d781cce707b9e699af2d66754edb2cc9d.tar.bz2
hercules-728ac69d781cce707b9e699af2d66754edb2cc9d.tar.xz
hercules-728ac69d781cce707b9e699af2d66754edb2cc9d.zip
* Fixed @allskill not adding points into advanced job skills
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1165 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 0a5ef8a67..52c2b6a8f 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -1001,7 +1001,7 @@ int pc_calc_skilltree(struct map_session_data *sd)
}
if (sd->status.job_level < skill_tree[s][c][i].joblv)
f=0;
- if (id >= 2 && id <= 53 && pc_checkskill(sd, NV_BASIC) < 9)
+ else if (id >= 2 && id <= 53 && pc_checkskill(sd, NV_BASIC) < 9)
f=0;
}
if(f && sd->status.skill[id].id==0 ){
@@ -4348,9 +4348,9 @@ int pc_allskillup(struct map_session_data *sd)
}
if(battle_config.enable_upper_class){ //confで無?でなければ?み?む
for(i=355;i<411;i++)
- sd->status.skill[i].id=i;
+ sd->status.skill[i].lv=skill_get_max(i);
for(i=475;i<480;i++)
- sd->status.skill[i].id=i;
+ sd->status.skill[i].lv=skill_get_max(i);
}
}
else {