44 TC_LOG_ERROR(
"sql.sql",
"Item set %u for item (id %u) not found, mods not applied.", setid, proto->
GetId());
53 for (
size_t x = 0;
x < player->ItemSetEff.size(); ++
x)
55 if (player->ItemSetEff[
x] && player->ItemSetEff[
x]->ItemSetID == setid)
57 eff = player->ItemSetEff[
x];
69 for (; x < player->ItemSetEff.size(); ++
x)
70 if (!player->ItemSetEff[x])
73 if (x < player->ItemSetEff.size())
74 player->ItemSetEff[x] = eff;
76 player->ItemSetEff.push_back(eff);
95 TC_LOG_ERROR(
"entities.player.items",
"WORLD: unknown spell id %u in items set %u effects", itemSetSpell->SpellID, setid);
102 player->ApplyEquipSpell(spellInfo,
NULL,
true);
std::vector< ItemSetSpellEntry const * > ItemSetSpells
Definition: DBCStores.h:49
DBCStorage< ItemSetEntry > sItemSetStore(ItemSetfmt)
Definition: SpellInfo.h:326
Definition: DBCStructure.h:724
ItemSetSpellsStore sItemSetSpellsStore
Definition: DBCStores.cpp:106
uint32 EquippedItemCount
Definition: Item.h:42
arena_t NULL
Definition: jemalloc_internal.h:624
Definition: UpdateFields.h:206
uint32 ItemSetID
Definition: Item.h:41
uint32 GetItemSet() const
Definition: ItemTemplate.h:690
uint32 RequiredSkill
Definition: DBCStructure.h:729
#define sSpellMgr
Definition: SpellMgr.h:756
Definition: DBCStructure.h:733
uint32_t uint32
Definition: Define.h:150
uint32 RequiredSkillRank
Definition: DBCStructure.h:730
Definition: ItemTemplate.h:647
uint32 GetId() const
Definition: ItemTemplate.h:652
#define TC_LOG_ERROR(filterType__,...)
Definition: Log.h:207
G3D::int16 x
Definition: Vector2int16.h:37
std::unordered_set< ItemSetSpellEntry const * > SetBonuses
Definition: Item.h:43
ItemTemplate const * GetTemplate() const
Definition: Item.cpp:547