From 728ac69d781cce707b9e699af2d66754edb2cc9d Mon Sep 17 00:00:00 2001 From: celest Date: Wed, 23 Feb 2005 02:57:13 +0000 Subject: * 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 --- src/map/pc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/pc.c') 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 { -- cgit v1.2.3-70-g09d2