From 80bdaf491e45584276f41dec8c86749fc895bbac Mon Sep 17 00:00:00 2001 From: lvxinran Date: Thu, 17 Sep 2020 01:41:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8buff?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ljsd/jieling/handler/map/MapLogic.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/serverlogic/src/main/java/com/ljsd/jieling/handler/map/MapLogic.java b/serverlogic/src/main/java/com/ljsd/jieling/handler/map/MapLogic.java index af69f67b7..930e921f2 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/handler/map/MapLogic.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/handler/map/MapLogic.java @@ -657,6 +657,11 @@ public class MapLogic { SEventPointConfig sEventPointConfig = STableManager.getConfig(SEventPointConfig.class).get(initialEventId); StoreLogic.initOneStore(user, sEventPointConfig.getOption()[0]); } + }else if(mapPointConfig.getStyle()==EventType.towerBuff){ + if(cell.getEventId()==0){ + BehaviorUtil.destoryApointXY(user,triggerXY); + throw new ErrorCodeException(ErrorCode.newDefineCode("该点已被清除")); + } } mapManager.setTriggerXY(triggerXY);