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