aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Server/Packets
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2019-10-26 23:58:29 +0200
committerShauren <shauren.trinity@gmail.com>2019-10-27 00:12:45 +0200
commit3ac790287aba5f7d7c3bccf79e608de9119e461a (patch)
tree430abdcd4e7e17288c9edaf71980863e77518de9 /src/server/game/Server/Packets
parentee2e49429f4383732b4e0f39b493470b9c1dd10c (diff)
Core/DataStores: Updated db2 structures to 8.2.5
Diffstat (limited to 'src/server/game/Server/Packets')
-rw-r--r--src/server/game/Server/Packets/ItemPacketsCommon.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/server/game/Server/Packets/ItemPacketsCommon.cpp b/src/server/game/Server/Packets/ItemPacketsCommon.cpp
index e94123490aa..83fb1bd9328 100644
--- a/src/server/game/Server/Packets/ItemPacketsCommon.cpp
+++ b/src/server/game/Server/Packets/ItemPacketsCommon.cpp
@@ -77,25 +77,17 @@ void WorldPackets::Item::ItemInstance::Initialize(::LootItem const& lootItem)
if (lootItem.randomBonusListId)
ItemBonus->BonusListIDs.push_back(lootItem.randomBonusListId);
}
-
- if (lootItem.upgradeId)
- {
- Modifications = boost::in_place();
- Modifications->Insert(ITEM_MODIFIER_UPGRADE_ID, lootItem.upgradeId);
- }
}
void WorldPackets::Item::ItemInstance::Initialize(::VoidStorageItem const* voidItem)
{
ItemID = voidItem->ItemEntry;
- if (voidItem->ItemUpgradeId || voidItem->FixedScalingLevel || voidItem->ArtifactKnowledgeLevel)
+ if (voidItem->FixedScalingLevel || voidItem->ArtifactKnowledgeLevel)
{
Modifications = boost::in_place();
- if (voidItem->ItemUpgradeId)
- Modifications->Insert(ITEM_MODIFIER_UPGRADE_ID, voidItem->ItemUpgradeId);
if (voidItem->FixedScalingLevel)
- Modifications->Insert(ITEM_MODIFIER_SCALING_STAT_DISTRIBUTION_FIXED_LEVEL, voidItem->FixedScalingLevel);
+ Modifications->Insert(ITEM_MODIFIER_TIMEWALKER_LEVEL, voidItem->FixedScalingLevel);
if (voidItem->ArtifactKnowledgeLevel)
Modifications->Insert(ITEM_MODIFIER_ARTIFACT_KNOWLEDGE_LEVEL, voidItem->ArtifactKnowledgeLevel);
}