back_recharge
zhangshanxue 2020-06-22 20:03:11 +08:00
parent 73b6bdaa8a
commit 95abc6698d
3 changed files with 7 additions and 2 deletions

View File

@ -70,6 +70,7 @@ public class ArenaManager extends MongoBase {
public void setFlushTime(int flushTime) {
this.flushTime = flushTime;
updateString("flushNums",flushTime);
}
public int getFlushNums() {

View File

@ -44,7 +44,9 @@ public class GuildMyInfo extends MongoBase {
path.clear();
curPos = STableManager.getFigureConfig(CommonStaticConfig.class).getInitPos();
setCurPos(curPos);
setPath(new ArrayList<>());
//更新的是new ArrayList<>() 再加上指令更新优化 大key的存在 原path将更新不进去
//setPath(new ArrayList<>());
setPath(path);
}

View File

@ -191,7 +191,9 @@ public class ExpeditionLogic {
//最后的奖励节点 前端显示跳转入口用
if( nodeInfo1.getLay() == oldlay&&nodeInfo1.getType()==ExpeditionLogic.NODETYPE_REWARD){
nodeInfo1.setState(ExpeditionLogic.NODESTATE_NOT_GET);
if(user.getExpeditionManager().getExpeditionLeve()<=2){
nodeInfo1.setState(ExpeditionLogic.NODESTATE_NOT_GET);
}
}
nodeInfos.add(CommonProto.ExpeditionNodeInfo.newBuilder()
.setSortId(nodeInfo1.getSortId())