Merge branch 'master' of http://60.1.1.230/backend/jieling_server
commit
727cee1960
|
|
@ -303,6 +303,9 @@ public class MissionEventDistributor {
|
||||||
if(gameMisionType == GameMisionType.SEVENMISSION){
|
if(gameMisionType == GameMisionType.SEVENMISSION){
|
||||||
STreasureTaskConfig sTreasureTaskConfig = STreasureTaskConfig.sTreasureTaskConfigMap.get(missionStateChangeInfo.getMissionId());
|
STreasureTaskConfig sTreasureTaskConfig = STreasureTaskConfig.sTreasureTaskConfigMap.get(missionStateChangeInfo.getMissionId());
|
||||||
progress= sTreasureTaskConfig.getTaskValue()[1][0];
|
progress= sTreasureTaskConfig.getTaskValue()[1][0];
|
||||||
|
if(progress<0){
|
||||||
|
progress=1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
builder.addUserMissionInfo(CommonProto.UserMissionInfo.newBuilder().setMissionId(missionStateChangeInfo.getMissionId()).setType(gameMisionType.getType()).setState(state).setProgress(progress).setTakeTimes(missionStateChangeInfo.getHadTakes()));
|
builder.addUserMissionInfo(CommonProto.UserMissionInfo.newBuilder().setMissionId(missionStateChangeInfo.getMissionId()).setType(gameMisionType.getType()).setState(state).setProgress(progress).setTakeTimes(missionStateChangeInfo.getHadTakes()));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue