抽卡恢复之前逻辑

back_recharge
lvxinran 2020-06-05 16:49:00 +08:00
parent b2ffa3e799
commit 886ac0c143
1 changed files with 7 additions and 7 deletions

View File

@ -273,14 +273,14 @@ public class HeroLogic{
randCount++;
poolCount++;
int randomPoolId = pooId;
// if(!specialTrigger){
// randomPoolId = getSpecialPoolByRandcount(sLotterySetting, randCount,poolCount);
// specialTrigger=true;
// }
if(randomPoolId==0){
randomPoolId = getPooId(sLotterySetting);
int specialPoolId = getSpecialPoolByRandcount(sLotterySetting, randCount,poolCount);
if(specialPoolId == 0){
if(randomPoolId==0){
randomPoolId = getPooId(sLotterySetting);
}
}else{
randomPoolId =specialPoolId;
}
//
totalCount++;
SLotteryRewardConfig sLotteryRewardConfig = randomHeroByPoolId(randomPoolId, totalCount, user.getPlayerInfoManager().getLevel());
LOGGER.info("the uid={},the type={},the poolId={},reward={},poolCount={}",uid,type,randomPoolId,sLotteryRewardConfig.getId(),poolCount);