天赋技能只存放在天赋属性里
This commit is contained in:
parent
38d8112efa
commit
474a14ab48
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user