天地洪炉抽卡特殊处理
parent
1367f81092
commit
69166c0950
|
@ -480,15 +480,15 @@ public class HeroLogic {
|
|||
}
|
||||
|
||||
int index = list.indexOf(sLotteryRewardConfig);
|
||||
///保底奖励替换逻辑
|
||||
if (sLotteryRewardConfig.getPool()==1304) {
|
||||
///保底奖励替换逻辑(偶数为保底卡池)
|
||||
if (sLotteryRewardConfig.getPool()%2==0) {
|
||||
index=index%count;
|
||||
}
|
||||
if (index >= count) {
|
||||
return sLotteryRewardConfig.getReward();
|
||||
}
|
||||
///天地洪炉默认没选择up道具特殊处理
|
||||
if (sLotteryRewardConfig.getPool()==1303) {
|
||||
///天地洪炉默认没选择up道具特殊处理(奇数为普通卡池)
|
||||
if (sLotteryRewardConfig.getPool()%2==1) {
|
||||
if (user.getHeroManager().getTrumpSelectItemMap().size()==0){
|
||||
HashMap<Integer, Integer> map = new HashMap<>();
|
||||
for (int i = 0; i < count; i++) {
|
||||
|
|
Loading…
Reference in New Issue