back_recharge
jiahuiwen 2019-06-21 11:40:42 +08:00
parent 4ece82248c
commit 11e377d066
1 changed files with 4 additions and 1 deletions

View File

@ -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