diff --git a/modules/hero/api_drawCard.go b/modules/hero/api_drawCard.go index 1cb22dbc0..163d03e9a 100644 --- a/modules/hero/api_drawCard.go +++ b/modules/hero/api_drawCard.go @@ -87,6 +87,8 @@ func (this *apiComp) DrawCard(session comm.IUserSession, req *pb.HeroDrawCardReq Code: pb.ErrorCode_HeroDrawCD, } return + } else { // 时间到了 + heroRecord.Wish[heroRecord.WishHero] = 0 // 时间清0 } } costRes = append(costRes, conf.Cond[heroRecord.WishHero].buyCos)