占星优化
parent
266808f042
commit
bff92f29f0
|
@ -535,6 +535,7 @@ public class ItemLogic {
|
|||
ArrayList<Integer> droplist = new ArrayList<>();
|
||||
int realTime = 0;
|
||||
int randTime = time == 1 ? 1 : 50;
|
||||
int newPool = currentPool;
|
||||
for (int i = 0; i < randTime; i++) {
|
||||
SEquipTalismanaLottery lotteryIn = SEquipTalismanaLottery.getsEquipTalismanaLotteryMap().get(currentPool);
|
||||
if (null == lotteryIn) {
|
||||
|
@ -551,7 +552,8 @@ public class ItemLogic {
|
|||
}
|
||||
}
|
||||
droplist.add(MathUtils.randomFromWeight(lotteryIn.getDrop()));
|
||||
currentPool = MathUtils.randomFromWeight(lottery.getProbability());
|
||||
currentPool = newPool;
|
||||
newPool = MathUtils.randomFromWeight(lotteryIn.getProbability());
|
||||
realTime++;
|
||||
}
|
||||
if (time != 50) {
|
||||
|
|
Loading…
Reference in New Issue