删除多个点

back_recharge
jiahuiwen 2019-06-22 15:56:26 +08:00
parent 1f9144ceef
commit c231cdda2f
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ public class ThirtyFiveBehavior extends BaseBehavior {
@Override
public boolean process(int optionId, User user, int[][] behaviorTypeValues, MapInfoProto.EventUpdateResponse.Builder eventUpdateResponse) throws Exception {
BehaviorUtil.updateMission(user, eventUpdateResponse);
BehaviorUtil.destoryPoint(user, behaviorTypeValues[0][0]);
BehaviorUtil.destoryPoints(user, behaviorTypeValues[0]);
for (int i = 1; i < behaviorTypeValues.length; i++) {
BehaviorUtil.addBehaviorInfo(user,behaviorTypeValues[i][3], user.getMapManager(), behaviorTypeValues[i][0], behaviorTypeValues[i][1], behaviorTypeValues[i][2]);
}