rank
parent
0af7eb4a4c
commit
3719f64ec8
|
|
@ -852,6 +852,7 @@ public class CombatLogic {
|
|||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 发送结算奖励
|
||||
* @throws Exception
|
||||
|
|
@ -865,12 +866,13 @@ public class CombatLogic {
|
|||
String value = item.getValue();
|
||||
int uid = Integer.parseInt(value);
|
||||
User user = UserManager.getUser(uid);
|
||||
String rewardByRank = getRewardByRank(rank++);
|
||||
String rewardByRank = getRewardByRank(rank);
|
||||
if("".equals(rewardByRank)){
|
||||
break;
|
||||
}
|
||||
String content=SErrorCodeEerverConfig.getI18NMessage("adventure_boss_reward_txt",new Object[]{user.getPlayerInfoManager().getNickName(),rank});
|
||||
MailLogic.getInstance().sendMail(user.getId(),title,content,rewardByRank,nowTime, Global.MAIL_EFFECTIVE_TIME);
|
||||
rank++;
|
||||
MongoUtil.getInstence().lastUpdate();
|
||||
}
|
||||
String key = RedisUtil.getInstence().getKey(RedisKey.ADVENTRUEN_BOSS_RANK, "");
|
||||
|
|
|
|||
Loading…
Reference in New Issue