From 0fb715e75f9f63e91797910206869581930688f8 Mon Sep 17 00:00:00 2001 From: xuexinpeng Date: Mon, 18 Oct 2021 16:37:13 +0800 Subject: [PATCH] =?UTF-8?q?yx=E5=B1=9E=E6=80=A7=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- serverlogic/src/main/java/com/ljsd/CoreService.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/serverlogic/src/main/java/com/ljsd/CoreService.java b/serverlogic/src/main/java/com/ljsd/CoreService.java index bc903e11a..90de50a57 100644 --- a/serverlogic/src/main/java/com/ljsd/CoreService.java +++ b/serverlogic/src/main/java/com/ljsd/CoreService.java @@ -240,11 +240,12 @@ public class CoreService implements RPCRequestIFace.Iface { continue; } Map attribute; - if(teamId == GlobalsDef.FORMATION_NORMAL){ + /*if(teamId == GlobalsDef.FORMATION_NORMAL){ attribute = HeroLogic.getInstance().calHeroNotBufferAttribute(user, hero, false, teamId); }else{ - attribute = HeroLogic.getInstance().calHeroNotBufferAttribute(user, hero, true, teamId); - } + + }*/ + attribute = HeroLogic.getInstance().calHeroNotBufferAttribute(user, hero, true, teamId); if(arenaOfHero.getAttributeMapByTeam() == null){ arenaOfHero.setAttributeMapByTeam(new HashMap<>()); }