diff --git a/Source/Game/Scripting/SpellScript.cs b/Source/Game/Scripting/SpellScript.cs index eacf699e9..4a96cfdd1 100644 --- a/Source/Game/Scripting/SpellScript.cs +++ b/Source/Game/Scripting/SpellScript.cs @@ -742,9 +742,9 @@ namespace Game.Scripting public SpellInfo GetTriggeringSpell() { return m_spell.m_triggeredByAuraSpell; } // finishes spellcast prematurely with selected error message - public void FinishCast(SpellCastResult result) + public void FinishCast(SpellCastResult result, uint? param1 = null, uint? param2 = null) { - m_spell.SendCastResult(result); + m_spell.SendCastResult(result, param1, param2); m_spell.finish(result == SpellCastResult.SpellCastOk); }