diff --git a/modules/hero/api_drawCard.go b/modules/hero/api_drawCard.go index 193edd31d..0d7aae279 100644 --- a/modules/hero/api_drawCard.go +++ b/modules/hero/api_drawCard.go @@ -63,7 +63,7 @@ func (this *apiComp) DrawCard(session comm.IUserSession, req *pb.HeroDrawCardReq pool = this.module.modelHero.CheckPool(drawCount, cfgDraw) drawCount += 1 strPool = append(strPool, pool) - ret := this.CheckCondition(session.GetUserId(), req.DrawCount) + ret := this.module.CheckCondition(session.GetUserId(), req.DrawCount) if ret == true { // 命中插入5星英雄 szStar = append(szStar, 5) continue