Core/Items: Implemented new item bonus and enchantment types

This commit is contained in:
Shauren
2017-05-07 16:47:49 +02:00
parent 8aa516528f
commit 6828c7bc2f
12 changed files with 132 additions and 27 deletions

View File

@@ -106,7 +106,7 @@ void WorldSession::HandleUseItemOpcode(WorldPackets::Spells::UseItem& packet)
}
// check also BIND_ON_ACQUIRE and BIND_QUEST for .additem or .additemset case by GM (not binded at adding to inventory)
if (item->GetTemplate()->GetBonding() == BIND_ON_USE || item->GetTemplate()->GetBonding() == BIND_ON_ACQUIRE || item->GetTemplate()->GetBonding() == BIND_QUEST)
if (item->GetBonding() == BIND_ON_USE || item->GetBonding() == BIND_ON_ACQUIRE || item->GetBonding() == BIND_QUEST)
{
if (!item->IsSoulBound())
{