通知前端重复获得英雄分解

This commit is contained in:
meixiongfeng 2023-02-08 15:32:03 +08:00
parent de4013d7e9
commit a9743c6169

View File

@ -830,6 +830,12 @@ func (this *ModelHero) createHero(session comm.IUserSession, heroCfgId string, c
if obj.HeroID == heroCfgId {
hero = obj
bFirst = false
atno = append(atno, &pb.UserAtno{ // 有英雄的时候 数量给0
A: "hero",
T: hero.HeroID,
N: 0,
O: hero.Id,
})
break
}
}