首次十连不额外计算概率
This commit is contained in:
parent
3fccd69753
commit
8f9f187086
@ -200,6 +200,9 @@ func (this *apiComp) DrawCard(session comm.IUserSession, req *pb.HeroDrawCardReq
|
||||
if int32(len(v)) > randomIndex {
|
||||
if star == 5 { // 抽出5星英雄后A次抽奖内不会再抽到5星英雄(普通卡池+阵营卡池)
|
||||
curDrawCount := drawCount - req.DrawCount
|
||||
if curDrawCount <= 10 { // 首次十连不计算
|
||||
continue
|
||||
}
|
||||
newID := this.module.ContinuousRestriction(session.GetUserId(), v[randomIndex].Id, curDrawCount+int32(index), strPool[index])
|
||||
szCards = append(szCards, newID)
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user