From 474feb0bb1594e06d51bc9a96b4afb62e388e1fe Mon Sep 17 00:00:00 2001 From: hondacrx Date: Thu, 14 Oct 2021 19:49:06 -0400 Subject: [PATCH] Core/PacketIO: Fixed SMSG_GUILD_BANK_LIST packet payload for enchantments and sockets Port From (https://github.com/TrinityCore/TrinityCore/commit/ca37b98fb80f3b431b6e95e88e16f579b429ac1b) --- Source/Game/Guilds/Guild.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Game/Guilds/Guild.cs b/Source/Game/Guilds/Guild.cs index 527f2a53e..45da13f75 100644 --- a/Source/Game/Guilds/Guild.cs +++ b/Source/Game/Guilds/Guild.cs @@ -2172,8 +2172,9 @@ namespace Game.Guilds itemInfo.Slot = slot; itemInfo.Item.ItemID = tabItem ? tabItem.GetEntry() : 0; itemInfo.Count = (int)(tabItem ? tabItem.GetCount() : 0); + itemInfo.EnchantmentID = (int)(tabItem ? tabItem.GetEnchantmentId(EnchantmentSlot.Perm) : 0); itemInfo.Charges = tabItem ? Math.Abs(tabItem.GetSpellCharges()) : 0; - itemInfo.OnUseEnchantmentID = 0/*int32(tabItem.GetItemSuffixFactor())*/; + itemInfo.OnUseEnchantmentID = (int)(tabItem ? tabItem.GetEnchantmentId(EnchantmentSlot.Use) : 0); itemInfo.Flags = 0; itemInfo.Locked = false;