Core/PacketIO: Fixed SMSG_GUILD_BANK_LIST packet payload for enchantments and sockets
Port From (https://github.com/TrinityCore/TrinityCore/commit/ca37b98fb80f3b431b6e95e88e16f579b429ac1b)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user