十绝阵结算

back_recharge
zhangshanxue 2020-08-18 20:10:12 +08:00
parent 22aca76856
commit 413f84af8a
2 changed files with 10 additions and 1 deletions

View File

@ -21,6 +21,7 @@ import com.ljsd.jieling.logic.dao.PlayerManager;
import com.ljsd.jieling.logic.dao.UserManager;
import com.ljsd.jieling.logic.dao.root.GuildInfo;
import com.ljsd.jieling.logic.dao.root.User;
import com.ljsd.jieling.logic.family.DeathPathLogic;
import com.ljsd.jieling.logic.mail.MailLogic;
import com.ljsd.jieling.network.session.ISession;
import com.ljsd.jieling.protocols.MessageTypeProto;
@ -222,6 +223,13 @@ public class AreaManager {
LOGGER.info("the server={} exec task server work,start", GameApplication.serverId);
try {
//结算十绝阵
DeathPathLogic.deleteDeathPathInfo();
} catch (Exception e) {
e.printStackTrace();
}
//合并排行榜
processAllRank();
@ -231,6 +239,7 @@ public class AreaManager {
//合并公会名称、
processChangeGuildName();
//更新入库
MongoUtil.getInstence().lastUpdate();

View File

@ -511,7 +511,7 @@ public class DeathPathLogic {
return new int[]{reward[0],reward[1]};
}
//清除排行信息
private void deleteDeathPathInfo() throws Exception {
public static void deleteDeathPathInfo() throws Exception {
//todo 邮件自动发奖
RedisUtil redisUtil = RedisUtil.getInstence();
AbstractRank guildRank = RankContext.getRankEnum(RankEnum.DEATH_PATH_TOTAL_GUILD_RANK.getType());