mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-19 14:39:43 -04:00
Core/Items: Add ItemContext param to Item::Create function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user