首充活动bug修改,部分代码修改注释
parent
36401ce309
commit
333faebe9c
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -254,6 +254,9 @@ class SheJiActivity extends AbstractActivity {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 社稷大典发奖
|
||||
*/
|
||||
protected void sendGuildReward() {
|
||||
|
||||
SGodSacrificeSetting sGodSacrificeSetting = STableManager.getConfig(SGodSacrificeSetting.class).get(1);
|
||||
|
|
Loading…
Reference in New Issue