圣遗物主词条加权随机

This commit is contained in:
UnKownOwO
2023-02-19 14:37:09 +08:00
parent e580baeb46
commit 777ffea0a9
8 changed files with 122 additions and 7 deletions
+1 -2
View File
@@ -124,8 +124,7 @@ func (g *GameManager) WearEquipReq(player *model.Player, payloadMsg pb.Message)
g.WearUserAvatarWeapon(player.PlayerID, avatar.AvatarId, weapon.WeaponId)
case *model.Reliquary:
reliquary := equipGameObj.(*model.Reliquary)
logger.Error("itemId: %v", reliquary.ItemId)
// g.WearUserAvatarReliquary(player.PlayerID, avatar.AvatarId, reliquary.ReliquaryId)
g.WearUserAvatarReliquary(player.PlayerID, avatar.AvatarId, reliquary.ReliquaryId)
default:
logger.Error("equip type error, equipGuid: %v", req.EquipGuid)
g.SendError(cmd.WearEquipRsp, player, &proto.WearEquipRsp{})