去除调试日志
parent
c439582b56
commit
5c914494a9
|
|
@ -286,12 +286,12 @@ public class SoldierLogic {
|
||||||
throw new ErrorCodeException(ErrorCode.CFG_NULL);//配置不存在
|
throw new ErrorCodeException(ErrorCode.CFG_NULL);//配置不存在
|
||||||
}
|
}
|
||||||
long soldierForce = calFightSoldierForce(user, lotteryConfig);
|
long soldierForce = calFightSoldierForce(user, lotteryConfig);
|
||||||
LOGGER.info("小兵战斗,英雄编队原始战力,英雄:{},小兵:{}",teamForce,soldierForce);
|
// LOGGER.info("小兵战斗,英雄编队原始战力,英雄:{},小兵:{}",teamForce,soldierForce);
|
||||||
long force = teamForce + soldierForce;
|
long force = teamForce + soldierForce;
|
||||||
// 计算开服时间的加成
|
// 计算开服时间的加成
|
||||||
int totalUp = getAttackUpByServerStart();
|
int totalUp = getAttackUpByServerStart();
|
||||||
force = Math.round(force * (totalUp / 100d + 1));
|
force = Math.round(force * (totalUp / 100d + 1));
|
||||||
LOGGER.info("小兵战斗,英雄编队加成战力,{}",force);
|
// LOGGER.info("小兵战斗,英雄编队加成战力,{}",force);
|
||||||
// 总回合
|
// 总回合
|
||||||
long round = (stageConfig.getHp() / force) + 1;
|
long round = (stageConfig.getHp() / force) + 1;
|
||||||
// 每回合耗时
|
// 每回合耗时
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue