Merge branch 'master' of http://60.1.1.230/backend/jieling_server
# Conflicts: # serverlogic/src/main/java/com/ljsd/jieling/handler/map/MapLogic.javaback_recharge
commit
ee1234ad2c
|
|
@ -151,9 +151,9 @@ public class MapLogic {
|
|||
}
|
||||
}
|
||||
}
|
||||
} else if (type == 2) {
|
||||
boolean enough = ItemUtil.itemCost(user, new int[][]{{Global.HEROSTORY_TICKET, 1}}, BIReason.MAP_ENTER_CONSUME, mapId);
|
||||
if (!enough) {
|
||||
}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");
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -53,11 +53,11 @@ 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()==2){
|
||||
if(sChallengeConfig.getType()==3){
|
||||
copyMissionUpdate= true;
|
||||
}
|
||||
if(mapMission == null ){
|
||||
|
|
|
|||
Loading…
Reference in New Issue