四象心法bug 修改
parent
3a29dc0ce3
commit
10cb106a8d
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue