四象心法bug 修改

back_recharge
yuanshuai 2021-09-13 17:18:53 +08:00
parent 3a29dc0ce3
commit 10cb106a8d
1 changed files with 5 additions and 5 deletions

View File

@ -39,7 +39,7 @@ public class SixiangUpStarRequestHandler extends BaseHandler<HeroInfoProto.Sixia
User user = UserManager.getUser(uid);
SixiangProfessionInfo professionInfo = user.getHeroManager().getSixiangDataMap().get(professionId);
SFourQuadrantConfig fourConfig=SFourQuadrantConfig.configByStrtMap.get(professionInfo.level);
// if (CheckUpStar(user,professionInfo)) {
if (CheckUpStar(user,professionInfo)) {
int[][]costArr=fourConfig.getRankupCost();
boolean costResult = ItemUtil.itemCost(user,costArr, BIReason.SIXIANG_UP_STAR_COST,professionId);
if (costResult) {
@ -68,10 +68,10 @@ public class SixiangUpStarRequestHandler extends BaseHandler<HeroInfoProto.Sixia
LOGGER.error("四象心法进阶材料不足");
throw new ErrorCodeException(ErrorCode.SERVER_DEFINE_SELF);
}
// }else{
// LOGGER.error("四象心法进阶条件不满足");
// throw new ErrorCodeException(ErrorCode.SERVER_DEFINE_SELF);
// }
}else{
LOGGER.error("四象心法进阶条件不满足");
throw new ErrorCodeException(ErrorCode.SERVER_DEFINE_SELF);
}
}