升星广播

This commit is contained in:
meixiongfeng 2024-01-08 14:32:12 +08:00
parent ea98a6ea44
commit 2eda12aa3a

View File

@ -110,7 +110,7 @@ func (this *apiComp) StrengthenUpStar(session comm.IUserSession, req *pb.HeroStr
go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) {
//英雄升星 【玩家名称】已将【英雄名称】培养至6星
if user, err := this.module.ModuleUser.GetUser(session.GetUserId()); err == nil {
this.chat.SendSysChatToWorld(session, comm.ChatSystem8, _hero, _hero.Lv, 0, user.Name, _hero.HeroID)
this.chat.SendSysChatToWorld(session, comm.ChatSystem8, _hero, _hero.Star, 0, user.Name, _hero.HeroID)
} else {
this.module.Errorf("no found userdata uid:%s", session.GetUserId())
}