back_recharge
wangyuan 2019-04-03 19:20:25 +08:00
parent 72760b449f
commit 5495dab69a
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ public class HeroLogic {
int weight =0;
for(SLotteryRewardConfig sLotteryRewardConfig :sLotteryRewardConfigListByPoolId){
weight += sLotteryRewardConfig.getWeight();
if(weight>randCount){
if(weight>=randCount){
return sLotteryRewardConfig.getReward();
}