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

Port From (https://github.com/TrinityCore/TrinityCore/commit/3dd75a49b190098010803014072c0c8bee2996bd)
This commit is contained in:
hondacrx
2021-08-30 15:55:48 -04:00
parent 6e9451082d
commit 02f1211445
6 changed files with 187 additions and 191 deletions
+1 -1
View File
@@ -821,7 +821,7 @@ namespace Game.Scripting
public Item GetCastItem() { return m_spell.m_CastItem; }
// Creates item. Calls Spell.DoCreateItem method.
public void CreateItem(uint effIndex, uint itemId, ItemContext context) { m_spell.DoCreateItem(effIndex, itemId, context); }
public void CreateItem(uint itemId, ItemContext context) { m_spell.DoCreateItem(itemId, context); }
// Returns SpellInfo from the spell that triggered the current one
public SpellInfo GetTriggeringSpell() { return m_spell.m_triggeredByAuraSpell; }