天地洪炉抽奖bug修改

back_recharge
yuanshuai 2022-01-10 12:07:44 +08:00
parent c03ae4a02f
commit e9b492ee5d
1 changed files with 4 additions and 0 deletions

View File

@ -480,6 +480,10 @@ public class HeroLogic {
}
int index = list.indexOf(sLotteryRewardConfig);
///保底奖励替换逻辑
if (sLotteryRewardConfig.getPool()==1304) {
index=index%count;
}
if (index >= count) {
return sLotteryRewardConfig.getReward();
}