mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[8380] Use CastSpell instead create triggered channaled spell in Spell::EffectTriggerRitualOfSummoning.
This commit is contained in:
parent
3ca16beace
commit
1b1d013623
2 changed files with 2 additions and 9 deletions
|
|
@ -1931,15 +1931,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)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8379"
|
||||
#define REVISION_NR "8380"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue