Core/Items: Add ItemContext param to Item::Create function

This commit is contained in:
Shauren
2019-11-23 00:03:42 +01:00
parent ec9d624aec
commit 0a2d9ad2f7
34 changed files with 144 additions and 130 deletions
+2 -2
View File
@@ -658,9 +658,9 @@ Item* SpellScript::GetCastItem() const
return m_spell->m_CastItem;
}
void SpellScript::CreateItem(uint32 effIndex, uint32 itemId)
void SpellScript::CreateItem(uint32 effIndex, uint32 itemId, ItemContext context)
{
m_spell->DoCreateItem(effIndex, itemId);
m_spell->DoCreateItem(effIndex, itemId, context);
}
SpellInfo const* SpellScript::GetTriggeringSpell() const