fix 训练小阶解锁等级应该以当前兵种为准
This commit is contained in:
@@ -273,7 +273,7 @@ export class HeroHandler {
|
||||
if (!hero)
|
||||
return resResult(STATUS.HERO_NOT_FIND);
|
||||
let heroJob = gameData.job.get(hero.job);
|
||||
let nextHeroJob = getJobByGradeAndClass(heroJob.job_class, heroJob.grade + 1);
|
||||
let nextHeroJob = getJobByGradeAndClass(heroJob.job_class, heroJob.grade);
|
||||
if (nextHeroJob.unlockLevel > hero.lv)
|
||||
return resResult(STATUS.NOT_REACH_UNLOCK_LEVEL);
|
||||
if (hero.jobStage >= 6)
|
||||
|
||||
Reference in New Issue
Block a user