Issue Information
-
#007938
-
0 - None Assigned
-
Fixed
Issue Confirmations
-
Yes (5)No (0)
Frenzy requires Job level 50 before players can add the skill even if you're an RK already. After resetting skills you can't add frenzy skill anymore. But when you change your job level to 50, you can add it again.
i confirm this bug.
pc.c
- if( sd->status.job_level < pc->skill_tree[c][i].joblv )
- f = 0; // job level requirement wasn't satisfied
+ if( sd->status.job_level < pc->skill_tree[c][i].joblv ) { //We need to get the actual class in this case
+ int class_ = pc_mapid2jobid(sd->class_, sd->status.sex);
+ class_ = pc_class2idx(class_);
+ if (class_ == c || (class_ != c && sd->status.job_level < pc->skill_tree[class_][i].joblv))
+ f = 0; // job level requirement wasn't satisfied
+ }
- if( sd->status.job_level < pc->skill_tree[c][i].joblv )
- f = 0; // job level requirement wasn't satisfied
+ if( sd->status.job_level < pc->skill_tree[c][i].joblv ) { //We need to get the actual class in this case
+ int class_ = pc_mapid2jobid(sd->class_, sd->status.sex);
+ class_ = pc_class2idx(class_);
+ if (class_ == c || (class_ != c && sd->status.job_level < pc->skill_tree[class_][i].joblv))
+ f = 0; // job level requirement wasn't satisfied
+ }
Still Get Error When you change to Rune Knight Skill frenzy(Berserk) will gone.
if( sd->status.job_level <pc->skill_tree[c][i].joblv ) { //We need to get the actual class in this case
int class_ = pc->mapid2jobid(sd->class_, sd->status.sex);
class_ = pc_class2idx(class_);
if (class_ == c || (class_ != c && sd->status.job_level < pc->skill_tree[class_][i].joblv))
f = 0; // job level requirement wasn't satisfied
}
I confirm this bug!
Fixed @ e809003ebc015acc98728ba6f4515da173d8aabd
changed status to: Fixed