From b99f3dffce8bc680de9bee1711bf5c49eabe6cc4 Mon Sep 17 00:00:00 2001 From: xuexinpeng Date: Mon, 27 Dec 2021 00:05:38 +0800 Subject: [PATCH] =?UTF-8?q?yx=E7=A7=AF=E5=88=86=E9=87=8D=E7=BD=AE=20=20exp?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../crossServer/CrossYuxulundaoGetInfoHandler.java | 10 ++++++++-- .../com/ljsd/jieling/logic/player/PlayerLogic.java | 14 +++++--------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/serverlogic/src/main/java/com/ljsd/jieling/handler/crossServer/CrossYuxulundaoGetInfoHandler.java b/serverlogic/src/main/java/com/ljsd/jieling/handler/crossServer/CrossYuxulundaoGetInfoHandler.java index 994678d96..fdbe3be75 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/handler/crossServer/CrossYuxulundaoGetInfoHandler.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/handler/crossServer/CrossYuxulundaoGetInfoHandler.java @@ -126,8 +126,14 @@ public class CrossYuxulundaoGetInfoHandler extends BaseHandler team) throws Exception{ CSPlayer csPlayer = CrossServiceLogic.getPlayerByRedis(user.getId()); @@ -1177,10 +1177,6 @@ public class PlayerLogic { for(Map.Entry item : heroNotBufferAttribute.entrySet()){ int id = item.getKey(); int values = item.getValue().intValue(); - if (id == 53 || id == 57 || id == 58){ - //命中几率 治疗加成 受疗加成 - values = item.getValue().intValue()-10000; - } builder.addSpecialEffects(CommonProto.SpecialEffects.newBuilder().setPropertyId(id).setPropertyValue(values).build()); } Map jewels = crossArenaManager.getJewels(); @@ -1225,9 +1221,9 @@ public class PlayerLogic { for(Map.Entry item : heroNotBufferAttribute.entrySet()){ int id = item.getKey(); int values = item.getValue().intValue(); - if (id == 53 || id == 57 || id == 58){ + /* if (id == 53 || id == 57 || id == 58){ values = item.getValue().intValue()-10000; - } + }*/ builder.addSpecialEffects(CommonProto.SpecialEffects.newBuilder().setPropertyId(id).setPropertyValue(values).build()); } @@ -1553,7 +1549,7 @@ public class PlayerLogic { } return levelUpdateCount; } -// private boolean priviliageCheck(User user, int privilageTypeId, int checkNum,boolean isUpdate){ + // private boolean priviliageCheck(User user, int privilageTypeId, int checkNum,boolean isUpdate){ // Map vipInfo = user.getPlayerInfoManager().getVipInfo(); // if(privilageTypeId == 0){ // return true;