优化英雄初始化数据

This commit is contained in:
liwei1dao 2024-02-28 11:21:17 +08:00
parent e842aabd37
commit 45cf2c411a

View File

@ -223,6 +223,10 @@ func (this *ModelHero) InitHero(uid string, heroCfgId string) (newHero *pb.DBHer
TalentProperty: make(map[int32]int32),
HoroscopeProperty: make(map[int32]int32),
Fetters: make(map[int32]int32),
ExclusiveProperty: make(map[int32]int32),
ExclusiveSkill: make([]*pb.SkillData, 0),
Lvreward: make(map[int32]bool),
Awakenreward: make(map[int32]bool),
}
this.initHeroSkill(newHero)
err = this.PropertyCompute(newHero)