This commit is contained in:
meixiongfeng 2022-10-27 19:48:21 +08:00
parent 14be41a497
commit 6a40c9b0fb

View File

@ -802,9 +802,9 @@ func (this *ModelHero) resetTalentProperty(hero *pb.DBHero) {
}
}
}
_heroMap := make(map[string]interface{}, 0)
_heroMap["talentProperty"] = hero.TalentProperty
if err := this.ChangeList(hero.Uid, hero.Id, _heroMap); err != nil {
this.moduleHero.Errorf("mergeenegryProperty err %v", err)
}
// _heroMap := make(map[string]interface{}, 0)
// _heroMap["talentProperty"] = hero.TalentProperty
// if err := this.ChangeList(hero.Uid, hero.Id, _heroMap); err != nil {
// this.moduleHero.Errorf("mergeenegryProperty err %v", err)
// }
}