心愿抽奖,日志

duhui 2021-06-11 15:21:34 +08:00
parent 103819f770
commit 638b4e1cbd
1 changed files with 1 additions and 0 deletions

View File

@ -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]};