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 {