From b105a3ff135f347ea0af097279cdec6cffd88abc Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Fri, 9 Jun 2023 21:53:44 +0800 Subject: [PATCH] code 1030 --- modules/hero/api_talentlearn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hero/api_talentlearn.go b/modules/hero/api_talentlearn.go index d28b27a7c..d2d7e68e9 100644 --- a/modules/hero/api_talentlearn.go +++ b/modules/hero/api_talentlearn.go @@ -82,7 +82,7 @@ func (this *apiComp) TalentLearn(session comm.IUserSession, req *pb.HeroTalentLe user := this.module.ModuleUser.GetUser(session.GetUserId()) if user != nil { // 校验玩家等级 - if talentConf.Condition < user.Lv { // 等级不满足 + if talentConf.Condition > user.Lv { // 等级不满足 errdata = &pb.ErrorData{ Code: pb.ErrorCode_UserLvNoEnough, Title: pb.ErrorCode_UserLvNoEnough.ToString(),