法相升级bug修改

back_recharge
duhui 2023-02-17 18:05:06 +08:00
parent a6d7f97a43
commit 35289f9038
1 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ public class EquipLogic {
HashMap<Integer, Long> costMap = new HashMap<>();
int num = faxiang.getStrongLv();
while (num == targetLv){
while (num < targetLv){
SFaxiangLevelConfig levelConfig = levelConfigMap.get(num);
if (levelConfig == null || levelConfig.getPropList() == null){
throw new ErrorCodeException(ErrorCode.CFG_NULL,"SFaxiangLevelConfig 配置表不存在,或升级道具为空, level等级:"+num);
@ -176,7 +176,7 @@ public class EquipLogic {
HashMap<Integer, Long> costMap = new HashMap<>();
StringBuilder equipCostStr = new StringBuilder();
int num = faxiang.getStar();
while (num == targetLv){
while (num < targetLv){
SFaxiangStarConfig starConfig = starConfigMap.get(num);
if (starConfig == null || starConfig.getPropList() == null){
throw new ErrorCodeException(ErrorCode.CFG_NULL,"SFaxiangLevelConfig 配置表不存在,或升级道具为空, level等级:"+num);