From 35289f90388ea1118e1e74bbafe7a622ed35fa5e Mon Sep 17 00:00:00 2001 From: duhui Date: Fri, 17 Feb 2023 18:05:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=95=E7=9B=B8=E5=8D=87=E7=BA=A7bug?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ljsd/jieling/logic/equip/EquipLogic.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/equip/EquipLogic.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/equip/EquipLogic.java index d905a0a09..00c363880 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/equip/EquipLogic.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/equip/EquipLogic.java @@ -141,7 +141,7 @@ public class EquipLogic { HashMap 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 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);