From 45cf2c411a90626635ea8bd9dc5843bb37ac0412 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Wed, 28 Feb 2024 11:21:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=8B=B1=E9=9B=84=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/hero/model_hero.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/hero/model_hero.go b/modules/hero/model_hero.go index a190c56be..3a476ab92 100644 --- a/modules/hero/model_hero.go +++ b/modules/hero/model_hero.go @@ -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)