mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Spells: Removed SpellEffIndex effIndex argument from spell effect handlers, it was commented out in almost every handler
This commit is contained in:
@@ -740,9 +740,9 @@ Item* SpellScript::GetCastItem() const
|
||||
return m_spell->m_CastItem;
|
||||
}
|
||||
|
||||
void SpellScript::CreateItem(uint32 effIndex, uint32 itemId, ItemContext context)
|
||||
void SpellScript::CreateItem(uint32 itemId, ItemContext context)
|
||||
{
|
||||
m_spell->DoCreateItem(effIndex, itemId, context);
|
||||
m_spell->DoCreateItem(itemId, context);
|
||||
}
|
||||
|
||||
SpellInfo const* SpellScript::GetTriggeringSpell() const
|
||||
|
||||
Reference in New Issue
Block a user