Core/Spells: Removed SpellEffIndex effIndex argument from spell effect handlers, it was commented out in almost every handler

This commit is contained in:
Shauren
2021-08-28 19:51:29 +02:00
parent bc2c76a5b8
commit 3dd75a49b1
7 changed files with 349 additions and 353 deletions

View File

@@ -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