新做的日任务,会记点将台抽卡次数(有新将活动只记新将抽卡次数)

back_recharge
xuexinpeng 2021-08-05 11:32:38 +08:00
parent 70a16ceaec
commit 84d0cb053a
1 changed files with 4 additions and 1 deletions

View File

@ -361,7 +361,10 @@ public class HeroLogic{
} }
} }
user.getUserMissionManager().onGameEvent(user,GameEvent.RANDOM_HERO,sLotterySetting.getLotteryType(),perCount); user.getUserMissionManager().onGameEvent(user,GameEvent.RANDOM_HERO,sLotterySetting.getLotteryType(),perCount);
user.getUserMissionManager().onGameEvent(user, GameEvent.NEW_HERO_ZHAOMU,sLotterySetting.getPerCount()); if(sLotterySetting.getLotteryType()==11){
//只记录新将招募次数
user.getUserMissionManager().onGameEvent(user, GameEvent.NEW_HERO_ZHAOMU,sLotterySetting.getPerCount());
}
heroManager.updateRandCount(type,perCount); heroManager.updateRandCount(type,perCount);
CommonProto.Drop.Builder drop = ItemUtil.dropPer(user, resultRandom,BIReason.HERO_RANDOM); CommonProto.Drop.Builder drop = ItemUtil.dropPer(user, resultRandom,BIReason.HERO_RANDOM);
fiveStarPushByRandom(user,resultRandom); fiveStarPushByRandom(user,resultRandom);