CloneNewHero
This commit is contained in:
parent
d4b6c368cb
commit
75a5a0f29d
@ -62,8 +62,10 @@ func (this *apiComp) Awaken(session comm.IUserSession, req *pb.HeroAwakenReq) (c
|
||||
if _hero.SameCount > 1 { //有堆叠的情况
|
||||
// 克隆一个新的
|
||||
_hero.SameCount -= 1
|
||||
_hero.JuexingLv = 0
|
||||
_hero.JuexProperty = map[string]int32{}
|
||||
|
||||
newHero := this.module.modelHero.CloneNewHero(_hero)
|
||||
_hero.JuexProperty = map[string]int32{}
|
||||
chanegCard = append(chanegCard, newHero)
|
||||
_heroMap["isOverlying"] = false
|
||||
_heroMap["sameCount"] = 1
|
||||
|
Loading…
Reference in New Issue
Block a user