fix 取mission问题
parent
65f9592f68
commit
24e9d35228
|
@ -151,7 +151,7 @@ public class MapLogic {
|
|||
}
|
||||
}
|
||||
}
|
||||
}else if(type == 2){
|
||||
}else if(type == 3){
|
||||
boolean enough = ItemUtil.itemCost(user, new int[][]{{Global.HEROSTORY_TICKET, 1}},BIReason.MAP_ENTER_CONSUME,mapId);
|
||||
if(!enough){
|
||||
MessageUtil.sendErrorResponse(iSession, 0, messageType.getNumber(), "no ticket");
|
||||
|
|
|
@ -53,9 +53,9 @@ public class MapMissionManager {
|
|||
if(mapId==0){
|
||||
return 0;
|
||||
}
|
||||
MapMission mapMission = mapManager.getCopyMissionProgresById(mapId);
|
||||
SChallengeConfig sChallengeConfig = SChallengeConfig.sChallengeConfigs.get(mapId);
|
||||
mapId=sChallengeConfig.getMapId();
|
||||
MapMission mapMission = mapManager.getCopyMissionProgresById(mapId);
|
||||
boolean copyMissionUpdate = false;
|
||||
if(sChallengeConfig.getType()==3){
|
||||
copyMissionUpdate= true;
|
||||
|
|
Loading…
Reference in New Issue