diff --git a/server/matchserver/player/player.go b/server/matchserver/player/player.go index 14c6dfb3..a145af7a 100644 --- a/server/matchserver/player/player.go +++ b/server/matchserver/player/player.go @@ -68,6 +68,20 @@ func (this *player) parseUserInfo(userInfo *common.UserInfo){ q5.DuckToSimple(userInfo.VipExp, &this.vipExp) q5.DuckToSimple(userInfo.HasVipLucky, &this.hasVipLucky) q5.DuckToSimple(userInfo.HasLuckySymbol, &this.hasLuckySymbol) + { + found := false + index := 0 + for _, val := range this.battleItems { + index++ + if val.ItemId == 900007 { + found = true + break + } + } + if found { + + } + } } func (this *player) parseHeroInfo(heroInfo *common.HeroInfo){