diff --git a/modules/hero/api_drawCard.go b/modules/hero/api_drawCard.go index a91e2fecb..c1fa9f783 100644 --- a/modules/hero/api_drawCard.go +++ b/modules/hero/api_drawCard.go @@ -173,6 +173,14 @@ func (this *apiComp) DrawCard(session comm.IUserSession, req *pb.HeroDrawCardReq } } //抽出5星英雄后A次抽奖内不会再抽到5星英雄(普通卡池+阵营卡池) + if heroRecord.Race[req.DrawType] >= cfgGlobal.DrawCardContinuousRestrictionStar5 && Is5Star { + if IsBaodiPool { + strPool[len(strPool)-1] = drawConf.P3pool + } else { + strPool[len(strPool)-1] = drawConf.N3pool + } + Is5Star = false + } } } // 通过卡池获得最终的英雄