首充活动bug修改,部分代码修改注释

back_recharge
duhui 2022-10-12 16:50:59 +08:00
parent 36401ce309
commit 333faebe9c
4 changed files with 6 additions and 4 deletions

View File

@ -31,6 +31,6 @@ public class SevenWorldFunction implements FunctionManager {
String key = RedisUtil.getInstence().getKey(crossRedisKey, "",false);
RedisUtil.getInstence().del(key);
SevenWorldLogic.setEnd(false);
LOGGER.info("七界试炼活动开始,清理排行榜...{}",key);
LOGGER.info("七界试炼活动开始,清理排行榜...{}:{}",key,SevenWorldLogic.isEnd());
}
}

View File

@ -36,9 +36,7 @@ public class SweepBattleRequestHandler extends BaseHandler<FightInfoProto.SweepD
if(sFloodConfig == null){
return;
}
List<Integer> dropList = Lists.newArrayList();
boolean isOnekey= proto.getOnkeySweep();
boolean isSuccess = false;
CommonProto.Drop.Builder drop = null;
//判断是否挑战过
if(user.getMapManager().getLastMonsterAttack()<id){
@ -60,7 +58,7 @@ public class SweepBattleRequestHandler extends BaseHandler<FightInfoProto.SweepD
}
}else{
//扫荡一次
isSuccess = PlayerLogic.getInstance().checkAndUpdate(user,privilageType,1);
boolean isSuccess = PlayerLogic.getInstance().checkAndUpdate(user,privilageType,1);
if(isSuccess){
drop = ItemUtil.drop(user, sFloodConfig.getReward(), BIReason.MONSTERATTACK_REWARD);
user.getUserMissionManager().onGameEvent(user, GameEvent.MONSTER_ATTACK_PLAY,1);

View File

@ -75,6 +75,7 @@ public class RechargeFirstActivity extends AbstractActivity {
ActivityProgressInfo progressInfo = new ActivityProgressInfo();
progressInfo.setProgrss(TimeUtils.nowInt());
progressInfo.setState(0);
missionMap.put(reward.getId(),progressInfo);
}
}
}

View File

@ -254,6 +254,9 @@ class SheJiActivity extends AbstractActivity {
}
}
/**
*
*/
protected void sendGuildReward() {
SGodSacrificeSetting sGodSacrificeSetting = STableManager.getConfig(SGodSacrificeSetting.class).get(1);