抽卡次数

This commit is contained in:
meixiongfeng 2022-09-28 10:48:28 +08:00
parent 64a93d0fb2
commit 87ff904049

View File

@ -61,8 +61,8 @@ func (this *apiComp) DrawCard(session comm.IUserSession, req *pb.HeroDrawCardReq
} }
for i := 0; i < int(req.DrawCount); i++ { for i := 0; i < int(req.DrawCount); i++ {
drawCount += 1
pool = this.module.modelHero.CheckPool(drawCount, cfg) pool = this.module.modelHero.CheckPool(drawCount, cfg)
drawCount += 1
strPool = append(strPool, pool) strPool = append(strPool, pool)
sz := make([]int32, 0) sz := make([]int32, 0)