功绩18修改
parent
516c45c2da
commit
6d79100c20
|
@ -16,18 +16,19 @@ public class FinishEventByOrderDifficultMapProcessor implements BaseMissionProce
|
|||
if(sChallengeConfig.getDifficultType()!=configValues[configValues.length-1][0]||missionValue==-1){
|
||||
return GlobalsDef.MAP_MISSION_RETURN;
|
||||
}
|
||||
for(int i = 0 ; i <configValues.length-1;i++){
|
||||
if(eventId!=configValues[i][0]){
|
||||
|
||||
}else if(eventId==configValues[missionValue][0]){
|
||||
missionValue++;
|
||||
if(missionValue==0){
|
||||
for(int i = 0 ;i < configValues[0].length;i++){
|
||||
if(eventId==configValues[0][i]){
|
||||
missionValue = 0-configValues.length+1;
|
||||
}
|
||||
}
|
||||
}else{
|
||||
missionValue = 0;
|
||||
for(int i = 0 ;i<configValues[configValues.length+missionValue].length;i++){
|
||||
if(eventId==configValues[configValues.length+missionValue][i]){
|
||||
missionValue++;
|
||||
}
|
||||
}
|
||||
//确认完成
|
||||
if(missionValue==configValues.length-1){
|
||||
missionValue=-1;
|
||||
|
||||
}
|
||||
return missionValue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue