mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Core/Packets): Display item suffixes in guild bank packet. (#10200)
Fixes #9997
This commit is contained in:
@@ -2810,6 +2810,8 @@ void Guild::_SendBankList(WorldSession* session /* = nullptr*/, uint8 tabId /*=
|
|||||||
itemInfo.Charges = int32(std::abs(tabItem->GetSpellCharges()));
|
itemInfo.Charges = int32(std::abs(tabItem->GetSpellCharges()));
|
||||||
itemInfo.EnchantmentID = int32(tabItem->GetEnchantmentId(PERM_ENCHANTMENT_SLOT));
|
itemInfo.EnchantmentID = int32(tabItem->GetEnchantmentId(PERM_ENCHANTMENT_SLOT));
|
||||||
itemInfo.Flags = tabItem->GetInt32Value(ITEM_FIELD_FLAGS);
|
itemInfo.Flags = tabItem->GetInt32Value(ITEM_FIELD_FLAGS);
|
||||||
|
itemInfo.RandomPropertiesID = tabItem->GetItemRandomPropertyId();
|
||||||
|
itemInfo.RandomPropertiesSeed = int32(tabItem->GetItemSuffixFactor());
|
||||||
|
|
||||||
for (uint32 socketSlot = 0; socketSlot < MAX_GEM_SOCKETS; ++socketSlot)
|
for (uint32 socketSlot = 0; socketSlot < MAX_GEM_SOCKETS; ++socketSlot)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user