From 11e377d066f801535ca146685f55eee7aa72e878 Mon Sep 17 00:00:00 2001 From: jiahuiwen <1024696487@qq.com> Date: Fri, 21 Jun 2019 11:40:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=8C=E4=B8=BA39?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jieling/handler/map/behavior/ThirtyNineBehavior.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/serverlogic/src/main/java/com/ljsd/jieling/handler/map/behavior/ThirtyNineBehavior.java b/serverlogic/src/main/java/com/ljsd/jieling/handler/map/behavior/ThirtyNineBehavior.java index 82510ed54..24eb4fbca 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/handler/map/behavior/ThirtyNineBehavior.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/handler/map/behavior/ThirtyNineBehavior.java @@ -15,7 +15,10 @@ public class ThirtyNineBehavior extends BaseBehavior { @Override public boolean process(int optionId, User user, int[][] behaviorTypeValues, MapInfoProto.EventUpdateResponse.Builder eventUpdateResponse) throws Exception { - return false; + // readyInfo: 怪物组id#任务id#需要销毁事件id => 怪物组id#optionId + String readyInfo = behaviorTypeValues[0][0] + "#" + Integer.toString(optionId); + BehaviorUtil.fightReady(user.getId(), readyInfo); + return true; } @Override