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:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user