ranfom pool
parent
37f5729309
commit
368006246b
|
@ -104,6 +104,9 @@ public class NewWelfareActivity extends AbstractActivity {
|
|||
return;
|
||||
}
|
||||
}
|
||||
for(ActivityProgressInfo activityProgressInfo : activityProgressInfoMap.values()){
|
||||
activityProgressInfo.setState(2);
|
||||
}
|
||||
List<SActivityRewardConfig> sActivityRewardConfigs = SActivityRewardConfig.getsActivityRewardConfigByActivityId(id);
|
||||
itemAttrs.add(sActivityRewardConfigs.get(0).getReward());
|
||||
}
|
||||
|
|
|
@ -234,11 +234,13 @@ public class HeroLogic {
|
|||
int j=0;
|
||||
for(int i=0;i<perCount;i++){
|
||||
randCount++;
|
||||
if(pooId == 0){
|
||||
pooId = getSpecialPoolByRandcount(type, randCount,poolCount);
|
||||
int specialPoolId = getSpecialPoolByRandcount(type, randCount,poolCount);
|
||||
if(specialPoolId == 0){
|
||||
if(pooId==0){
|
||||
pooId = getPooId(sLotterySetting, pooId);
|
||||
}
|
||||
}else{
|
||||
pooId =specialPoolId;
|
||||
}
|
||||
LOGGER.info("the uid={},the type={},the poolId={}",uid,type,pooId);
|
||||
totalCount++;
|
||||
|
|
Loading…
Reference in New Issue