寻仙招募修改3

back_recharge
duhui 2022-05-24 12:59:15 +08:00
parent 3a6a3fdf25
commit 2820f24561
1 changed files with 2 additions and 0 deletions

View File

@ -1906,6 +1906,7 @@ public class ActivityLogic implements IEventHandler{
// 随机位置给碎片
if (random.contains(i)){
reward[i] = new int[]{incs[0],incs[1]};
continue;
}
// 随机数
@ -1917,6 +1918,7 @@ public class ActivityLogic implements IEventHandler{
// 根据id获取奖池信息
SWishActivityPool pool = SWishActivityPool.map.get(entry.getKey());
reward[i] = pool.getItemId();
break;
}
// 未抽到, 减去当前次数权重
randomInt -= entry.getValue();