From 3ded8132e3395dd0bd8267a852d8feff7d340d13 Mon Sep 17 00:00:00 2001 From: "PC-202302260912\\Administrator" <1769111741@qq.com> Date: Fri, 25 Aug 2023 11:23:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=83=AD=E6=9B=B4=E5=85=AC=E4=BC=9Abug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/hotfix.json | 4 +++- .../main/java/com/ljsd/jieling/logic/hero/HeroLogic.java | 6 +++--- .../java/com/ljsd/jieling/logic/player/PlayerLogic.java | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/conf/hotfix.json b/conf/hotfix.json index b461670f0..bee2706e6 100644 --- a/conf/hotfix.json +++ b/conf/hotfix.json @@ -2,6 +2,8 @@ "version":"6", "classes":[ {"name":"GuildLogic.class","fullName":"com.ljsd.jieling.logic.family.GuildLogic"}, - {"name":"GuilidManager.class","fullName":"com.ljsd.jieling.logic.dao.GuilidManager"} + {"name":"GuilidManager.class","fullName":"com.ljsd.jieling.logic.dao.GuilidManager"}, + {"name":"PlayerLogic.class","fullName":"com.ljsd.jieling.logic.player.PlayerLogic"}, + {"name":"HeroLogic.class","fullName":"com.ljsd.jieling.logic.hero.HeroLogic"} ] } \ No newline at end of file diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/hero/HeroLogic.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/hero/HeroLogic.java index 1706c519f..3ed2cefde 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/hero/HeroLogic.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/hero/HeroLogic.java @@ -3402,7 +3402,7 @@ public class HeroLogic { public int calForce(Map heroAllAttribute) { float forceNum = 0;//基础值 float forceAdd = 0;//加成值 - LOGGER.info("战力基础属性=================={}",heroAllAttribute); +// LOGGER.info("战力基础属性=================={}",heroAllAttribute); //战力计算 for(Map.Entry item : heroAllAttribute.entrySet()){ Integer propertyId = item.getKey(); @@ -3417,7 +3417,7 @@ public class HeroLogic { } if(sPropertyConfig.getStyle() == GlobalsDef.PERCENT_TYPE){ forceAdd += propertyValue * sPropertyConfig.getScore() / 10000; - LOGGER.info("战力加成值 ================> {},{}" , propertyId, propertyValue * sPropertyConfig.getScore() / 10000); +// LOGGER.info("战力加成值 ================> {},{}" , propertyId, propertyValue * sPropertyConfig.getScore() / 10000); }else{ forceNum += propertyValue * sPropertyConfig.getScore(); } @@ -3425,7 +3425,7 @@ public class HeroLogic { // BigDecimal bg = new BigDecimal(forceAdd).setScale(4, RoundingMode.UP); // float v = bg.floatValue(); float result = (forceAdd + 1) * forceNum; - LOGGER.info("战力总结果==============={},{},{}",forceNum,forceAdd,result); +// LOGGER.info("战力总结果==============={},{},{}",forceNum,forceAdd,result); return (int)result; } diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/player/PlayerLogic.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/player/PlayerLogic.java index 08c749467..4a1efd34a 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/player/PlayerLogic.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/player/PlayerLogic.java @@ -1805,7 +1805,7 @@ public class PlayerLogic { } // JSONObject jsonObject = JSONObject.parseObject(userStr); // jsonObject.remove("activityManager"); - LOGGER.info("callback=> rPCClient is =>{}",userStr); +// LOGGER.info("callback=> rPCClient is =>{}",userStr); return gson.fromJson(userStr, User.class); }