修改多队奖励为30分钟产出1次

master_longzhu_new
DESKTOP-C3M45P4\dengdan 2026-04-21 22:47:15 +08:00
parent 9a79ed7c15
commit b28a69daad
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ public class DuoduiTowerLogic {
LOGGER.error("多队获取奖励失败时间不足30分钟类型{},当前层数:{}time{}uid{}", type, tier, time, user.getId());
throw new ErrorTableException(162);//时间不足1分钟
}
int num = (nowInt - time) / 60 * 30;
int num = (nowInt - time) / (60 * 30);
int value = SSpecialConfig.getIntegerValue(SSpecialConfig.Duoduita_accumulation_time);
count = Math.min(num,value);
//更新数据库时间