瀏覽代碼

1.土地等级

slambb 3 年之前
父節點
當前提交
3e29222767

+ 1 - 1
src/main/java/com/td/boss/game/complayersattri/service/ComPlayersLuckyServiceImpl.java

@@ -156,7 +156,7 @@ public class ComPlayersLuckyServiceImpl extends CommonServiceImpl<ComPlayersLuck
         }
         //Slambb added code
         //直接获取升级的 levelId
-        Integer levelId = comPlayerLand.getLandLevel() == null ? 1 : comPlayerLand.getLandLevel() + 1;
+        Integer levelId = comPlayerLand.getLandLevel() == null ? 2 : comPlayerLand.getLandLevel() + 1;
         ComPlayersLuckyLandLevelUpVo landLevelUpVo = getLandLevelUp().stream().filter(a -> a.getId().equals(levelId)).findFirst().orElse(null);
         if (landLevelUpVo == null) {
             return Result.of(null, false, "升级失败,无效升级!");