mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
[8380] Use CastSpell instead create triggered channaled spell in Spell::EffectTriggerRitualOfSummoning. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
@@ -1981,15 +1981,8 @@ void Spell::EffectTriggerRitualOfSummoning(uint32 i)
|
||||
}
|
||||
|
||||
finish();
|
||||
Spell *spell = new Spell(m_caster, spellInfo, true);
|
||||
|
||||
SpellCastTargets targets;
|
||||
targets.setUnitTarget( unitTarget);
|
||||
spell->prepare(&targets);
|
||||
|
||||
//m_caster->SetCurrentCastedSpell(spell);
|
||||
//spell->m_selfContainer = &(m_caster->m_currentSpells[spell->GetCurrentContainer()]);
|
||||
|
||||
m_caster->CastSpell(unitTarget,spellInfo,false);
|
||||
}
|
||||
|
||||
void Spell::EffectForceCast(uint32 i)
|
||||
|
||||
Reference in New Issue
Block a user