back_recharge
parent
73b6bdaa8a
commit
95abc6698d
|
@ -70,6 +70,7 @@ public class ArenaManager extends MongoBase {
|
||||||
|
|
||||||
public void setFlushTime(int flushTime) {
|
public void setFlushTime(int flushTime) {
|
||||||
this.flushTime = flushTime;
|
this.flushTime = flushTime;
|
||||||
|
updateString("flushNums",flushTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getFlushNums() {
|
public int getFlushNums() {
|
||||||
|
|
|
@ -44,7 +44,9 @@ public class GuildMyInfo extends MongoBase {
|
||||||
path.clear();
|
path.clear();
|
||||||
curPos = STableManager.getFigureConfig(CommonStaticConfig.class).getInitPos();
|
curPos = STableManager.getFigureConfig(CommonStaticConfig.class).getInitPos();
|
||||||
setCurPos(curPos);
|
setCurPos(curPos);
|
||||||
setPath(new ArrayList<>());
|
//更新的是new ArrayList<>() 再加上指令更新优化 大key的存在 原path将更新不进去
|
||||||
|
//setPath(new ArrayList<>());
|
||||||
|
setPath(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -191,8 +191,10 @@ public class ExpeditionLogic {
|
||||||
|
|
||||||
//最后的奖励节点 前端显示跳转入口用
|
//最后的奖励节点 前端显示跳转入口用
|
||||||
if( nodeInfo1.getLay() == oldlay&&nodeInfo1.getType()==ExpeditionLogic.NODETYPE_REWARD){
|
if( nodeInfo1.getLay() == oldlay&&nodeInfo1.getType()==ExpeditionLogic.NODETYPE_REWARD){
|
||||||
|
if(user.getExpeditionManager().getExpeditionLeve()<=2){
|
||||||
nodeInfo1.setState(ExpeditionLogic.NODESTATE_NOT_GET);
|
nodeInfo1.setState(ExpeditionLogic.NODESTATE_NOT_GET);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
nodeInfos.add(CommonProto.ExpeditionNodeInfo.newBuilder()
|
nodeInfos.add(CommonProto.ExpeditionNodeInfo.newBuilder()
|
||||||
.setSortId(nodeInfo1.getSortId())
|
.setSortId(nodeInfo1.getSortId())
|
||||||
.setState(nodeInfo1.getState())
|
.setState(nodeInfo1.getState())
|
||||||
|
|
Loading…
Reference in New Issue