diff --git a/modules/hero/api_drawCard.go b/modules/hero/api_drawCard.go index 801d1cd7b..3f201c27e 100644 --- a/modules/hero/api_drawCard.go +++ b/modules/hero/api_drawCard.go @@ -75,7 +75,7 @@ func (this *apiComp) DrawCard(session comm.IUserSession, req *pb.HeroDrawCardReq } // 每日抽卡上限校验 - if cfgGlobal.DrawToplimit < heroRecord.Daycount { + if cfgGlobal.DrawToplimit < heroRecord.Daycount+req.DrawCount { errdata = &pb.ErrorData{ Code: pb.ErrorCode_HeroDrwaMax, Title: pb.ErrorCode_HeroDrwaMax.ToString(),