update
This commit is contained in:
parent
286e0e4e52
commit
7af40d1031
@ -309,13 +309,13 @@ func (this *ModelHero) setEquipment(hero *pb.DBHero) (newHero *pb.DBHero, err er
|
||||
_suiteExtId int32
|
||||
)
|
||||
update := make(map[string]interface{})
|
||||
if hero.IsOverlying && hero.SameCount > 1 {
|
||||
// 克隆一个新的
|
||||
hero.SameCount -= 1
|
||||
|
||||
_suiteId = hero.SuiteId
|
||||
_equipID = hero.EquipID
|
||||
_suiteExtId = hero.SuiteExtId
|
||||
|
||||
if hero.IsOverlying && hero.SameCount > 1 {
|
||||
// 克隆一个新的
|
||||
hero.SameCount -= 1
|
||||
hero.SuiteId = 0
|
||||
hero.EquipID = make([]string, 6)
|
||||
hero.SuiteExtId = 0
|
||||
|
Loading…
Reference in New Issue
Block a user