删除多个点
parent
1f9144ceef
commit
c231cdda2f
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue