无尽副本,调试日志

back_recharge
duhui 2021-01-04 11:44:58 +08:00
parent f5c70afcb2
commit f82b25d392
2 changed files with 2 additions and 1 deletions

View File

@ -2829,7 +2829,7 @@ public class MapLogic {
int[][] cost= new int[1][];
cost[0] = new int[]{item1.getItemId(),item1.getItemNum()};
ItemUtil.itemCost(user,cost,BIReason.ENDLESS_REASON_CHANGE,0);
LOGGER.info("======================清理无尽副本道具,玩家:{}道具id{},道具数量{}",uid,item1.getItemId(),item1.getItemNum());
System.out.println("======================清理无尽副本道具,玩家:{ " + uid + " }道具id{ " + item1.getItemId() + " }");
}
}
}

View File

@ -65,6 +65,7 @@ public class EndlessMap extends AbstractMap{
}
EndlessMapInfo endlessMapInfo = mapManager.getEndlessMapInfo();
//是否是新的周期
System.out.println("======================无尽副本,周期验证;用户:{ " + endlessMapInfo.getSeason() + " },内存:{ " + MapLogic.endlessSeason + " }");
if(endlessMapInfo.getSeason()!=MapLogic.endlessSeason){
TimeControllerOfFunction openTimeOfFuntionCacheByType = GlobalDataManaager.getInstance().getOpenTimeOfFuntionCacheByType(FunctionIdEnum.Endless);
// StoreLogic.initOnsStoereWithTime(user, SEndlessMapConfig.sEndlessMapConfigMap.get(4001).getMapStoreId(),openTimeOfFuntionCacheByType.getStartTime(),openTimeOfFuntionCacheByType.getEndTime());