From 474a14ab48cc9fc0e791fea458541d594412e106 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Fri, 19 Jan 2024 20:30:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A9=E8=B5=8B=E6=8A=80=E8=83=BD=E5=8F=AA?= =?UTF-8?q?=E5=AD=98=E6=94=BE=E5=9C=A8=E5=A4=A9=E8=B5=8B=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E9=87=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/hero/model_hero.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/modules/hero/model_hero.go b/modules/hero/model_hero.go index 69a04f764..b1bf29f86 100644 --- a/modules/hero/model_hero.go +++ b/modules/hero/model_hero.go @@ -693,13 +693,6 @@ func (this *ModelHero) setTalentProperty(hero *pb.DBHero, conf *cfg.GameHeroTale hero.TalentProperty[conf.Attr.A] += conf.Attr.N _heroMap := make(map[string]interface{}, 0) - if conf.Skill != 0 { - hero.NormalSkill = append(hero.NormalSkill, &pb.SkillData{ - SkillID: conf.Skill, - SkillLv: 1, - }) - _heroMap["normalSkill"] = hero.NormalSkill - } _heroMap["talentProperty"] = hero.TalentProperty if err := this.ChangeList(hero.Uid, hero.Id, _heroMap); err != nil {