跨服灵脉秘境

xuexinpeng 2021-11-23 19:06:17 +08:00
parent d7c548f248
commit 9d4bfa19a5
1 changed files with 2 additions and 1 deletions

View File

@ -81,7 +81,8 @@ public class CrossLingmaiLogic {
RedisUtil.getInstence().putMapEntry(RedisKey.CROSS_LINGMAISECRET_INFO,
crossGroup + RedisKey.Delimiter_colon + group, map.getKey(), map.getValue());
AbstractRank rank = RankContext.getRankEnum(RankEnum.CROSS_LINGMAI_RANK_PERSON.getType());
int score = map.getValue().getOccupyTime() * (config.getRewardList()[0][1]/60) + map.getValue().getScore1();
LOGGER.error("minute:"+map.getValue().getOccupyTime()+" per:"+(config.getRewardList()[0][1]/60));
int score = map.getValue().getOccupyTime() * config.getRewardList()[0][1]/60 + map.getValue().getScore1();
double test = rank.getScoreById(user.getId(), crossGroup + RedisKey.Delimiter_colon + group);
LOGGER.error("之前是:" + test + "之后是:" + score);
rank.addRank(user.getId(), String.valueOf(crossGroup) + RedisKey.Delimiter_colon + group, score);