抽卡恢复之前逻辑
parent
b2ffa3e799
commit
886ac0c143
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue