mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Spells: Add summoned DynamicObject to casters ChannelObjects if spell is channelled
This commit is contained in:
@@ -1538,6 +1538,9 @@ void Spell::EffectPersistentAA()
|
||||
for (size_t i = 0; i < m_spellInfo->GetEffects().size(); ++i)
|
||||
if (m_spellInfo->GetEffect(SpellEffIndex(i)).IsEffect(SPELL_EFFECT_PERSISTENT_AREA_AURA))
|
||||
_dynObjAura->_ApplyEffectForTargets(i);
|
||||
|
||||
if (m_spellInfo->IsChanneled())
|
||||
unitCaster->AddChannelObject(dynObj->GetGUID());
|
||||
}
|
||||
|
||||
void Spell::EffectEnergize()
|
||||
|
||||
Reference in New Issue
Block a user