Core/Unit: fixed crash
Port From (https://github.com/TrinityCore/TrinityCore/commit/84a29d8077d2e2b6e8c8ebcb967344b57668cb88)
This commit is contained in:
@@ -6865,7 +6865,7 @@ namespace Game.Spells
|
||||
{
|
||||
if (effect.IsTargetingArea() || effect.IsAreaAuraEffect() || effect.IsEffect(SpellEffectName.PersistentAreaAura))
|
||||
{
|
||||
m_damage = unit.CalculateAOEAvoidance(m_damage, (uint)m_spellInfo.SchoolMask, m_caster);
|
||||
m_damage = unit.CalculateAOEAvoidance(m_damage, (uint)m_spellInfo.SchoolMask, m_caster.GetGUID());
|
||||
|
||||
if (m_caster.IsPlayer())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user