功绩20修改

back_recharge
lvxinran 2019-08-08 16:22:30 +08:00
parent 49ad73610d
commit 83adab494f
1 changed files with 6 additions and 7 deletions

View File

@ -10,7 +10,7 @@ import com.ljsd.jieling.logic.dao.root.User;
public class NotEventFinishEventDifficultMapProcessor implements BaseMissionProcesor {
@Override
public int checkAndUpdateMissionProcessor(User user, SAccomplishmentConfig sAccomplishmentConfig, int eventId, int time, MapMissionType mapMissionType, int missionValue) {
if(missionValue==-1){
if(missionValue==-1||missionValue==GlobalsDef.MAP_MISSION_FAILURE){
return GlobalsDef.MAP_MISSION_RETURN;
}
@ -31,20 +31,19 @@ public class NotEventFinishEventDifficultMapProcessor implements BaseMissionProc
break;
}
if(eventId==skipEvent[i]){
missionValue = skipEvent[i];
missionValue = -10000;
return missionValue;
}
}
if(flag){
for(int i = 0 ; i < finishEvent.length;i++){
if(eventId==finishEvent[i]){
if(missionValue<0){
if(missionValue==-1){
break;
}
missionValue = missionValue/2;
missionValue++;
}else{
missionValue =0-1<<(configValues[1][1]-1);
missionValue =0-configValues[2][1];
}
break;
}
}
}