心愿抽奖,日志
parent
103819f770
commit
638b4e1cbd
|
@ -1632,6 +1632,7 @@ public class ActivityLogic implements IEventHandler{
|
|||
count++;
|
||||
// 随机数
|
||||
int randomInt = MathUtils.randomInt(totalWeight);
|
||||
LOGGER.error("心愿抽奖,总权重:{},随机值:{},权重区间:{}-{},当前次数:{}",totalWeight,randomInt,totalWeight-incs[2],totalWeight,count);
|
||||
// up奖励信息
|
||||
int[] result = new int[]{incs[0],incs[1]};
|
||||
|
||||
|
|
Loading…
Reference in New Issue