代码优化
parent
5e561f5fcd
commit
12e8e10fd6
|
@ -224,7 +224,7 @@ public class FourChallengeLogic {
|
|||
// 计算战力
|
||||
int myforce = HeroLogic.getInstance().calTeamTotalForce(user, teamId, false);
|
||||
|
||||
if (help == 1 && helpHero != null){
|
||||
if (help == 1){
|
||||
// 助战英雄使用状态修改
|
||||
helpHero.setState(1);
|
||||
// 发送奖励
|
||||
|
@ -348,7 +348,7 @@ public class FourChallengeLogic {
|
|||
}
|
||||
|
||||
/**
|
||||
* 首次获取时间,方法有问题,需要处理
|
||||
* 首次获取时间
|
||||
* @param user
|
||||
*/
|
||||
public void firstGetTimes(User user) throws Exception {
|
||||
|
|
Loading…
Reference in New Issue