wangyuan 2019-07-08 22:02:39 +08:00
parent 4f2b52a685
commit b74d2b13b6
1 changed files with 2 additions and 1 deletions

View File

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