From 566f6855ce264639ab2e5a294554df68004548a9 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Wed, 2 Nov 2022 19:14:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E8=8B=B1=E9=9B=84=E8=A3=85?= =?UTF-8?q?=E5=A4=87=E5=88=97=E8=A1=A8=E5=88=9D=E5=A7=8B=E6=A0=8F=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/hero/model_hero.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/hero/model_hero.go b/modules/hero/model_hero.go index 85d56cc8c..87989ed11 100644 --- a/modules/hero/model_hero.go +++ b/modules/hero/model_hero.go @@ -55,7 +55,7 @@ func (this *ModelHero) InitHero(uid string, heroCfgId string) *pb.DBHero { Block: false, //未锁定 CardType: heroCfg.Type, //卡片类型 Skins: []int32{}, - EquipID: make([]string, 6), //初始装备 + EquipID: make([]string, 8), //初始装备 SameCount: 1, //默认叠加数量 AddProperty: make(map[string]int32), Energy: make(map[string]int32), @@ -358,9 +358,9 @@ func (this *ModelHero) setEquipment(hero *pb.DBHero) (newHero *pb.DBHero, err er hero.Suite2Lv = 0 hero.SuiteId = 0 hero.SuiteExtId = 0 - hero.EquipID = make([]string, 6) + hero.EquipID = make([]string, 8) newHero = this.CloneNewHero(hero) - hero.EquipID = make([]string, 6) + hero.EquipID = make([]string, 8) hero.SameCount = 1 hero.IsOverlying = false update["isoverlying"] = false