【家园功能1.0.4】无用代码删除,不影响原有逻辑
parent
fed5fcf59b
commit
bee333690e
|
@ -28,9 +28,7 @@ import rpc.protocols.MessageTypeProto;
|
|||
import rpc.protocols.PlayerInfoProto;
|
||||
import util.TimeUtils;
|
||||
|
||||
import java.time.temporal.ValueRange;
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public class HomeLogic {
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(HomeLogic.class);
|
||||
|
@ -129,7 +127,7 @@ public class HomeLogic {
|
|||
String[] stringValue = SSpecialConfig.getStringValue(SSpecialConfig.HONGMENG_LATTICE_PRICE).split("#");
|
||||
// 立即升级消耗的道具
|
||||
double time = Math.max(info.getUpLvEndTime() - now,0);
|
||||
// 每一单位的消耗
|
||||
// 每一个单位的消耗
|
||||
double oneCost = Integer.parseInt(stringValue[0]) * Integer.parseInt(stringValue[2]);
|
||||
// 总消耗数量,向上取整
|
||||
double count = Math.ceil(time / oneCost);
|
||||
|
|
|
@ -23,8 +23,6 @@ public class SBloodyMessagesConfig implements BaseConfig {
|
|||
|
||||
@Override
|
||||
public void init() throws Exception {
|
||||
//todo
|
||||
// MessageBoxUtils.init();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue