fix
parent
4f2b52a685
commit
b74d2b13b6
|
@ -162,6 +162,7 @@ public class MapLogic {
|
||||||
//todo 更新地圖次數
|
//todo 更新地圖次數
|
||||||
mapManager.setCurMapId(mapId);
|
mapManager.setCurMapId(mapId);
|
||||||
if (type == 2) {
|
if (type == 2) {
|
||||||
|
user.getUserMissionManager().onGameEvent(user,GameEvent.COPY_TOWER_TIMES,1);
|
||||||
initTrialMap(mapManager, user);
|
initTrialMap(mapManager, user);
|
||||||
} else {
|
} else {
|
||||||
initMap(mapManager, user);
|
initMap(mapManager, user);
|
||||||
|
@ -2335,7 +2336,7 @@ public class MapLogic {
|
||||||
int star = crossInfo.getStars().size();
|
int star = crossInfo.getStars().size();
|
||||||
totalStar += star;
|
totalStar += star;
|
||||||
}
|
}
|
||||||
if (totalStar <= sChallengeStarBox.getStarNum()){
|
if (totalStar < sChallengeStarBox.getStarNum()){
|
||||||
LOGGER.info("totalStar less sChallengeStarBox.getStarNum totalStar is {} uid=>{}, id=>{}", totalStar,session.getUid(), id);
|
LOGGER.info("totalStar less sChallengeStarBox.getStarNum totalStar is {} uid=>{}, id=>{}", totalStar,session.getUid(), id);
|
||||||
MessageUtil.sendErrorResponse(session, 0, messageType.getNumber(), "");
|
MessageUtil.sendErrorResponse(session, 0, messageType.getNumber(), "");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue