Compare commits
No commits in common. "351d5979ba90c7244d45ff893c16602e70d9c6f5" and "d0f388e46ba7874248974b73d3107a9c9d4ceffe" have entirely different histories.
351d5979ba
...
d0f388e46b
|
@ -339,7 +339,7 @@ func (this *CSDiamondLotteryHandler) Process(s *netlib.Session, packetid int, da
|
||||||
}
|
}
|
||||||
if status {
|
if status {
|
||||||
//白名单从列表里获取奖励
|
//白名单从列表里获取奖励
|
||||||
id := rand.Intn(len(playerData.AwatdId))
|
id := rand.Intn(len(playerData.AwatdId)) + 1
|
||||||
awardId := playerData.AwatdId[id]
|
awardId := playerData.AwatdId[id]
|
||||||
for _, lotteryInfo := range config.Info {
|
for _, lotteryInfo := range config.Info {
|
||||||
if lotteryInfo.Id == awardId {
|
if lotteryInfo.Id == awardId {
|
||||||
|
|
Loading…
Reference in New Issue