上传英雄装备列表初始栏位
This commit is contained in:
parent
aeabc8b548
commit
566f6855ce
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user