From baf73f9440d61b6ef385fd8c114b9b63c7ddb125 Mon Sep 17 00:00:00 2001 From: jiahuiwen <1024696487@qq.com> Date: Tue, 9 Apr 2019 09:28:37 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../map/behavior/MonitorMissionAndDestroyPointBehavior.java | 2 +- .../ljsd/jieling/handler/map/behavior/OpenMissionBehavior.java | 2 +- .../com/ljsd/jieling/handler/map/behavior/ThirtyBehavior.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/serverlogic/src/main/java/com/ljsd/jieling/handler/map/behavior/MonitorMissionAndDestroyPointBehavior.java b/serverlogic/src/main/java/com/ljsd/jieling/handler/map/behavior/MonitorMissionAndDestroyPointBehavior.java index b33f69d42..0afe46713 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/handler/map/behavior/MonitorMissionAndDestroyPointBehavior.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/handler/map/behavior/MonitorMissionAndDestroyPointBehavior.java @@ -49,7 +49,7 @@ public class MonitorMissionAndDestroyPointBehavior extends BaseBehavior { } } } else { - BehaviorUtil.addBehaviorInfo(behaviorTypeValues[j][0], user.getMapManager(), behaviorTypeValues[j][3], behaviorTypeValues[j][1], behaviorTypeValues[j][2]); + BehaviorUtil.addBehaviorInfo(behaviorTypeValues[j][3], user.getMapManager(), behaviorTypeValues[j][0], behaviorTypeValues[j][1], behaviorTypeValues[j][2]); } } return true; diff --git a/serverlogic/src/main/java/com/ljsd/jieling/handler/map/behavior/OpenMissionBehavior.java b/serverlogic/src/main/java/com/ljsd/jieling/handler/map/behavior/OpenMissionBehavior.java index c4794ffac..cc34d4a10 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/handler/map/behavior/OpenMissionBehavior.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/handler/map/behavior/OpenMissionBehavior.java @@ -27,7 +27,7 @@ public class OpenMissionBehavior extends BaseBehavior { Cell cellValue = new Cell(xy, mapPointConfig.getInitialEventId(), mapPointConfig.getId()); user.getMapManager().addOrUpdateCell(xy, cellValue); } else { - BehaviorUtil.addBehaviorInfo(behaviorTypeValues[1][0], user.getMapManager(), behaviorTypeValues[1][3], behaviorTypeValues[1][1], behaviorTypeValues[1][2]); + BehaviorUtil.addBehaviorInfo(behaviorTypeValues[1][3], user.getMapManager(), behaviorTypeValues[1][0], behaviorTypeValues[1][1], behaviorTypeValues[1][2]); } return true; } diff --git a/serverlogic/src/main/java/com/ljsd/jieling/handler/map/behavior/ThirtyBehavior.java b/serverlogic/src/main/java/com/ljsd/jieling/handler/map/behavior/ThirtyBehavior.java index cd818f410..c770c06ba 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/handler/map/behavior/ThirtyBehavior.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/handler/map/behavior/ThirtyBehavior.java @@ -31,7 +31,7 @@ public class ThirtyBehavior extends BaseBehavior { } return true; } else { - BehaviorUtil.addBehaviorInfo(behaviorTypeValues[1][0], user.getMapManager(), behaviorTypeValues[1][3], behaviorTypeValues[1][1], behaviorTypeValues[1][2]); + BehaviorUtil.addBehaviorInfo(behaviorTypeValues[0][3], user.getMapManager(), behaviorTypeValues[0][0], behaviorTypeValues[0][1], behaviorTypeValues[0][2]); } return true; }